Dont forget that the whole police qualified immunity was a fiction created out of nothing from SCOTUS. Its not federal law. Not state law.
Pierson v. Ray (1967) is the start of this farce.
And these police, due to non-law SCOTUS making shit up, are able to hound an innocent person for decades and suffer absolutely no punishments for that.