[INFO] fetching crate tree-sitter-c2rust 0.25.2... [INFO] testing tree-sitter-c2rust-0.25.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate tree-sitter-c2rust 0.25.2 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tree-sitter-c2rust 0.25.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] 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.4) [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 wasmtime-slab v29.0.1 [INFO] [stderr] Downloaded wasmtime-winch v29.0.1 [INFO] [stderr] Downloaded wasmtime-c-api-macros v29.0.1 [INFO] [stderr] Downloaded c2rust-bitfields-derive v0.2.1 [INFO] [stderr] Downloaded cranelift-control v0.116.1 [INFO] [stderr] Downloaded wasmtime-versioned-export-macros v29.0.1 [INFO] [stderr] Downloaded sptr v0.3.2 [INFO] [stderr] Downloaded memfd v0.6.5 [INFO] [stderr] Downloaded tree-sitter-language v0.1.5 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.116.1 [INFO] [stderr] Downloaded wasmtime-fiber v29.0.1 [INFO] [stderr] Downloaded cranelift-entity v0.116.1 [INFO] [stderr] Downloaded cranelift-native v0.116.1 [INFO] [stderr] Downloaded wasmprinter v0.221.3 [INFO] [stderr] Downloaded postcard v1.1.3 [INFO] [stderr] Downloaded mach2 v0.4.3 [INFO] [stderr] Downloaded wasmtime-wit-bindgen v29.0.1 [INFO] [stderr] Downloaded cranelift-isle v0.116.1 [INFO] [stderr] Downloaded wasmtime-component-macro v29.0.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.116.1 [INFO] [stderr] Downloaded c2rust-bitfields v0.3.0 [INFO] [stderr] Downloaded wasmtime-environ v29.0.1 [INFO] [stderr] Downloaded regalloc2 v0.11.2 [INFO] [stderr] Downloaded wasmparser v0.221.3 [INFO] [stderr] Downloaded target-lexicon v0.13.3 [INFO] [stderr] Downloaded winch-codegen v29.0.1 [INFO] [stderr] Downloaded wasmtime v29.0.1 [INFO] [stderr] Downloaded wasmtime-c-api-impl v29.0.1 [INFO] [stderr] Downloaded wasm-encoder v0.221.3 [INFO] [stderr] Downloaded wit-parser v0.221.3 [INFO] [stderr] Downloaded wasmtime-cranelift v29.0.1 [INFO] [stderr] Downloaded wasmtime-asm-macros v29.0.1 [INFO] [stderr] Downloaded pulley-interpreter v29.0.1 [INFO] [stderr] Downloaded cranelift-frontend v0.116.1 [INFO] [stderr] Downloaded cranelift-bforest v0.116.1 [INFO] [stderr] Downloaded cranelift-bitset v0.116.1 [INFO] [stderr] Downloaded wasmtime-component-util v29.0.1 [INFO] [stderr] Downloaded wasmtime-jit-icache-coherence v29.0.1 [INFO] [stderr] Downloaded wasmtime-math v29.0.1 [INFO] [stderr] Downloaded cobs v0.3.0 [INFO] [stderr] Downloaded cranelift-codegen v0.116.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7a4bb4cf6ec3f6405e81bc3d05e627f74d3b402787a8623ee9e382e87402d603 [INFO] running `Command { std: "docker" "start" "-a" "7a4bb4cf6ec3f6405e81bc3d05e627f74d3b402787a8623ee9e382e87402d603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a4bb4cf6ec3f6405e81bc3d05e627f74d3b402787a8623ee9e382e87402d603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a4bb4cf6ec3f6405e81bc3d05e627f74d3b402787a8623ee9e382e87402d603", kill_on_drop: false }` [INFO] [stdout] 7a4bb4cf6ec3f6405e81bc3d05e627f74d3b402787a8623ee9e382e87402d603 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a5738f06f31e2c5ba8f3467bc35d5d194c6e34904d9d3ccf678c5badca349fa5 [INFO] running `Command { std: "docker" "start" "-a" "a5738f06f31e2c5ba8f3467bc35d5d194c6e34904d9d3ccf678c5badca349fa5", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling c2rust-bitfields-derive v0.2.1 [INFO] [stderr] Compiling tree-sitter-c2rust v0.25.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling c2rust-bitfields v0.3.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [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 10.16s [INFO] running `Command { std: "docker" "inspect" "a5738f06f31e2c5ba8f3467bc35d5d194c6e34904d9d3ccf678c5badca349fa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5738f06f31e2c5ba8f3467bc35d5d194c6e34904d9d3ccf678c5badca349fa5", kill_on_drop: false }` [INFO] [stdout] a5738f06f31e2c5ba8f3467bc35d5d194c6e34904d9d3ccf678c5badca349fa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0355336c6b42b9fe3769c47c7a1c4f9b73619b23c54b2b900c6e0309fd0a259d [INFO] running `Command { std: "docker" "start" "-a" "0355336c6b42b9fe3769c47c7a1c4f9b73619b23c54b2b900c6e0309fd0a259d", 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] [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: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] [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.25s [INFO] running `Command { std: "docker" "inspect" "0355336c6b42b9fe3769c47c7a1c4f9b73619b23c54b2b900c6e0309fd0a259d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0355336c6b42b9fe3769c47c7a1c4f9b73619b23c54b2b900c6e0309fd0a259d", kill_on_drop: false }` [INFO] [stdout] 0355336c6b42b9fe3769c47c7a1c4f9b73619b23c54b2b900c6e0309fd0a259d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 1456cf45b919b0810c32d4fb187075dd94220154ca4bd063aec4c8c1a0b54b5c [INFO] running `Command { std: "docker" "start" "-a" "1456cf45b919b0810c32d4fb187075dd94220154ca4bd063aec4c8c1a0b54b5c", 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.11s [INFO] [stderr] Running unittests binding_rust/lib.rs (/opt/rustwide/target/debug/deps/tree_sitter_c2rust-886bf967be6df694) [INFO] [stderr] Doc-tests tree_sitter_c2rust [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] [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 43) ... FAILED [INFO] [stdout] test binding_rust/lib.rs - (line 37) ... FAILED [INFO] [stdout] test binding_rust/lib.rs - (line 14) ... FAILED [INFO] [stdout] test binding_rust/lib.rs - (line 78) ... FAILED [INFO] [stdout] test binding_rust/lib.rs - (line 58) ... 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] 588 | 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] 588 | 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] 588 | 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 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] 45 | 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] 38 | 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] 38 | 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] 38 | 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 14) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tree_sitter` [INFO] [stdout] --> binding_rust/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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 78) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `parser` in this scope [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] --> binding_rust/lib.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | 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] 88 | 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] 78 + 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] ---- 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] 61 | 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] 61 | tree.edit(&InputEdit { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 58 + 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] 65 | 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] 58 + 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] 66 | 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] 58 + 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] 67 | 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] 58 + 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] 70 | 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] 70 | 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] [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.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1456cf45b919b0810c32d4fb187075dd94220154ca4bd063aec4c8c1a0b54b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1456cf45b919b0810c32d4fb187075dd94220154ca4bd063aec4c8c1a0b54b5c", kill_on_drop: false }` [INFO] [stdout] 1456cf45b919b0810c32d4fb187075dd94220154ca4bd063aec4c8c1a0b54b5c