Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<unknown>:0: error: fatal error encountered while reading from module 'OrderedCollections'; please file a bug report with your project and the crash log
<unknown>:0: note: module 'OrderedCollections' full misc version is '5.3.2(5.3.2)/Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)'
*** DESERIALIZATION FAILURE (please include this section in any bug report) ***
result not found
Cross-reference to module 'OrderedCollections'
... OrderedSet
... in an extension in module 'OrderedCollections'
... Element
Stack dump:
0. Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -merge-modules -emit-module /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/HashTable/_HashTable+Bucket~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/HashTable/_HashTable+BucketIterator~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/HashTable/_HashTable+Constants~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/HashTable/_HashTable+CustomStringConvertible~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/HashTable/_HashTable+Testing~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/HashTable/_HashTable+UnsafeHandle~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/HashTable/_HashTable~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/HashTable/_Hashtable+Header~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary+Codable~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary+CustomDebugStringConvertible~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary+CustomReflectable~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary+CustomStringConvertible~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary+Elements+SubSequence~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary+Elements~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary+Equatable~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary+ExpressibleByDictionaryLiteral~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary+Hashable~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary+Initializers~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary+Invariants~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary+Partial MutableCollection~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary+Partial RangeReplaceableCollection~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary+Sequence~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary+Values~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedDictionary/OrderedDictionary~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+Codable~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+CustomDebugStringConvertible~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+CustomReflectable~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+CustomStringConvertible~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+Equatable~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+ExpressibleByArrayLiteral~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+Hashable~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+Initializers~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+Insertions~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+Invariants~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+Partial MutableCollection~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+Partial RangeReplaceableCollection~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+Partial SetAlgebra+Basics~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+Partial SetAlgebra+Operations~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+Partial SetAlgebra+Predicates~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+RandomAccessCollection~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+ReserveCapacity~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+Sequence~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+SubSequence~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+Testing~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+UnorderedView~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet+UnstableInternals~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedSet/OrderedSet~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/Utilities/RandomAccessCollection+Offsets~partial.swiftmodule /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/Utilities/_UnsafeBitset~partial.swiftmodule -parse-as-library -sil-merge-partial-modules -disable-diagnostic-passes -disable-sil-perf-optzns -target x86_64-apple-macosx10.10 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -I /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -color-diagnostics -enable-testing -g -module-cache-path /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -enable-anonymous-context-mangled-names -target-sdk-version 11.1 -emit-module-doc-path /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.swiftdoc -emit-module-source-info-path /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.swiftsourceinfo -emit-objc-header-path /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.build/OrderedCollections-Swift.h -module-name OrderedCollections -o /Users/heckj/src/swift-collections/.build/x86_64-apple-macosx/debug/OrderedCollections.swiftmodule
1. Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
2. While deserializing SIL function "$s18OrderedCollections0A3SetV12intersectionyACyxGAEF"
3. While reading from 'OrderedCollections'
4. While finishing conformance for protocol conformance to 'Collection' (in module 'Swift') for type 'OrderedSet<Element>'
0 swift 0x0000000109aa7615 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1 swift 0x0000000109aa6615 llvm::sys::RunSignalHandlers() + 85
2 swift 0x0000000109aa7bcf SignalHandler(int) + 111
3 libsystem_platform.dylib 0x00007fff203bdd7d _sigtramp + 29
4 libsystem_platform.dylib 0x00007f820e02c748 _sigtramp + 18446743536532908520
5 libsystem_c.dylib 0x00007fff202cc720 abort + 120
6 swift 0x000000010607d7dc swift::ModuleFile::fatal(llvm::Error) + 2348
7 swift 0x000000010609bc22 swift::ModuleFile::finishNormalConformance(swift::NormalProtocolConformance*, unsigned long long) + 6578
8 swift 0x00000001069413f4 swift::NormalProtocolConformance::getTypeWitnessAndDecl(swift::AssociatedTypeDecl*, swift::SubstOptions) const + 68
9 swift 0x0000000106940e36 swift::ProtocolConformance::getTypeWitnessAndDecl(swift::AssociatedTypeDecl*, swift::SubstOptions) const + 294
10 swift 0x0000000106941060 swift::ProtocolConformance::getTypeWitnessAndDecl(swift::AssociatedTypeDecl*, swift::SubstOptions) const + 848
11 swift 0x000000010695e346 getMemberForBaseType(llvm::function_ref<swift::ProtocolConformanceRef (swift::CanType, swift::Type, swift::ProtocolDecl*)>, swift::Type, swift::Type, swift::AssociatedTypeDecl*, swift::Identifier, swift::SubstOptions) + 1238
12 swift 0x0000000106967011 llvm::Optional<swift::Type> llvm::function_ref<llvm::Optional<swift::Type> (swift::TypeBase*)>::callback_fn<substType(swift::Type, llvm::function_ref<swift::Type (swift::SubstitutableType*)>, llvm::function_ref<swift::ProtocolConformanceRef (swift::CanType, swift::Type, swift::ProtocolDecl*)>, swift::SubstOptions)::$_26>(long, swift::TypeBase*) + 2241
13 swift 0x0000000106960eb9 swift::Type::transformRec(llvm::function_ref<llvm::Optional<swift::Type> (swift::TypeBase*)>) const + 57
14 swift 0x000000010695e764 substType(swift::Type, llvm::function_ref<swift::Type (swift::SubstitutableType*)>, llvm::function_ref<swift::ProtocolConformanceRef (swift::CanType, swift::Type, swift::ProtocolDecl*)>, swift::SubstOptions) + 308
15 swift 0x000000010620cea7 (anonymous namespace)::LowerType::visitAnyStructType(swift::CanType, swift::Lowering::AbstractionPattern, swift::StructDecl*) + 631
16 swift 0x00000001062026a7 swift::Lowering::TypeConverter::getTypeLowering(swift::Lowering::AbstractionPattern, swift::Type, swift::TypeExpansionContext) + 1015
17 swift 0x0000000106181778 swift::SILFunction::getLoweredType(swift::Type) const + 216
18 swift 0x00000001060bf766 swift::SILDeserializer::readSILInstruction(swift::SILFunction*, swift::SILBasicBlock*, swift::SILBuilder&, unsigned int, llvm::SmallVectorImpl<unsigned long long>&) + 50294
19 swift 0x00000001060b1619 swift::SILDeserializer::readSILFunctionChecked(llvm::PointerEmbeddedInt<unsigned int, 31>, swift::SILFunction*, llvm::StringRef, bool, bool) + 7497
20 swift 0x00000001060c71c9 swift::SILDeserializer::getAllSILFunctions() + 1865
21 swift 0x0000000106142d23 swift::SILDeserializer::getAll(bool) + 51
22 swift 0x0000000105747cc0 swift::CompilerInstance::performSILProcessing(swift::SILModule*) + 288
23 swift 0x000000010561ab08 performCompileStepsPostSILGen(swift::CompilerInstance&, swift::CompilerInvocation const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule> >, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 1288
24 swift 0x000000010560af4e swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 21134
25 swift 0x000000010558bc27 main + 1255
26 libdyld.dylib 0x00007fff20394621 start + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment