Output on CircleCI Build is messed up (screenshot attached)

CircleCI doesn’t show output progress bar correctly and UI becomes really slow.

Screenshot is here