This was fixed in an updated zlib version that VTK originally included in the 9.4 release (see linked commit below). It resolved issues with newer clang versions as you’ve experienced. If possible, I would suggest using VTK 9.4.2 instead of 9.3.0rc1.