The eighth amendment does not apply to non-citizens (and neither do any of the other amendments.) Try again.
If that is true, why does the Bill of rights say that its purpose is to restrict the government, and not protect the rights of the citizens
?
THE Conventions of a number of the States, having at the time of their adopting the Constitution, expressed a desire, in order to prevent misconstruction or abuse of its powers, that further declaratory and restrictive clauses should be added: And as extending the ground of public confidence in the Government, will best ensure the beneficent ends of its institution.