[INFO] fetching crate tree-sitter-c2rust 0.25.2... [INFO] testing tree-sitter-c2rust-0.25.2 against 1.91.0 for beta-1.92-2 [INFO] extracting crate tree-sitter-c2rust 0.25.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate tree-sitter-c2rust 0.25.2 [INFO] finished tweaking crates.io crate tree-sitter-c2rust 0.25.2 [INFO] tweaked toml for crates.io crate tree-sitter-c2rust 0.25.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tree-sitter-c2rust 0.25.2 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 128 packages to latest compatible versions [INFO] [stderr] Adding c2rust-bitfields v0.3.0 (available: v0.21.0) [INFO] [stderr] Adding wasmtime-c-api-impl v29.0.1 (available: v38.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmprinter v0.221.3 [INFO] [stderr] Downloaded wasmtime-c-api-macros v29.0.1 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.116.1 [INFO] [stderr] Downloaded wasmtime-versioned-export-macros v29.0.1 [INFO] [stderr] Downloaded wasmtime-winch v29.0.1 [INFO] [stderr] Downloaded id-arena v2.2.1 [INFO] [stderr] Downloaded c2rust-bitfields-derive v0.2.1 [INFO] [stderr] Downloaded c2rust-bitfields v0.3.0 [INFO] [stderr] Downloaded wasmtime-component-util v29.0.1 [INFO] [stderr] Downloaded wasmtime-asm-macros v29.0.1 [INFO] [stderr] Downloaded mach2 v0.4.3 [INFO] [stderr] Downloaded memfd v0.6.5 [INFO] [stderr] Downloaded psm v0.1.28 [INFO] [stderr] Downloaded wasmtime-fiber v29.0.1 [INFO] [stderr] Downloaded pulley-interpreter v29.0.1 [INFO] [stderr] Downloaded cranelift-bforest v0.116.1 [INFO] [stderr] Downloaded cranelift-frontend v0.116.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.116.1 [INFO] [stderr] Downloaded cranelift-isle v0.116.1 [INFO] [stderr] Downloaded wasmtime-component-macro v29.0.1 [INFO] [stderr] Downloaded regalloc2 v0.11.2 [INFO] [stderr] Downloaded wit-parser v0.221.3 [INFO] [stderr] Downloaded wasmtime-cranelift v29.0.1 [INFO] [stderr] Downloaded wasmparser v0.221.3 [INFO] [stderr] Downloaded wasmtime-environ v29.0.1 [INFO] [stderr] Downloaded wasmtime-c-api-impl v29.0.1 [INFO] [stderr] Downloaded postcard v1.1.3 [INFO] [stderr] Downloaded wasm-encoder v0.221.3 [INFO] [stderr] Downloaded winch-codegen v29.0.1 [INFO] [stderr] Downloaded cranelift-native v0.116.1 [INFO] [stderr] Downloaded cranelift-entity v0.116.1 [INFO] [stderr] Downloaded embedded-io v0.4.0 [INFO] [stderr] Downloaded target-lexicon v0.13.3 [INFO] [stderr] Downloaded ar_archive_writer v0.2.0 [INFO] [stderr] Downloaded wasmtime-wit-bindgen v29.0.1 [INFO] [stderr] Downloaded wasmtime-math v29.0.1 [INFO] [stderr] Downloaded cranelift-bitset v0.116.1 [INFO] [stderr] Downloaded fallible-iterator v0.3.0 [INFO] [stderr] Downloaded cobs v0.3.0 [INFO] [stderr] Downloaded sptr v0.3.2 [INFO] [stderr] Downloaded wasmtime-jit-icache-coherence v29.0.1 [INFO] [stderr] Downloaded cranelift-control v0.116.1 [INFO] [stderr] Downloaded embedded-io v0.6.1 [INFO] [stderr] Downloaded wasmtime v29.0.1 [INFO] [stderr] Downloaded wasmtime-slab v29.0.1 [INFO] [stderr] Downloaded cranelift-codegen v0.116.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" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b6467a9f767078d16e79f2e4427c21941d8603d592f784879ad0d8908f754ee [INFO] running `Command { std: "docker" "start" "-a" "9b6467a9f767078d16e79f2e4427c21941d8603d592f784879ad0d8908f754ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b6467a9f767078d16e79f2e4427c21941d8603d592f784879ad0d8908f754ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b6467a9f767078d16e79f2e4427c21941d8603d592f784879ad0d8908f754ee", kill_on_drop: false }` [INFO] [stdout] 9b6467a9f767078d16e79f2e4427c21941d8603d592f784879ad0d8908f754ee [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d3b310522bd52716c24e062697a5fec40b973856c3957de7ff08ce1b58fafd3 [INFO] running `Command { std: "docker" "start" "-a" "7d3b310522bd52716c24e062697a5fec40b973856c3957de7ff08ce1b58fafd3", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling tree-sitter-c2rust v0.25.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling c2rust-bitfields-derive v0.2.1 [INFO] [stderr] Compiling c2rust-bitfields v0.3.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:692:19 [INFO] [stdout] | [INFO] [stdout] 692 | pub fn logger(&self) -> Option<&Logger> { [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 692 | pub fn logger(&self) -> Option<&Logger<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:1449:22 [INFO] [stdout] | [INFO] [stdout] 1449 | pub fn root_node(&self) -> Node { [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] 1449 | pub fn root_node(&self) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:1457:34 [INFO] [stdout] | [INFO] [stdout] 1457 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden 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] 1457 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:1471:21 [INFO] [stdout] | [INFO] [stdout] 1471 | pub fn language(&self) -> LanguageRef { [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] 1471 | pub fn language(&self) -> LanguageRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:1491:17 [INFO] [stdout] | [INFO] [stdout] 1491 | pub fn walk(&self) -> TreeCursor { [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] 1491 | pub fn walk(&self) -> TreeCursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:1635:21 [INFO] [stdout] | [INFO] [stdout] 1635 | pub fn language(&self) -> LanguageRef { [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] 1635 | pub fn language(&self) -> LanguageRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.96s [INFO] running `Command { std: "docker" "inspect" "7d3b310522bd52716c24e062697a5fec40b973856c3957de7ff08ce1b58fafd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d3b310522bd52716c24e062697a5fec40b973856c3957de7ff08ce1b58fafd3", kill_on_drop: false }` [INFO] [stdout] 7d3b310522bd52716c24e062697a5fec40b973856c3957de7ff08ce1b58fafd3 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cb1a6654867c59c234d967a0140babb99725366a5be93c26287e57cdd771046 [INFO] running `Command { std: "docker" "start" "-a" "8cb1a6654867c59c234d967a0140babb99725366a5be93c26287e57cdd771046", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:692:19 [INFO] [stdout] | [INFO] [stdout] 692 | pub fn logger(&self) -> Option<&Logger> { [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 692 | pub fn logger(&self) -> Option<&Logger<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:1449:22 [INFO] [stdout] | [INFO] [stdout] 1449 | pub fn root_node(&self) -> Node { [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] 1449 | pub fn root_node(&self) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:1457:34 [INFO] [stdout] | [INFO] [stdout] 1457 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden 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] 1457 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:1471:21 [INFO] [stdout] | [INFO] [stdout] 1471 | pub fn language(&self) -> LanguageRef { [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] 1471 | pub fn language(&self) -> LanguageRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:1491:17 [INFO] [stdout] | [INFO] [stdout] 1491 | pub fn walk(&self) -> TreeCursor { [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] 1491 | pub fn walk(&self) -> TreeCursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:1635:21 [INFO] [stdout] | [INFO] [stdout] 1635 | pub fn language(&self) -> LanguageRef { [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] 1635 | pub fn language(&self) -> LanguageRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tree-sitter-c2rust v0.25.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:692:19 [INFO] [stdout] | [INFO] [stdout] 692 | pub fn logger(&self) -> Option<&Logger> { [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 692 | pub fn logger(&self) -> Option<&Logger<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:1449:22 [INFO] [stdout] | [INFO] [stdout] 1449 | pub fn root_node(&self) -> Node { [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] 1449 | pub fn root_node(&self) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:1457:34 [INFO] [stdout] | [INFO] [stdout] 1457 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden 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] 1457 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:1471:21 [INFO] [stdout] | [INFO] [stdout] 1471 | pub fn language(&self) -> LanguageRef { [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] 1471 | pub fn language(&self) -> LanguageRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:1491:17 [INFO] [stdout] | [INFO] [stdout] 1491 | pub fn walk(&self) -> TreeCursor { [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] 1491 | pub fn walk(&self) -> TreeCursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> binding_rust/lib.rs:1635:21 [INFO] [stdout] | [INFO] [stdout] 1635 | pub fn language(&self) -> LanguageRef { [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] 1635 | pub fn language(&self) -> LanguageRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.35s [INFO] running `Command { std: "docker" "inspect" "8cb1a6654867c59c234d967a0140babb99725366a5be93c26287e57cdd771046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cb1a6654867c59c234d967a0140babb99725366a5be93c26287e57cdd771046", kill_on_drop: false }` [INFO] [stdout] 8cb1a6654867c59c234d967a0140babb99725366a5be93c26287e57cdd771046 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d171e2289bd358caea994ddae9875a8ab3d03231be9119c3c88853b5e28df171 [INFO] running `Command { std: "docker" "start" "-a" "d171e2289bd358caea994ddae9875a8ab3d03231be9119c3c88853b5e28df171", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> binding_rust/lib.rs:692:19 [INFO] [stderr] | [INFO] [stderr] 692 | pub fn logger(&self) -> Option<&Logger> { [INFO] [stderr] | ^^^^^ ^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 692 | pub fn logger(&self) -> Option<&Logger<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> binding_rust/lib.rs:1449:22 [INFO] [stderr] | [INFO] [stderr] 1449 | pub fn root_node(&self) -> Node { [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] 1449 | pub fn root_node(&self) -> Node<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> binding_rust/lib.rs:1457:34 [INFO] [stderr] | [INFO] [stderr] 1457 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden 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] 1457 | pub fn root_node_with_offset(&self, offset_bytes: usize, offset_extent: Point) -> Node<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> binding_rust/lib.rs:1471:21 [INFO] [stderr] | [INFO] [stderr] 1471 | pub fn language(&self) -> LanguageRef { [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] 1471 | pub fn language(&self) -> LanguageRef<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> binding_rust/lib.rs:1491:17 [INFO] [stderr] | [INFO] [stderr] 1491 | pub fn walk(&self) -> TreeCursor { [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] 1491 | pub fn walk(&self) -> TreeCursor<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> binding_rust/lib.rs:1635:21 [INFO] [stderr] | [INFO] [stderr] 1635 | pub fn language(&self) -> LanguageRef { [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] 1635 | pub fn language(&self) -> LanguageRef<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `tree-sitter-c2rust` (lib) generated 6 warnings (run `cargo fix --lib -p tree-sitter-c2rust` to apply 6 suggestions) [INFO] [stderr] warning: `tree-sitter-c2rust` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests binding_rust/lib.rs (/opt/rustwide/target/debug/deps/tree_sitter_c2rust-284736bd25a051a4) [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_c2rust [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test binding_rust/lib.rs - Language::next_state (line 587) ... FAILED [INFO] [stdout] test binding_rust/lib.rs - (line 14) ... FAILED [INFO] [stdout] test binding_rust/lib.rs - (line 43) ... FAILED [INFO] [stdout] test binding_rust/lib.rs - (line 37) ... FAILED [INFO] [stdout] test binding_rust/lib.rs - (line 58) ... FAILED [INFO] [stdout] test binding_rust/lib.rs - (line 78) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- binding_rust/lib.rs - Language::next_state (line 587) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `language` in this scope [INFO] [stdout] --> binding_rust/lib.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 3 | let state = language.next_state(node.parse_state(), node.grammar_id()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `node` in this scope [INFO] [stdout] --> binding_rust/lib.rs:588:33 [INFO] [stdout] | [INFO] [stdout] 3 | let state = language.next_state(node.parse_state(), node.grammar_id()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `node` in this scope [INFO] [stdout] --> binding_rust/lib.rs:588:53 [INFO] [stdout] | [INFO] [stdout] 3 | let state = language.next_state(node.parse_state(), node.grammar_id()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- binding_rust/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tree_sitter` [INFO] [stdout] --> binding_rust/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tree_sitter::{InputEdit, Language, Parser, Point}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tree_sitter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tree_sitter`, use `cargo add tree_sitter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- binding_rust/lib.rs - (line 43) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `parser` in this scope [INFO] [stdout] --> binding_rust/lib.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 4 | let mut tree = parser.parse(source_code, None).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- binding_rust/lib.rs - (line 37) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `parser` in this scope [INFO] [stdout] --> binding_rust/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 3 | parser.set_language(&tree_sitter_rust::LANGUAGE.into()).expect("Error loading Rust grammar"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tree_sitter_rust` [INFO] [stdout] --> binding_rust/lib.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 3 | parser.set_language(&tree_sitter_rust::LANGUAGE.into()).expect("Error loading Rust grammar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tree_sitter_rust` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | parser.set_language(&tree_sitter_c2rust::LANGUAGE.into()).expect("Error loading Rust grammar"); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- binding_rust/lib.rs - (line 58) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `tree` in this scope [INFO] [stdout] --> binding_rust/lib.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 5 | tree.edit(&InputEdit { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InputEdit` in this scope [INFO] [stdout] --> binding_rust/lib.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 5 | tree.edit(&InputEdit { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tree_sitter_c2rust::InputEdit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> binding_rust/lib.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 9 | start_position: Point::new(0, 8), [INFO] [stdout] | ^^^^^ use of undeclared type `Point` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tree_sitter_c2rust::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> binding_rust/lib.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 10 | old_end_position: Point::new(0, 8), [INFO] [stdout] | ^^^^^ use of undeclared type `Point` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tree_sitter_c2rust::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> binding_rust/lib.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 11 | new_end_position: Point::new(0, 14), [INFO] [stdout] | ^^^^^ use of undeclared type `Point` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tree_sitter_c2rust::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parser` in this scope [INFO] [stdout] --> binding_rust/lib.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 14 | let new_tree = parser.parse(new_source_code, Some(&tree)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tree` in this scope [INFO] [stdout] --> binding_rust/lib.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 14 | let new_tree = parser.parse(new_source_code, Some(&tree)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- binding_rust/lib.rs - (line 78) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `parser` in this scope [INFO] [stdout] --> binding_rust/lib.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 12 | let tree = parser.parse_with(&mut |_byte: usize, position: Point| -> &[u8] { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> binding_rust/lib.rs:88:60 [INFO] [stdout] | [INFO] [stdout] 12 | let tree = parser.parse_with(&mut |_byte: usize, position: Point| -> &[u8] { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tree_sitter_c2rust::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] binding_rust/lib.rs - (line 14) [INFO] [stdout] binding_rust/lib.rs - (line 37) [INFO] [stdout] binding_rust/lib.rs - (line 43) [INFO] [stdout] binding_rust/lib.rs - (line 58) [INFO] [stdout] binding_rust/lib.rs - (line 78) [INFO] [stdout] binding_rust/lib.rs - Language::next_state (line 587) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d171e2289bd358caea994ddae9875a8ab3d03231be9119c3c88853b5e28df171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d171e2289bd358caea994ddae9875a8ab3d03231be9119c3c88853b5e28df171", kill_on_drop: false }` [INFO] [stdout] d171e2289bd358caea994ddae9875a8ab3d03231be9119c3c88853b5e28df171