1: \begin{abstract}
2: We compute the average number of surjections from class groups of
3: quadratic function fields over $\mathbb F_q(t)$ onto finite odd order
4: groups $H$, once $q$ is sufficiently large. These yield the first known
5: moments of these class groups, as predicted by the Cohen--Lenstra heuristics, apart from the case
6: $H = \mathbb Z/3\mathbb Z$. The key input to this result is a
7: topological one, where we compute the stable rational homology groups of Hurwitz
8: spaces associated to non-splitting conjugacy classes.
9: \end{abstract}
10: