[INFO] fetching crate tree-sitter-facade-sg-codemod 0.25.0-codemod.2... [INFO] checking tree-sitter-facade-sg-codemod-0.25.0-codemod.2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate tree-sitter-facade-sg-codemod 0.25.0-codemod.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate tree-sitter-facade-sg-codemod 0.25.0-codemod.2 [INFO] finished tweaking crates.io crate tree-sitter-facade-sg-codemod 0.25.0-codemod.2 [INFO] tweaked toml for crates.io crate tree-sitter-facade-sg-codemod 0.25.0-codemod.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tree-sitter-facade-sg-codemod 0.25.0-codemod.2 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 52 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f75d64439e23491f2acd4a5e6cdf03d4f40c891c73829028793c0d873ab8490f [INFO] running `Command { std: "docker" "start" "-a" "f75d64439e23491f2acd4a5e6cdf03d4f40c891c73829028793c0d873ab8490f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f75d64439e23491f2acd4a5e6cdf03d4f40c891c73829028793c0d873ab8490f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f75d64439e23491f2acd4a5e6cdf03d4f40c891c73829028793c0d873ab8490f", kill_on_drop: false }` [INFO] [stdout] f75d64439e23491f2acd4a5e6cdf03d4f40c891c73829028793c0d873ab8490f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94a0defe4f0c006adce42af97c1f65bd4e8d74d2a7ad6bad3afcbf6051637293 [INFO] running `Command { std: "docker" "start" "-a" "94a0defe4f0c006adce42af97c1f65bd4e8d74d2a7ad6bad3afcbf6051637293", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking tree-sitter-language v0.1.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling tree-sitter v0.25.6 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking tree-sitter-facade-sg-codemod v0.25.0-codemod.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `tree_sitter::Language::version`: Use abi_version instead [INFO] [stdout] --> src/language.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | u32::try_from(self.inner.version()).unwrap() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tree_sitter::Parser::cancellation_flag`: Prefer using `parse_with_options` and using a callback [INFO] [stdout] --> src/parser.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | self.inner.cancellation_flag() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tree_sitter::Parser::parse_utf16`: Prefer parse_utf16_le instead [INFO] [stdout] --> src/parser.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | Ok(self.inner.parse_utf16(text, old_tree).map(Into::into)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tree_sitter::Parser::parse_utf16_with`: Prefer `parse_utf16_le_with_options` instead [INFO] [stdout] --> src/parser.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | Ok(self.inner.parse_utf16_with(&mut callback, old_tree).map(Into::into)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tree_sitter::Language::version`: Use abi_version instead [INFO] [stdout] --> src/language.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | u32::try_from(self.inner.version()).unwrap() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tree_sitter::Parser::parse_with`: Prefer `parse_with_options` instead [INFO] [stdout] --> src/parser.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | Ok(self.inner.parse_with(&mut callback, old_tree).map(Into::into)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tree_sitter::Parser::set_cancellation_flag`: Prefer using `parse_with_options` and using a callback [INFO] [stdout] --> src/parser.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | self.inner.set_cancellation_flag(flag); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tree_sitter::Parser::set_timeout_micros`: Prefer using `parse_with_options` and using a callback [INFO] [stdout] --> src/parser.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | self.inner.set_timeout_micros(timeout_micros as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tree_sitter::Parser::timeout_micros`: Prefer using `parse_with_options` and using a callback [INFO] [stdout] --> src/parser.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | self.inner.timeout_micros() as f64 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tree_sitter::Parser::cancellation_flag`: Prefer using `parse_with_options` and using a callback [INFO] [stdout] --> src/parser.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | self.inner.cancellation_flag() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tree_sitter::Parser::parse_utf16`: Prefer parse_utf16_le instead [INFO] [stdout] --> src/parser.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | Ok(self.inner.parse_utf16(text, old_tree).map(Into::into)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tree_sitter::Parser::parse_utf16_with`: Prefer `parse_utf16_le_with_options` instead [INFO] [stdout] --> src/parser.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | Ok(self.inner.parse_utf16_with(&mut callback, old_tree).map(Into::into)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tree_sitter::Parser::parse_with`: Prefer `parse_with_options` instead [INFO] [stdout] --> src/parser.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | Ok(self.inner.parse_with(&mut callback, old_tree).map(Into::into)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tree_sitter::Parser::set_cancellation_flag`: Prefer using `parse_with_options` and using a callback [INFO] [stdout] --> src/parser.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | self.inner.set_cancellation_flag(flag); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tree_sitter::Parser::set_timeout_micros`: Prefer using `parse_with_options` and using a callback [INFO] [stdout] --> src/parser.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | self.inner.set_timeout_micros(timeout_micros as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tree_sitter::Parser::timeout_micros`: Prefer using `parse_with_options` and using a callback [INFO] [stdout] --> src/parser.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | self.inner.timeout_micros() as f64 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/language.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn field_name_for_id(&self, field_id: u16) -> Option> { [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] 23 | pub fn field_name_for_id(&self, field_id: u16) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/language.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn node_kind_for_id(&self, id: u16) -> Option> { [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] 38 | pub fn node_kind_for_id(&self, id: u16) -> Option> { [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:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | 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] 136 | 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/node.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn to_sexp(&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] 224 | pub fn to_sexp(&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/parser.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn logger(&self) -> Option { [INFO] [stdout] | ^^^^^ ------------ [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 48 | pub fn logger(&self) -> Option> { [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_cursor.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn field_name(&self) -> Option> { [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] 18 | pub fn field_name(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/language.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn field_name_for_id(&self, field_id: u16) -> Option> { [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] 23 | pub fn field_name_for_id(&self, field_id: u16) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/language.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn node_kind_for_id(&self, id: u16) -> Option> { [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] 38 | pub fn node_kind_for_id(&self, id: u16) -> Option> { [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:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | 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] 136 | 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/node.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn to_sexp(&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] 224 | pub fn to_sexp(&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/parser.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn logger(&self) -> Option { [INFO] [stdout] | ^^^^^ ------------ [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 48 | pub fn logger(&self) -> Option> { [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_cursor.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn field_name(&self) -> Option> { [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] 18 | pub fn field_name(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.14s [INFO] running `Command { std: "docker" "inspect" "94a0defe4f0c006adce42af97c1f65bd4e8d74d2a7ad6bad3afcbf6051637293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94a0defe4f0c006adce42af97c1f65bd4e8d74d2a7ad6bad3afcbf6051637293", kill_on_drop: false }` [INFO] [stdout] 94a0defe4f0c006adce42af97c1f65bd4e8d74d2a7ad6bad3afcbf6051637293