\listfiles
\DocumentMetadata{
lang = en,
pdfstandard = ua-2,
pdfstandard = a-4f,
tagging=on,
tagging-setup={math/setup=mathml-SE}
}

\documentclass[sigconf]{acmart}

\usepackage{cleveref} % Removing this line fixes the compilation

\begin{document}

\title{Title}

\maketitle

\begin{definition}
  Test
\end{definition}

\end{document}