Exits with "Error: stream did not contain valid UTF-8"
I've started using pipecolor with the unit-test log output from the project I work on, and it's great.
However, in one scenario the output cuts off early with the message Error: stream did not contain valid UTF-8. I made sure this only happens when piping through pipecolor, so the message is not coming from our code.
It appears that something in a test of ours is writing some binary data to the log; so pipecolor is correct that there's invalid UTF-8 in the stream. However, it should not give up when this happens; it should just write the offending line as-is and go on to the next one. Otherwise it ends up hiding information from the user.
(PS: I'm running the latest version of pipecolor, built via cargo, on macOS 12.6.5.)
I fixed it, and released v0.4.3. Thanks!
v0.4.3 was broken at macOS. Please use v0.4.4.