I have the same issue, when trying to build my App. I converted the project from Swift 3 to 4.2. All submodules to build only my project failes.
---
0 swift 0x0000000104bb8bf5 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1 swift 0x0000000104bb7e95 llvm::sys::RunSignalHandlers() + 85
2 swift 0x0000000104bb91e2 SignalHandler(int) + 258
3 libsystem_platform.dylib 0x00007fff744d3b3d _sigtramp + 29
4 libsystem_platform.dylib 0x0000000000000001 _sigtramp + 2343748833
5 libsystem_c.dylib 0x00007fff743911c9 abort + 127
6 swift 0x0000000100feebbb swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*)::$_1::__invoke(void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) + 523
7 swift 0x0000000104b4f47b llvm::report_fatal_error(llvm::Twine const&, bool) + 251
8 swift 0x0000000104b4f37b llvm::report_fatal_error(char const*, bool) + 43
9 swift 0x0000000104afe232 (anonymous namespace)::VerifierLegacyPass::doFinalization(llvm::Module&) + 210
10 swift 0x0000000104a89596 llvm::FPPassManager::doFinalization(llvm::Module&) + 54
11 swift 0x0000000104a88d75 llvm::legacy::FunctionPassManagerImpl::doFinalization(llvm::Module&) + 85
12 swift 0x00000001011386e8 swift::performLLVMOptimizations(swift::IRGenOptions&, llvm::Module*, llvm::TargetMachine*) + 1176
13 swift 0x00000001011393a6 swift::performLLVM(swift::IRGenOptions&, swift::DiagnosticEngine*, llvm::sys::SmartMutex<false>*, llvm::GlobalVariable*, llvm::Module*, llvm::TargetMachine*, swift::version::Version const&, llvm::StringRef, swift::UnifiedStatsReporter*) + 1910
14 swift 0x0000000100fee534 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 16004
15 swift 0x0000000100fe9948 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3000
16 swift 0x0000000100f9b782 main + 690
17 libdyld.dylib 0x00007fff742e8ed9 start + 1
error: Abort trap: 6