Spending years as grumpy code janitor has taught me a number of hard lessons. Like, for example, unused *anything* (import, unexported function/variable) should be a fatal error, and there should never ever be any kind of indirect importing of anything.
If there was a reasonable way to make unused globals a fatal error I'd be all for that, too.