We're working with the Lean community to address the issue: See https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Weird.20IO.20Behavior.20Introduced.20in.20v4.2E12.2E0