Right now main files aren't found if there's no `main()` function. It should be a different error like a main file requires a main function to build