detect circularity in use/require statements