[INFO] fetching crate tree-sitter-facade-sg-codemod 0.25.0-codemod.2... [INFO] testing tree-sitter-facade-sg-codemod-0.25.0-codemod.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate tree-sitter-facade-sg-codemod 0.25.0-codemod.2 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tree-sitter-facade-sg-codemod 0.25.0-codemod.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded web-tree-sitter-sg-codemod v0.25.0-codemod.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3dc7cb513d1b479870d9c695c7172a9331b123c495d4eee01b28c96b804ff0bf [INFO] running `Command { std: "docker" "start" "-a" "3dc7cb513d1b479870d9c695c7172a9331b123c495d4eee01b28c96b804ff0bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dc7cb513d1b479870d9c695c7172a9331b123c495d4eee01b28c96b804ff0bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dc7cb513d1b479870d9c695c7172a9331b123c495d4eee01b28c96b804ff0bf", kill_on_drop: false }` [INFO] [stdout] 3dc7cb513d1b479870d9c695c7172a9331b123c495d4eee01b28c96b804ff0bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f9d4b729d21e11d2a0cf021f667f41f91599aedc6e12072d409242e1b7f5131 [INFO] running `Command { std: "docker" "start" "-a" "7f9d4b729d21e11d2a0cf021f667f41f91599aedc6e12072d409242e1b7f5131", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.105 [INFO] [stderr] Compiling tree-sitter v0.25.10 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.105 [INFO] [stderr] Compiling wasm-bindgen v0.2.105 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.56s [INFO] running `Command { std: "docker" "inspect" "7f9d4b729d21e11d2a0cf021f667f41f91599aedc6e12072d409242e1b7f5131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f9d4b729d21e11d2a0cf021f667f41f91599aedc6e12072d409242e1b7f5131", kill_on_drop: false }` [INFO] [stdout] 7f9d4b729d21e11d2a0cf021f667f41f91599aedc6e12072d409242e1b7f5131 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fbd75e15e34c11c42eaf1fadb66ff45c9deefb06132cc7719fc00cb6a8b7c7d [INFO] running `Command { std: "docker" "start" "-a" "5fbd75e15e34c11c42eaf1fadb66ff45c9deefb06132cc7719fc00cb6a8b7c7d", kill_on_drop: false }` [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] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "5fbd75e15e34c11c42eaf1fadb66ff45c9deefb06132cc7719fc00cb6a8b7c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fbd75e15e34c11c42eaf1fadb66ff45c9deefb06132cc7719fc00cb6a8b7c7d", kill_on_drop: false }` [INFO] [stdout] 5fbd75e15e34c11c42eaf1fadb66ff45c9deefb06132cc7719fc00cb6a8b7c7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 61ffb6475360bfe3edb1f1b6e243d10df92ec2c648b28788cfd5a59c608c6438 [INFO] running `Command { std: "docker" "start" "-a" "61ffb6475360bfe3edb1f1b6e243d10df92ec2c648b28788cfd5a59c608c6438", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `tree_sitter::Language::version`: Use abi_version instead [INFO] [stderr] --> src/language.rs:69:38 [INFO] [stderr] | [INFO] [stderr] 69 | u32::try_from(self.inner.version()).unwrap() [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `tree_sitter::Parser::cancellation_flag`: Prefer using `parse_with_options` and using a callback [INFO] [stderr] --> src/parser.rs:39:24 [INFO] [stderr] | [INFO] [stderr] 39 | self.inner.cancellation_flag() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `tree_sitter::Parser::parse_utf16`: Prefer parse_utf16_le instead [INFO] [stderr] --> src/parser.rs:65:27 [INFO] [stderr] | [INFO] [stderr] 65 | Ok(self.inner.parse_utf16(text, old_tree).map(Into::into)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `tree_sitter::Parser::parse_utf16_with`: Prefer `parse_utf16_le_with_options` instead [INFO] [stderr] --> src/parser.rs:79:27 [INFO] [stderr] | [INFO] [stderr] 79 | Ok(self.inner.parse_utf16_with(&mut callback, old_tree).map(Into::into)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `tree_sitter::Parser::parse_with`: Prefer `parse_with_options` instead [INFO] [stderr] --> src/parser.rs:93:27 [INFO] [stderr] | [INFO] [stderr] 93 | Ok(self.inner.parse_with(&mut callback, old_tree).map(Into::into)) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `tree_sitter::Parser::set_cancellation_flag`: Prefer using `parse_with_options` and using a callback [INFO] [stderr] --> src/parser.rs:110:24 [INFO] [stderr] | [INFO] [stderr] 110 | self.inner.set_cancellation_flag(flag); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `tree_sitter::Parser::set_timeout_micros`: Prefer using `parse_with_options` and using a callback [INFO] [stderr] --> src/parser.rs:132:24 [INFO] [stderr] | [INFO] [stderr] 132 | self.inner.set_timeout_micros(timeout_micros as u64) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `tree_sitter::Parser::timeout_micros`: Prefer using `parse_with_options` and using a callback [INFO] [stderr] --> src/parser.rs:142:24 [INFO] [stderr] | [INFO] [stderr] 142 | self.inner.timeout_micros() as f64 [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/language.rs:23:34 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn field_name_for_id(&self, field_id: u16) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 23 | pub fn field_name_for_id(&self, field_id: u16) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/language.rs:38:33 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn node_kind_for_id(&self, id: u16) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 38 | pub fn node_kind_for_id(&self, id: u16) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/node.rs:136:21 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn kind(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 136 | pub fn kind(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/node.rs:224:24 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn to_sexp(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 224 | pub fn to_sexp(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:48:23 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn logger(&self) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided 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] 48 | pub fn logger(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/tree_cursor.rs:18:27 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn field_name(&self) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 18 | pub fn field_name(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `tree-sitter-facade-sg-codemod` (lib) generated 14 warnings (run `cargo fix --lib -p tree-sitter-facade-sg-codemod` to apply 6 suggestions) [INFO] [stderr] warning: `tree-sitter-facade-sg-codemod` (lib test) generated 14 warnings (14 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/tree_sitter_facade_sg_codemod-177722525ff43595) [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] [stderr] Doc-tests tree_sitter_facade_sg_codemod [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" "61ffb6475360bfe3edb1f1b6e243d10df92ec2c648b28788cfd5a59c608c6438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61ffb6475360bfe3edb1f1b6e243d10df92ec2c648b28788cfd5a59c608c6438", kill_on_drop: false }` [INFO] [stdout] 61ffb6475360bfe3edb1f1b6e243d10df92ec2c648b28788cfd5a59c608c6438