A method of treating coronavirus infection. The method includes administering to a subject suffering from or being at risk of suffering from such infection an effective amount of a compound of formula (I). Each variable in this formula is defined in the specification.