Rust tests are broken on master

Author: stepanchegCreated Mar 24, 2026Updated Sep 27, 2026
LabelsstalerustCI
bash
cd rust/flatbuffers

cargo test
test builder::tests::with_internal_capacity_preallocates_vecs ... FAILED

failures:

---- builder::tests::with_internal_capacity_preallocates_vecs stdout ----

thread 'builder::tests::with_internal_capacity_preallocates_vecs' (70151167) panicked at src/builder.rs:1126:9:
assertion `left == right` failed: expected 0 allocations after builder construction, got 2
  left: 2
 right: 0