"uart not available" spam on Serial Monitor

I don't know which code the symptom you describe has, so I have no clue.
Such crude errors are quite rare in libraries, if there are even libraries that have them.

How about a sketch that shows that behavior?