[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#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate tree-sitter-facade-sg-codemod 0.25.0-codemod.2 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tree-sitter-facade-sg-codemod 0.25.0-codemod.2 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 57 packages to latest compatible versions [INFO] [stderr] Adding tree-sitter v0.25.10 (available: v0.26.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tree-sitter-language v0.1.7 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.68 [INFO] [stderr] Downloaded minicov v0.3.8 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.68 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.68 [INFO] [stderr] Downloaded wasm-bindgen-test-shared v0.2.118 [INFO] [stderr] Downloaded nu-ansi-term v0.50.3 [INFO] [stderr] Downloaded streaming-iterator v0.1.9 [INFO] [stderr] Downloaded tree-sitter v0.25.10 [INFO] [stderr] Downloaded web-tree-sitter-sg-codemod v0.25.0-codemod.1 [INFO] [stderr] Downloaded web-sys v0.3.95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dde242a621fc766ed3b145eb7470194620ef7e27394cc84c5531be637eb0576c [INFO] running `Command { std: "docker" "start" "-a" "dde242a621fc766ed3b145eb7470194620ef7e27394cc84c5531be637eb0576c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dde242a621fc766ed3b145eb7470194620ef7e27394cc84c5531be637eb0576c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dde242a621fc766ed3b145eb7470194620ef7e27394cc84c5531be637eb0576c", kill_on_drop: false }` [INFO] [stdout] dde242a621fc766ed3b145eb7470194620ef7e27394cc84c5531be637eb0576c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4746ecef9f7570062abd4c7a792ac74cc98c03a505afe911dde1563a08932d9 [INFO] running `Command { std: "docker" "start" "-a" "d4746ecef9f7570062abd4c7a792ac74cc98c03a505afe911dde1563a08932d9", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling tree-sitter-language v0.1.7 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling tree-sitter v0.25.10 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.118 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.118 [INFO] [stderr] Compiling wasm-bindgen v0.2.118 [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 31.25s [INFO] running `Command { std: "docker" "inspect" "d4746ecef9f7570062abd4c7a792ac74cc98c03a505afe911dde1563a08932d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4746ecef9f7570062abd4c7a792ac74cc98c03a505afe911dde1563a08932d9", kill_on_drop: false }` [INFO] [stdout] d4746ecef9f7570062abd4c7a792ac74cc98c03a505afe911dde1563a08932d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6faf8fae9bcd949b6d355ea620fc5a1d49de7e9040308ddee9875753fd0e43e [INFO] running `Command { std: "docker" "start" "-a" "d6faf8fae9bcd949b6d355ea620fc5a1d49de7e9040308ddee9875753fd0e43e", 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.59s [INFO] running `Command { std: "docker" "inspect" "d6faf8fae9bcd949b6d355ea620fc5a1d49de7e9040308ddee9875753fd0e43e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6faf8fae9bcd949b6d355ea620fc5a1d49de7e9040308ddee9875753fd0e43e", kill_on_drop: false }` [INFO] [stdout] d6faf8fae9bcd949b6d355ea620fc5a1d49de7e9040308ddee9875753fd0e43e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7db708c03f85134734085ffab3c58819d88c42f6f63ed7409dc1f646be67657f [INFO] running `Command { std: "docker" "start" "-a" "7db708c03f85134734085ffab3c58819d88c42f6f63ed7409dc1f646be67657f", 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.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tree_sitter_facade_sg_codemod-76c09f9523168c9d) [INFO] [stdout] [INFO] [stderr] Doc-tests tree_sitter_facade_sg_codemod [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] [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" "7db708c03f85134734085ffab3c58819d88c42f6f63ed7409dc1f646be67657f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7db708c03f85134734085ffab3c58819d88c42f6f63ed7409dc1f646be67657f", kill_on_drop: false }` [INFO] [stdout] 7db708c03f85134734085ffab3c58819d88c42f6f63ed7409dc1f646be67657f