[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#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate tree-sitter-facade-sg-codemod 0.25.0-codemod.2 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tree-sitter-facade-sg-codemod 0.25.0-codemod.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 54 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94c2457a7c81dc75c6687415b2811d7147f9e0f27282cae01f0b4566b5accc9a [INFO] running `Command { std: "docker" "start" "-a" "94c2457a7c81dc75c6687415b2811d7147f9e0f27282cae01f0b4566b5accc9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94c2457a7c81dc75c6687415b2811d7147f9e0f27282cae01f0b4566b5accc9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94c2457a7c81dc75c6687415b2811d7147f9e0f27282cae01f0b4566b5accc9a", kill_on_drop: false }` [INFO] [stdout] 94c2457a7c81dc75c6687415b2811d7147f9e0f27282cae01f0b4566b5accc9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41b6977c2df78aa46439ef9be0e83239a1d58ffde7c6b6091d32e06bf8db596a [INFO] running `Command { std: "docker" "start" "-a" "41b6977c2df78aa46439ef9be0e83239a1d58ffde7c6b6091d32e06bf8db596a", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Checking tree-sitter-language v0.1.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking wasm-bindgen v0.2.100 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling tree-sitter v0.25.8 [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::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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn node_kind_for_id(&self, id: u16) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn kind(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn kind(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn to_sexp(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn to_sexp(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn logger(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree_cursor.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn field_name(&self) -> Option> { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn field_name(&self) -> Option> { [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::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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn node_kind_for_id(&self, id: u16) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn kind(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn kind(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/node.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn to_sexp(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn to_sexp(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn logger(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree_cursor.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn field_name(&self) -> Option> { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn field_name(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.26s [INFO] running `Command { std: "docker" "inspect" "41b6977c2df78aa46439ef9be0e83239a1d58ffde7c6b6091d32e06bf8db596a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41b6977c2df78aa46439ef9be0e83239a1d58ffde7c6b6091d32e06bf8db596a", kill_on_drop: false }` [INFO] [stdout] 41b6977c2df78aa46439ef9be0e83239a1d58ffde7c6b6091d32e06bf8db596a