Just hit this issue when building an app inside Docker that's had the LinuxMain and all the allTests
stripped out as it's no longer needed. A completely empty LinuxMain.swift fixes the issue but as mentioned it seems weird to require it for the build to pass (I'm assuming it's because the build command also attempts to build the Test target as well). It also isn't required when building on macOS. Another fix is to build it with the --enable-test-discovery
flag as well.