If you use `warn` it should report the line number and only print it once.