The word citizen is intentionally absent from the text of the amendment. Bill of rights applies to all persons*, not just citizens.
Exactly this; how do you have a country of law and order if you don’t extend at least the prosecution rights to the people within it’s borders, citizen or not?
Even those in slavery when the BoR was created?
of course not, that kind of racism is ingrained even in the original constitution. progress has been made in the last 200 or so years, but not without near-constant opposition from bigots along the way - something we see plainly even today.