While trying to compile a Swift 5 project, I'm running into an issue with Xcode 10.2.1 that causes it to crash with the following segmentation fault:
1. While emitting IR SIL function "@$s4Test12SQLStatementO16ColumnDefinitionO4hash4intoys6HasherVz_tF".
for 'hash(into:)' (in module 'Test')
0 swift 0x000000010f217ee3 PrintStackTraceSignalHandler(void*) + 51
1 swift 0x000000010f2176bc SignalHandler(int) + 348
2 libsystem_platform.dylib 0x00007fff647aab5d _sigtramp + 29
3 libsystem_platform.dylib 0x0000000000000003 _sigtramp + 2609206467
4 swift 0x000000010b0c5b22 swift::irgen::emitArchetypeWitnessTableRef(swift::irgen::IRGenFunction&, swift::CanTypeWrapper<swift::ArchetypeType>, swift::ProtocolDecl*) + 402
5 swift 0x000000010b20ce9c swift::irgen::emitWitnessTableRef(swift::irgen::IRGenFunction&, swift::CanType, llvm::Value**, swift::ProtocolConformanceRef) + 204
6 swift 0x000000010b2153f0 swift::irgen::emitGenericRequirementFromSubstitutions(swift::irgen::IRGenFunction&, swift::CanGenericSignature, swift::ModuleDecl&, swift::irgen::GenericRequirement, swift::SubstitutionMap) + 256
7 swift 0x000000010b215254 void llvm::function_ref<void (swift::irgen::GenericRequirement)>::callback_fn<(anonymous namespace)::EmitPolymorphicArguments::emit(swift::SubstitutionMap, swift::irgen::WitnessMetadata*, swift::irgen::Explosion&)::$_22>(long, swift::irgen::GenericRequirement) + 36
8 swift 0x000000010b212b72 void llvm::function_ref<void (swift::irgen::GenericRequirement)>::callback_fn<(anonymous namespace)::PolymorphicConvention::enumerateUnfulfilledRequirements(llvm::function_ref<void (swift::irgen::GenericRequirement)> const&)::$_12>(long, swift::irgen::GenericRequirement) + 162
9 swift 0x000000010b212aaf (anonymous namespace)::PolymorphicConvention::enumerateUnfulfilledRequirements(llvm::function_ref<void (swift::irgen::GenericRequirement)> const&) + 319
10 swift 0x000000010b214fd5 swift::irgen::emitPolymorphicArguments(swift::irgen::IRGenFunction&, swift::CanTypeWrapper<swift::SILFunctionType>, swift::SubstitutionMap, swift::irgen::WitnessMetadata*, swift::irgen::Explosion&) + 501
11 swift 0x000000010b29a6b6 (anonymous namespace)::IRGenSILFunction::visitFullApplySite(swift::FullApplySite) + 2022
12 swift 0x000000010b27aa4a swift::irgen::IRGenModule::emitSILFunction(swift::SILFunction*) + 9898
13 swift 0x000000010b1385c0 swift::irgen::IRGenerator::emitGlobalTopLevel(bool) + 1232
14 swift 0x000000010b25a414 performIRGeneration(swift::IRGenOptions&, swift::ModuleDecl*, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule> >, llvm::StringRef, swift::PrimarySpecificPaths const&, llvm::LLVMContext&, swift::SourceFile*, llvm::GlobalVariable**) + 1076
15 swift 0x000000010b07c319 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 49433
16 swift 0x000000010b06c92e swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 6862
17 swift 0x000000010b00a9ce main + 1246
18 libdyld.dylib 0x00007fff645bf3d5 start + 1
19 libdyld.dylib 0x000000000000004f start + 2611219579
error: Segmentation fault: 11
If this is indeed a bug, where should I report it and what information should I provide for troubleshooting?