PSA: you can't have a @​main struct in a main.swift file -- the file needs to have a different name to make the compiler error disappear
@ctietze Good to know I'm not the only one. I had the same problem last week; it took a while to figure this out. 🙈