Skip to content

regression: null bytes in utf8-stream #148975

@Mark-Simulacrum

Description

@Mark-Simulacrum
[INFO] [stdout] thread 'test_iter_new' (18) panicked at tests/test_utf8_stream.rs:8:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: ["\0", "\0", "\0", "\0"]
[INFO] [stdout]  right: ["t", "e", "s", "t"]

https://crater-reports.s3.amazonaws.com/beta-1.92-3/beta-2025-11-01/reg/utf8-stream-0.0.0/log.txt

There's a bunch of tests from this crate where ASCII text is now null bytes in the test assertions. The crate has a bunch of unsafe code so it's plausible this is just benign UB exposing itself, but we should confirm that it's not a breaking change (e.g., bisect or run under Miri).

Metadata

Metadata

Assignees

Labels

C-external-bugCategory: issue that is caused by bugs in software beyond our controlC-gubCategory: the reverse of a compiler bug is generally UB

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions