By Hardy's inequality, $C$ is bounded. But I find no way to prove it to be noncompact. I was thinking about its adjoint $$ (C^\ast f)(s) = \int_x^\infty\frac{1}{t}f(t)dt $$
But I'm afraid it is equally difficult to show that $C^\ast$ is noncompact. So this approach does not work.
I also attempted to use a classic sequence on the unit ball: $f_n = \chi_{[n,n+1]}$. But it turned out to be a monster. Indeed we have $\lVert f_n \rVert = 1$ and $\lVert f_m-f_n \rVert = \sqrt{2}\delta_{mn}$, which is pretty neat. But computing the norm of $Cf_n$ and $C(f_m-f_n)$ is a disaster: $$ \lVert Cf_n \rVert = \sqrt{2-2n\ln\left( 1 + \frac{1}{n}\right)} \\ \lVert C(f_m-f_n) \rVert =\sqrt{\frac{2n+1}{n+1}-2n\ln\left( 1+\frac{1}{n}\right)+2+\frac{1}{m}-2(m+1)\ln\left( 1+\frac{1}{m}\right)+\ln\frac{m}{n+1}} $$ provided $m>n$ (hopefully my calculation wasn't wrong!). With these being said, is there any accessible way to prove the noncompactness (whether direct or indirect)? I guess I found two inaccessible way (or maybe not as I didn't realise how to use it). Many thanks in advance!