unarr: add file/line information to warnings