He doesn’t have immunity for the crimes but there is testimony about things he said to staff while in office and the Supreme Court has declared such conversations off-limits. They really went out of their way to cover for Trump, except for the part where Biden would probably have immunity for having him killed.
The update is pretty important: