Zig currently entirely ignores unused globals, which means unused imports aren’t errors. They aren’t even warnings.
In fact, you can have an import importing a module/file that doesn’t even exist , and the Zig compiler will simply ignore it.
zigimports
helps you avoid that by cleaning up unused imports and globals.