[INFO] fetching crate ast-grep-core 0.38.6... [INFO] checking ast-grep-core-0.38.6 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate ast-grep-core 0.38.6 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate ast-grep-core 0.38.6 [INFO] finished tweaking crates.io crate ast-grep-core 0.38.6 [INFO] tweaked toml for crates.io crate ast-grep-core 0.38.6 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ast-grep-core 0.38.6 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ast-grep-core 0.38.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded streaming-iterator v0.1.9 [INFO] [stderr] Downloaded tree-sitter-language v0.1.5 [INFO] [stderr] Downloaded tree-sitter v0.25.4 [INFO] [stderr] Downloaded tree-sitter-typescript v0.23.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08cc58eeefe521df57eed3e1ec3c0ed8afa8943d48c1524791355409b1a4d382 [INFO] running `Command { std: "docker" "start" "-a" "08cc58eeefe521df57eed3e1ec3c0ed8afa8943d48c1524791355409b1a4d382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08cc58eeefe521df57eed3e1ec3c0ed8afa8943d48c1524791355409b1a4d382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08cc58eeefe521df57eed3e1ec3c0ed8afa8943d48c1524791355409b1a4d382", kill_on_drop: false }` [INFO] [stdout] 08cc58eeefe521df57eed3e1ec3c0ed8afa8943d48c1524791355409b1a4d382 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6267f62d245cf69e24b49e00edde2aa89d13585b236d71314e05c1ab4ee6681f [INFO] running `Command { std: "docker" "start" "-a" "6267f62d245cf69e24b49e00edde2aa89d13585b236d71314e05c1ab4ee6681f", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking tree-sitter-language v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling tree-sitter-typescript v0.23.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling tree-sitter v0.25.4 [INFO] [stderr] Checking ast-grep-core v0.38.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matcher/pattern.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn fixed_string(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn fixed_string(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matcher/pattern.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn fixed_string(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 200 | pub fn fixed_string(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matcher/pattern.rs:272:35 [INFO] [stdout] | [INFO] [stdout] 272 | fn single_matcher(root: &Root) -> Node { [INFO] [stdout] | ^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 272 | fn single_matcher(root: &Root) -> Node<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/replacer/indent.rs:139:51 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn extract_with_deindent(content: &C, range: Range) -> DeindentedExtract { [INFO] [stdout] | ^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn extract_with_deindent(content: &C, range: Range) -> DeindentedExtract<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | fn kind(&self) -> Cow; [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 31 | fn kind(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | fn decode_str(src: &str) -> Cow<[Self::Underlying]>; [INFO] [stdout] | ^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 143 | fn decode_str(src: &str) -> Cow<'_, [Self::Underlying]>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 146 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | fn decode_str(src: &str) -> Cow<[Self::Underlying]> { [INFO] [stdout] | ^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 156 | fn decode_str(src: &str) -> Cow<'_, [Self::Underlying]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 159 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tree_sitter/mod.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | fn kind(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 202 | fn kind(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tree_sitter/traversal.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | node: Node>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 79 | ) -> Visit<'_, StrDoc, A::Traversal<'_, L>, M> [INFO] [stdout] | -- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 78 | node: Node<'_, StrDoc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tree_sitter/traversal.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | fn traverse(node: Node>) -> Self::Traversal<'_, L>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ -- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 139 | fn traverse(node: Node<'_, StrDoc>) -> Self::Traversal<'_, L>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tree_sitter/traversal.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | fn traverse(node: Node>) -> Self::Traversal<'_, L> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 145 | fn traverse(node: Node<'_, StrDoc>) -> Self::Traversal<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tree_sitter/traversal.rs:152:37 [INFO] [stdout] | [INFO] [stdout] 152 | fn traverse(node: Node>) -> Self::Traversal<'_, L> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 152 | fn traverse(node: Node<'_, StrDoc>) -> Self::Traversal<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/node.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn root(&self) -> Node { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn root(&self) -> Node<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/node.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn kind(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn kind(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matcher/pattern.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn fixed_string(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn fixed_string(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matcher/pattern.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn fixed_string(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 200 | pub fn fixed_string(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matcher/pattern.rs:272:35 [INFO] [stdout] | [INFO] [stdout] 272 | fn single_matcher(root: &Root) -> Node { [INFO] [stdout] | ^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 272 | fn single_matcher(root: &Root) -> Node<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/replacer/indent.rs:139:51 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn extract_with_deindent(content: &C, range: Range) -> DeindentedExtract { [INFO] [stdout] | ^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn extract_with_deindent(content: &C, range: Range) -> DeindentedExtract<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | fn kind(&self) -> Cow; [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 31 | fn kind(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | fn decode_str(src: &str) -> Cow<[Self::Underlying]>; [INFO] [stdout] | ^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 143 | fn decode_str(src: &str) -> Cow<'_, [Self::Underlying]>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 146 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | fn decode_str(src: &str) -> Cow<[Self::Underlying]> { [INFO] [stdout] | ^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 156 | fn decode_str(src: &str) -> Cow<'_, [Self::Underlying]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 159 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tree_sitter/mod.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | fn kind(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 202 | fn kind(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tree_sitter/traversal.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | node: Node>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 79 | ) -> Visit<'_, StrDoc, A::Traversal<'_, L>, M> [INFO] [stdout] | -- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 78 | node: Node<'_, StrDoc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tree_sitter/traversal.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | fn traverse(node: Node>) -> Self::Traversal<'_, L>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ -- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 139 | fn traverse(node: Node<'_, StrDoc>) -> Self::Traversal<'_, L>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tree_sitter/traversal.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | fn traverse(node: Node>) -> Self::Traversal<'_, L> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 145 | fn traverse(node: Node<'_, StrDoc>) -> Self::Traversal<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tree_sitter/traversal.rs:152:37 [INFO] [stdout] | [INFO] [stdout] 152 | fn traverse(node: Node>) -> Self::Traversal<'_, L> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 152 | fn traverse(node: Node<'_, StrDoc>) -> Self::Traversal<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/node.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn root(&self) -> Node { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn root(&self) -> Node<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/node.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn kind(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn kind(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.01s [INFO] running `Command { std: "docker" "inspect" "6267f62d245cf69e24b49e00edde2aa89d13585b236d71314e05c1ab4ee6681f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6267f62d245cf69e24b49e00edde2aa89d13585b236d71314e05c1ab4ee6681f", kill_on_drop: false }` [INFO] [stdout] 6267f62d245cf69e24b49e00edde2aa89d13585b236d71314e05c1ab4ee6681f