vector icon indicating copy to clipboard operation
vector copied to clipboard

`cargo test` sometimes fails to run on master

Open thomasqueirozb opened this issue 7 months ago • 0 comments

A note for the community

Workaround

Use cargo nextest run instead of cargo run. Install it by running cargo install --locked cargo-nextest

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Problem

cargo test sometimes fails to run on master

test sources::journald::tests::emits_cursor ... FAILED

failures:

---- sources::journald::tests::emits_cursor stdout ----

thread 'sources::journald::tests::emits_cursor' panicked at src/sources/journald.rs:1252:36:
index out of bounds: the len is 0 but the index is 0

Configuration


Version

vector 0.48.0-custom-60fdc8a1c (aarch64-apple-darwin debug=full)

Debug Output


Example Data

No response

Additional Context

No response

References

No response

thomasqueirozb avatar Jun 11 '25 17:06 thomasqueirozb