Why would the rust community “yell at you” for using unsafe somewhere where it’s clearly needed?

By the way, unsafe doesn’t defeat the purpose of rust. The entire point of rust is that it lets you build safe abstractions on top of unsafe code, not that it eliminates unsafe code entirely.