Spin-one-s-wheels Definition

verb

(idiomatic) To make no progress despite making an effort; to get nowhere.

I've been spinning my wheels on this problem all week, with nothing to show for it.
Wiktionary