That said, there is general consensus in the literature that the vaccines are mostly safe for adults in the short term. However for certain sub-populations (eg pediatrics and pregnant women) there isn't enough evidence yet from clinical trials and longitudinal studies to conclude with certainty that the benefits of compulsory mass vaccination outweigh the risks.
[1] Risk of rapid evolutionary escape from biomedical interventions targeting SARS-CoV-2 spike protein https://pubmed.ncbi.nlm.nih.gov/33909660/
[2] Can we predict the limits of SARS-CoV-2 variants and their phenotypic consequences? https://www.gov.uk/government/publications/long-term-evoluti...
[3] Why does drug resistance readily evolve but vaccine resistance does not? https://royalsocietypublishing.org/doi/pdf/10.1098/rspb.2016...
[4] The adaptive evolution of virulence: a review of theoretical predictions and empirical tests https://pubmed.ncbi.nlm.nih.gov/26302775/
[5] Imperfect Vaccination Can Enhance the Transmission of Highly Virulent Pathogens https://journals.plos.org/plosbiology/article?id=10.1371%2Fj...
[6] Necessity of COVID-19 vaccination in previously infected individuals https://www.medrxiv.org/content/10.1101/2021.06.01.21258176v...