[INFO] fetching crate tree-sitter-c2rust 0.20.10...
[INFO] checking tree-sitter-c2rust-0.20.10 against nightly-2024-02-05 for check-cfg
[INFO] extracting crate tree-sitter-c2rust 0.20.10 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate tree-sitter-c2rust 0.20.10 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate tree-sitter-c2rust 0.20.10
[INFO] finished tweaking crates.io crate tree-sitter-c2rust 0.20.10
[INFO] tweaked toml for crates.io crate tree-sitter-c2rust 0.20.10 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d29e1c92bcc2e488119daec2ce86fc012164be33d07fc4d33cca6c2b4902218
[INFO] running `Command { std: "docker" "start" "-a" "8d29e1c92bcc2e488119daec2ce86fc012164be33d07fc4d33cca6c2b4902218", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d29e1c92bcc2e488119daec2ce86fc012164be33d07fc4d33cca6c2b4902218", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d29e1c92bcc2e488119daec2ce86fc012164be33d07fc4d33cca6c2b4902218", kill_on_drop: false }`
[INFO] [stdout] 8d29e1c92bcc2e488119daec2ce86fc012164be33d07fc4d33cca6c2b4902218
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b033fc90eae61ecbd66ac3e76a6e5ad786cd15a9f02fb61a90c5ec7dbd772dcf
[INFO] running `Command { std: "docker" "start" "-a" "b033fc90eae61ecbd66ac3e76a6e5ad786cd15a9f02fb61a90c5ec7dbd772dcf", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling c2rust-bitfields-derive v0.2.1
[INFO] [stderr]     Checking c2rust-bitfields v0.3.0
[INFO] [stderr]     Checking tree-sitter-c2rust v0.20.10 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/api_raw.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/get_changed_ranges.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/get_changed_ranges.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/language.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/node.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/node.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/parser.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/query.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/stack.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/stack.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/tree.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/tree.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/tree_cursor.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/tree_cursor.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/api_raw.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/get_changed_ranges.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/get_changed_ranges.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/language.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/node.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/node.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/parser.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/query.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/stack.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/stack.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/tree.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/tree.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/tree_cursor.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/tree_cursor.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> binding_rust/core/lexer.rs:612:18
[INFO] [stdout]     |
[INFO] [stdout] 612 |         ranges = &DEFAULT_RANGE;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 612 |         ranges = addr_of!(DEFAULT_RANGE);
[INFO] [stdout]     |                  ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]     --> binding_rust/core/subtree.rs:2322:16
[INFO] [stdout]      |
[INFO] [stdout] 2322 |         return &empty_state;
[INFO] [stdout]      |                ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]      = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]      = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]      |
[INFO] [stdout] 2322 |         return addr_of!(empty_state);
[INFO] [stdout]      |                ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pt`
[INFO] [stdout]     --> binding_rust/core/parser.rs:1073:9
[INFO] [stdout]      |
[INFO] [stdout] 1073 |     mut pt: TSPoint,
[INFO] [stdout]      |         ^^ help: if this is intentional, prefix it with an underscore: `_pt`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_0`
[INFO] [stdout]     --> binding_rust/core/parser.rs:1233:9
[INFO] [stdout]      |
[INFO] [stdout] 1233 |     mut self_0: *mut TSParser,
[INFO] [stdout]      |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_0`
[INFO] [stdout]     --> binding_rust/core/parser.rs:3609:9
[INFO] [stdout]      |
[INFO] [stdout] 3609 |     mut self_0: *mut TSParser,
[INFO] [stdout]      |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `exists_5` is assigned to, but never used
[INFO] [stdout]     --> binding_rust/core/query.rs:3166:29
[INFO] [stdout]      |
[INFO] [stdout] 3166 |                     let mut exists_5: uint32_t = 0;
[INFO] [stdout]      |                             ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: consider using `_exists_5` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> binding_rust/core/stack.rs:435:9
[INFO] [stdout]     |
[INFO] [stdout] 435 |     mut f: *mut FILE,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]     --> binding_rust/core/stack.rs:1282:9
[INFO] [stdout]      |
[INFO] [stdout] 1282 |     mut payload: *mut libc::c_void,
[INFO] [stdout]      |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]     --> binding_rust/core/stack.rs:1400:9
[INFO] [stdout]      |
[INFO] [stdout] 1400 |     mut payload: *mut libc::c_void,
[INFO] [stdout]      |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]     --> binding_rust/core/stack.rs:1891:25
[INFO] [stdout]      |
[INFO] [stdout] 1891 |                 let mut data: *const libc::c_char = ts_external_scanner_state_data(state);
[INFO] [stdout]      |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> binding_rust/core/lexer.rs:612:18
[INFO] [stdout]     |
[INFO] [stdout] 612 |         ranges = &DEFAULT_RANGE;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 612 |         ranges = addr_of!(DEFAULT_RANGE);
[INFO] [stdout]     |                  ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> binding_rust/core/subtree.rs:629:9
[INFO] [stdout]     |
[INFO] [stdout] 629 |     mut f: *mut FILE,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end_offset`
[INFO] [stdout]     --> binding_rust/core/subtree.rs:2217:13
[INFO] [stdout]      |
[INFO] [stdout] 2217 |     let mut end_offset: uint32_t = start_offset.wrapping_add(ts_subtree_total_bytes(*self_0));
[INFO] [stdout]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_0`
[INFO] [stdout]    --> binding_rust/core/tree.rs:370:54
[INFO] [stdout]     |
[INFO] [stdout] 370 | pub unsafe extern "C" fn ts_tree_print_dot_graph(mut self_0: *const TSTree, mut fd: libc::c_int) {
[INFO] [stdout]     |                                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]     --> binding_rust/core/subtree.rs:2322:16
[INFO] [stdout]      |
[INFO] [stdout] 2322 |         return &empty_state;
[INFO] [stdout]      |                ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]      = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]      = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]      |
[INFO] [stdout] 2322 |         return addr_of!(empty_state);
[INFO] [stdout]      |                ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pt`
[INFO] [stdout]     --> binding_rust/core/parser.rs:1073:9
[INFO] [stdout]      |
[INFO] [stdout] 1073 |     mut pt: TSPoint,
[INFO] [stdout]      |         ^^ help: if this is intentional, prefix it with an underscore: `_pt`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_0`
[INFO] [stdout]     --> binding_rust/core/parser.rs:1233:9
[INFO] [stdout]      |
[INFO] [stdout] 1233 |     mut self_0: *mut TSParser,
[INFO] [stdout]      |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_0`
[INFO] [stdout]     --> binding_rust/core/parser.rs:3609:9
[INFO] [stdout]      |
[INFO] [stdout] 3609 |     mut self_0: *mut TSParser,
[INFO] [stdout]      |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `exists_5` is assigned to, but never used
[INFO] [stdout]     --> binding_rust/core/query.rs:3166:29
[INFO] [stdout]      |
[INFO] [stdout] 3166 |                     let mut exists_5: uint32_t = 0;
[INFO] [stdout]      |                             ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: consider using `_exists_5` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> binding_rust/core/stack.rs:435:9
[INFO] [stdout]     |
[INFO] [stdout] 435 |     mut f: *mut FILE,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]     --> binding_rust/core/stack.rs:1282:9
[INFO] [stdout]      |
[INFO] [stdout] 1282 |     mut payload: *mut libc::c_void,
[INFO] [stdout]      |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]     --> binding_rust/core/stack.rs:1400:9
[INFO] [stdout]      |
[INFO] [stdout] 1400 |     mut payload: *mut libc::c_void,
[INFO] [stdout]      |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]     --> binding_rust/core/stack.rs:1891:25
[INFO] [stdout]      |
[INFO] [stdout] 1891 |                 let mut data: *const libc::c_char = ts_external_scanner_state_data(state);
[INFO] [stdout]      |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> binding_rust/core/subtree.rs:629:9
[INFO] [stdout]     |
[INFO] [stdout] 629 |     mut f: *mut FILE,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end_offset`
[INFO] [stdout]     --> binding_rust/core/subtree.rs:2217:13
[INFO] [stdout]      |
[INFO] [stdout] 2217 |     let mut end_offset: uint32_t = start_offset.wrapping_add(ts_subtree_total_bytes(*self_0));
[INFO] [stdout]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_0`
[INFO] [stdout]    --> binding_rust/core/tree.rs:370:54
[INFO] [stdout]     |
[INFO] [stdout] 370 | pub unsafe extern "C" fn ts_tree_print_dot_graph(mut self_0: *const TSTree, mut fd: libc::c_int) {
[INFO] [stdout]     |                                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.43s
[INFO] running `Command { std: "docker" "inspect" "b033fc90eae61ecbd66ac3e76a6e5ad786cd15a9f02fb61a90c5ec7dbd772dcf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b033fc90eae61ecbd66ac3e76a6e5ad786cd15a9f02fb61a90c5ec7dbd772dcf", kill_on_drop: false }`
[INFO] [stdout] b033fc90eae61ecbd66ac3e76a6e5ad786cd15a9f02fb61a90c5ec7dbd772dcf
[INFO] checking tree-sitter-c2rust-0.20.10 against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg
[INFO] extracting crate tree-sitter-c2rust 0.20.10 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate tree-sitter-c2rust 0.20.10 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate tree-sitter-c2rust 0.20.10
[INFO] finished tweaking crates.io crate tree-sitter-c2rust 0.20.10
[INFO] tweaked toml for crates.io crate tree-sitter-c2rust 0.20.10 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 007d9430fc94b1e33411c624f90c713c4da6145ece3688e577e14c2662bc34c7
[INFO] running `Command { std: "docker" "start" "-a" "007d9430fc94b1e33411c624f90c713c4da6145ece3688e577e14c2662bc34c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "007d9430fc94b1e33411c624f90c713c4da6145ece3688e577e14c2662bc34c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "007d9430fc94b1e33411c624f90c713c4da6145ece3688e577e14c2662bc34c7", kill_on_drop: false }`
[INFO] [stdout] 007d9430fc94b1e33411c624f90c713c4da6145ece3688e577e14c2662bc34c7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunexpected_cfgs" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }`
[INFO] [stdout] 576fa4081a2e6e4ce3d8eaa17d46c654d31f2c84609b9e8ef8f72b1a41ee02bb
[INFO] running `Command { std: "docker" "start" "-a" "576fa4081a2e6e4ce3d8eaa17d46c654d31f2c84609b9e8ef8f72b1a41ee02bb", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling c2rust-bitfields-derive v0.2.1
[INFO] [stderr]     Checking c2rust-bitfields v0.3.0
[INFO] [stderr]     Checking tree-sitter-c2rust v0.20.10 (/opt/rustwide/workdir)
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]   --> binding_rust/core/mod.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[cfg(feature = "capi")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]    = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout]    = note: requested on the command line with `-D unexpected-cfgs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]   --> binding_rust/core/mod.rs:42:7
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[cfg(feature = "capi")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]    = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/api_raw.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/get_changed_ranges.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/get_changed_ranges.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/language.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/node.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/node.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/parser.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]   --> binding_rust/core/mod.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[cfg(feature = "capi")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]    = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout]    = note: requested on the command line with `-D unexpected-cfgs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]   --> binding_rust/core/mod.rs:42:7
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[cfg(feature = "capi")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]    = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/api_raw.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/get_changed_ranges.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/get_changed_ranges.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/language.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/query.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/node.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/node.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/parser.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/query.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/stack.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/stack.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/stack.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/stack.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/tree.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/tree.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/tree_cursor.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/tree_cursor.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/tree.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/tree.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:230:12
[INFO] [stdout]     |
[INFO] [stdout] 230 | #[cfg_attr(feature = "capi", derive(Clone, Copy))]
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:306:7
[INFO] [stdout]     |
[INFO] [stdout] 306 | #[cfg(feature = "capi")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:316:11
[INFO] [stdout]     |
[INFO] [stdout] 316 | #[cfg(not(feature = "capi"))]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:232:11
[INFO] [stdout]     |
[INFO] [stdout] 232 |     #[cfg(feature = "capi")] crate::capi::CFile,
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `:: c2rust_bitfields`
[INFO] [stdout]  --> binding_rust/core/tree_cursor.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use :: c2rust_bitfields;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:233:15
[INFO] [stdout]     |
[INFO] [stdout] 233 |     #[cfg(not(feature = "capi"))] Option<Box<std::io::BufWriter<std::fs::File>>>,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:238:15
[INFO] [stdout]     |
[INFO] [stdout] 238 |         #[cfg(feature = "capi")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> binding_rust/core/tree_cursor.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:243:19
[INFO] [stdout]     |
[INFO] [stdout] 243 |         #[cfg(not(feature = "capi"))]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:250:15
[INFO] [stdout]     |
[INFO] [stdout] 250 |         #[cfg(feature = "capi")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:255:19
[INFO] [stdout]     |
[INFO] [stdout] 255 |         #[cfg(not(feature = "capi"))]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:266:15
[INFO] [stdout]     |
[INFO] [stdout] 266 |         #[cfg(feature = "capi")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:230:12
[INFO] [stdout]     |
[INFO] [stdout] 230 | #[cfg_attr(feature = "capi", derive(Clone, Copy))]
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:273:19
[INFO] [stdout]     |
[INFO] [stdout] 273 |         #[cfg(not(feature = "capi"))]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:306:7
[INFO] [stdout]     |
[INFO] [stdout] 306 | #[cfg(feature = "capi")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:282:15
[INFO] [stdout]     |
[INFO] [stdout] 282 |         #[cfg(feature = "capi")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:316:11
[INFO] [stdout]     |
[INFO] [stdout] 316 | #[cfg(not(feature = "capi"))]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:287:19
[INFO] [stdout]     |
[INFO] [stdout] 287 |         #[cfg(not(feature = "capi"))]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:232:11
[INFO] [stdout]     |
[INFO] [stdout] 232 |     #[cfg(feature = "capi")] crate::capi::CFile,
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:233:15
[INFO] [stdout]     |
[INFO] [stdout] 233 |     #[cfg(not(feature = "capi"))] Option<Box<std::io::BufWriter<std::fs::File>>>,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:294:15
[INFO] [stdout]     |
[INFO] [stdout] 294 |         #[cfg(feature = "capi")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:238:15
[INFO] [stdout]     |
[INFO] [stdout] 238 |         #[cfg(feature = "capi")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:299:19
[INFO] [stdout]     |
[INFO] [stdout] 299 |         #[cfg(not(feature = "capi"))]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:243:19
[INFO] [stdout]     |
[INFO] [stdout] 243 |         #[cfg(not(feature = "capi"))]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:250:15
[INFO] [stdout]     |
[INFO] [stdout] 250 |         #[cfg(feature = "capi")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:255:19
[INFO] [stdout]     |
[INFO] [stdout] 255 |         #[cfg(not(feature = "capi"))]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:266:15
[INFO] [stdout]     |
[INFO] [stdout] 266 |         #[cfg(feature = "capi")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:273:19
[INFO] [stdout]     |
[INFO] [stdout] 273 |         #[cfg(not(feature = "capi"))]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:282:15
[INFO] [stdout]     |
[INFO] [stdout] 282 |         #[cfg(feature = "capi")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:287:19
[INFO] [stdout]     |
[INFO] [stdout] 287 |         #[cfg(not(feature = "capi"))]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:294:15
[INFO] [stdout]     |
[INFO] [stdout] 294 |         #[cfg(feature = "capi")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition value: `capi`
[INFO] [stdout]    --> binding_rust/core/util.rs:299:19
[INFO] [stdout]     |
[INFO] [stdout] 299 |         #[cfg(not(feature = "capi"))]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `errno`, `lazy_static`
[INFO] [stdout]     = help: consider adding `capi` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> binding_rust/core/lexer.rs:612:18
[INFO] [stdout]     |
[INFO] [stdout] 612 |         ranges = &DEFAULT_RANGE;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 612 |         ranges = addr_of!(DEFAULT_RANGE);
[INFO] [stdout]     |                  ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> binding_rust/core/lexer.rs:612:18
[INFO] [stdout]     |
[INFO] [stdout] 612 |         ranges = &DEFAULT_RANGE;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 612 |         ranges = addr_of!(DEFAULT_RANGE);
[INFO] [stdout]     |                  ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]     --> binding_rust/core/subtree.rs:2322:16
[INFO] [stdout]      |
[INFO] [stdout] 2322 |         return &empty_state;
[INFO] [stdout]      |                ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]      = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]      = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]      |
[INFO] [stdout] 2322 |         return addr_of!(empty_state);
[INFO] [stdout]      |                ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]     --> binding_rust/core/subtree.rs:2322:16
[INFO] [stdout]      |
[INFO] [stdout] 2322 |         return &empty_state;
[INFO] [stdout]      |                ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]      = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]      = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]      |
[INFO] [stdout] 2322 |         return addr_of!(empty_state);
[INFO] [stdout]      |                ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pt`
[INFO] [stdout]     --> binding_rust/core/parser.rs:1073:9
[INFO] [stdout]      |
[INFO] [stdout] 1073 |     mut pt: TSPoint,
[INFO] [stdout]      |         ^^ help: if this is intentional, prefix it with an underscore: `_pt`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_0`
[INFO] [stdout]     --> binding_rust/core/parser.rs:1233:9
[INFO] [stdout]      |
[INFO] [stdout] 1233 |     mut self_0: *mut TSParser,
[INFO] [stdout]      |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_0`
[INFO] [stdout]     --> binding_rust/core/parser.rs:3609:9
[INFO] [stdout]      |
[INFO] [stdout] 3609 |     mut self_0: *mut TSParser,
[INFO] [stdout]      |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pt`
[INFO] [stdout]     --> binding_rust/core/parser.rs:1073:9
[INFO] [stdout]      |
[INFO] [stdout] 1073 |     mut pt: TSPoint,
[INFO] [stdout]      |         ^^ help: if this is intentional, prefix it with an underscore: `_pt`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_0`
[INFO] [stdout]     --> binding_rust/core/parser.rs:1233:9
[INFO] [stdout]      |
[INFO] [stdout] 1233 |     mut self_0: *mut TSParser,
[INFO] [stdout]      |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_0`
[INFO] [stdout]     --> binding_rust/core/parser.rs:3609:9
[INFO] [stdout]      |
[INFO] [stdout] 3609 |     mut self_0: *mut TSParser,
[INFO] [stdout]      |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `exists_5` is assigned to, but never used
[INFO] [stdout]     --> binding_rust/core/query.rs:3166:29
[INFO] [stdout]      |
[INFO] [stdout] 3166 |                     let mut exists_5: uint32_t = 0;
[INFO] [stdout]      |                             ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: consider using `_exists_5` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `exists_5` is assigned to, but never used
[INFO] [stdout]     --> binding_rust/core/query.rs:3166:29
[INFO] [stdout]      |
[INFO] [stdout] 3166 |                     let mut exists_5: uint32_t = 0;
[INFO] [stdout]      |                             ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: consider using `_exists_5` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> binding_rust/core/stack.rs:435:9
[INFO] [stdout]     |
[INFO] [stdout] 435 |     mut f: *mut FILE,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]     --> binding_rust/core/stack.rs:1282:9
[INFO] [stdout]      |
[INFO] [stdout] 1282 |     mut payload: *mut libc::c_void,
[INFO] [stdout]      |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> binding_rust/core/stack.rs:435:9
[INFO] [stdout]     |
[INFO] [stdout] 435 |     mut f: *mut FILE,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]     --> binding_rust/core/stack.rs:1400:9
[INFO] [stdout]      |
[INFO] [stdout] 1400 |     mut payload: *mut libc::c_void,
[INFO] [stdout]      |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]     --> binding_rust/core/stack.rs:1891:25
[INFO] [stdout]      |
[INFO] [stdout] 1891 |                 let mut data: *const libc::c_char = ts_external_scanner_state_data(state);
[INFO] [stdout]      |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]     --> binding_rust/core/stack.rs:1282:9
[INFO] [stdout]      |
[INFO] [stdout] 1282 |     mut payload: *mut libc::c_void,
[INFO] [stdout]      |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]     --> binding_rust/core/stack.rs:1400:9
[INFO] [stdout]      |
[INFO] [stdout] 1400 |     mut payload: *mut libc::c_void,
[INFO] [stdout]      |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]     --> binding_rust/core/stack.rs:1891:25
[INFO] [stdout]      |
[INFO] [stdout] 1891 |                 let mut data: *const libc::c_char = ts_external_scanner_state_data(state);
[INFO] [stdout]      |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> binding_rust/core/subtree.rs:629:9
[INFO] [stdout]     |
[INFO] [stdout] 629 |     mut f: *mut FILE,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> binding_rust/core/subtree.rs:629:9
[INFO] [stdout]     |
[INFO] [stdout] 629 |     mut f: *mut FILE,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end_offset`
[INFO] [stdout]     --> binding_rust/core/subtree.rs:2217:13
[INFO] [stdout]      |
[INFO] [stdout] 2217 |     let mut end_offset: uint32_t = start_offset.wrapping_add(ts_subtree_total_bytes(*self_0));
[INFO] [stdout]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_0`
[INFO] [stdout]    --> binding_rust/core/tree.rs:370:54
[INFO] [stdout]     |
[INFO] [stdout] 370 | pub unsafe extern "C" fn ts_tree_print_dot_graph(mut self_0: *const TSTree, mut fd: libc::c_int) {
[INFO] [stdout]     |                                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end_offset`
[INFO] [stdout]     --> binding_rust/core/subtree.rs:2217:13
[INFO] [stdout]      |
[INFO] [stdout] 2217 |     let mut end_offset: uint32_t = start_offset.wrapping_add(ts_subtree_total_bytes(*self_0));
[INFO] [stdout]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_0`
[INFO] [stdout]    --> binding_rust/core/tree.rs:370:54
[INFO] [stdout]     |
[INFO] [stdout] 370 | pub unsafe extern "C" fn ts_tree_print_dot_graph(mut self_0: *const TSTree, mut fd: libc::c_int) {
[INFO] [stdout]     |                                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors; 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors; 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tree-sitter-c2rust` (lib test) due to 18 previous errors; 27 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `tree-sitter-c2rust` (lib) due to 18 previous errors; 27 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "576fa4081a2e6e4ce3d8eaa17d46c654d31f2c84609b9e8ef8f72b1a41ee02bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "576fa4081a2e6e4ce3d8eaa17d46c654d31f2c84609b9e8ef8f72b1a41ee02bb", kill_on_drop: false }`
[INFO] [stdout] 576fa4081a2e6e4ce3d8eaa17d46c654d31f2c84609b9e8ef8f72b1a41ee02bb
