Skip to content

[New Output] Swift compile fail stack dump #409

@AgapovOne

Description

@AgapovOne

What's the uncaptured output?

/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/agp1/Developer/Rugby/Example/LocalPods/LocalPod/Sources/Bundle+Resources.swift /Users/agp1/Developer/Rugby/Example/LocalPods/LocalPod/Sources/DummySource.swift /Users/agp1/Developer/Rugby/Example/LocalPods/LocalPod/Sources/TheView.swift -supplementary-output-file-map /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/supplementaryOutputs-5 -target arm64-apple-ios16.0-simulator -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.4.sdk -I /Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/LocalPod-framework -F /Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/LocalPod-framework -F /Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/Alamofire-framework -F /Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/LocalLibraryPod-framework -F /Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/Moya-framework -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -import-underlying-module -warnings-as-errors -warnings-as-errors -swift-version 5 -enforce-exclusivity\=checked -Onone -D DEBUG -D COCOAPODS -serialize-debugging-options -const-gather-protocols-file /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/LocalPod-framework_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /var/folders/8n/h4qvsvq569n0npb_y9fpxblh0000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/agp1/Developer/Rugby/Example/Pods -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/agp1/Developer/Rugby/Example/Pods -Xcc -ivfsstatcache -Xcc /var/folders/8n/h4qvsvq569n0npb_y9fpxblh0000gn/C/com.apple.DeveloperTools/16.3-16E140/Xcode/SDKStatCaches.noindex/iphonesimulator18.4-22E235-43e5fd89280df366c77438703b8fa853.sdkstatcache -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/LocalPod-generated-files.hmap -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/LocalPod-own-target-headers.hmap -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/LocalPod-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/Pods-bfdfe7dc352907fc980b868725387e98-VFS-iphonesimulator/all-product-headers.yaml -Xcc -iquote -Xcc /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/LocalPod-project-headers.hmap -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/LocalPod-framework/include -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/DerivedSources-normal/arm64 -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/DerivedSources/arm64 -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/DerivedSources -Xcc -DPOD_CONFIGURATION_DEBUG\=1 -Xcc -DDEBUG\=1 -Xcc -DCOCOAPODS\=1 -Xcc -ivfsoverlay -Xcc /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/unextended-module-overlay.yaml -module-name LocalPod -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.4 -target-sdk-name iphonesimulator18.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -num-threads 14 -o /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/Bundle+Resources.o -o /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/DummySource.o -o /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/TheView.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/Bundle+Resources.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/DummySource.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/TheView.o
Command SwiftCompile failed with a nonzero exit code
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/agp1/Developer/Rugby/Example/LocalPods/LocalPod/Sources/Bundle+Resources.swift /Users/agp1/Developer/Rugby/Example/LocalPods/LocalPod/Sources/DummySource.swift /Users/agp1/Developer/Rugby/Example/LocalPods/LocalPod/Sources/TheView.swift -supplementary-output-file-map /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/supplementaryOutputs-5 -target arm64-apple-ios16.0-simulator -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.4.sdk -I /Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/LocalPod-framework -F /Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/LocalPod-framework -F /Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/Alamofire-framework -F /Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/LocalLibraryPod-framework -F /Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/Moya-framework -no-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -import-underlying-module -warnings-as-errors -warnings-as-errors -swift-version 5 -enforce-exclusivity=checked -Onone -D DEBUG -D COCOAPODS -serialize-debugging-options -const-gather-protocols-file /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/LocalPod-framework_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /var/folders/8n/h4qvsvq569n0npb_y9fpxblh0000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/agp1/Developer/Rugby/Example/Pods -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/agp1/Developer/Rugby/Example/Pods -Xcc -ivfsstatcache -Xcc /var/folders/8n/h4qvsvq569n0npb_y9fpxblh0000gn/C/com.apple.DeveloperTools/16.3-16E140/Xcode/SDKStatCaches.noindex/iphonesimulator18.4-22E235-43e5fd89280df366c77438703b8fa853.sdkstatcache -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/LocalPod-generated-files.hmap -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/LocalPod-own-target-headers.hmap -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/LocalPod-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/Pods-bfdfe7dc352907fc980b868725387e98-VFS-iphonesimulator/all-product-headers.yaml -Xcc -iquote -Xcc /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/LocalPod-project-headers.hmap -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/LocalPod-framework/include -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/DerivedSources-normal/arm64 -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/DerivedSources/arm64 -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/DerivedSources -Xcc -DPOD_CONFIGURATION_DEBUG=1 -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -Xcc -ivfsoverlay -Xcc /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/unextended-module-overlay.yaml -module-name LocalPod -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.4 -target-sdk-name iphonesimulator18.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -num-threads 14 -o /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/Bundle+Resources.o -o /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/DummySource.o -o /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/TheView.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/Bundle+Resources.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/DummySource.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/TheView.o
1.	Apple Swift version 6.1 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)
2.	Compiling with effective version 5.10
3.	While evaluating request TypeCheckSourceFileRequest(source_file "/Users/agp1/Developer/Rugby/Example/LocalPods/LocalPod/Sources/TheView.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(LocalPod.(file).SomeSizeReaderView._@/Users/agp1/Developer/Rugby/Example/LocalPods/LocalPod/Sources/TheView.swift:8:32)
5.	While evaluating request QualifiedLookupRequest(0x118ac5f18 AbstractFunctionDecl name=_ : (SomeSizeReaderView) -> () -> some View, {SwiftUICore.(file).HStack}, 'sizeReader', { NL_ProtocolMembers, NL_IgnoreMissingImports })
6.	While evaluating request DirectLookupRequest(directly looking up 'sizeReader' on SwiftUICore.(file).View with options {  })
7.	While loading members for extension of View (in module 'LocalLibraryPod')
8.	While deserializing 'sizeReader' (FuncDecl @ 168090) in 'LocalLibraryPod'
9.	    ...decl is named 'sizeReader(to:)'
10.	While deserializing '_' (OpaqueTypeDecl @ 166555) in 'LocalLibraryPod'
11.	While cross-referencing conformance for 'CGSize' (at /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCGTypes.h:58:8)
12.	While ... to 'Sendable' (in module 'Swift')
13.	If you're seeing a crash here, check that your SDK and dependencies are at least as new as the versions used to build module 'LocalLibraryPod', builder version '6.1(5.10)/Apple Swift version 6.1 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)', built from source against SDK 22E235, non-resilient, loaded from '/Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/LocalLibraryPod-framework/LocalLibraryPod.framework/Modules/LocalLibraryPod.swiftmodule/arm64-apple-ios-simulator.swiftmodule'
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend           0x00000001072f2c28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x00000001072f0a60 llvm::sys::RunSignalHandlers() + 112
2  swift-frontend           0x00000001072f3264 SignalHandler(int) + 360
3  libsystem_platform.dylib 0x0000000192e62de4 _sigtramp + 56
4  libsystem_pthread.dylib  0x0000000192e2bf70 pthread_kill + 288
5  libsystem_c.dylib        0x0000000192d38908 abort + 128
6  swift-frontend           0x0000000101896e90 swift::ProtocolConformanceDeserializer::readNormalProtocolConformanceXRef(llvm::ArrayRef<unsigned long long>) + 952
7  swift-frontend           0x00000001018986c0 swift::ModuleFile::getConformanceChecked(llvm::PointerEmbeddedInt<unsigned int, 31>) + 1932
8  swift-frontend           0x0000000101897430 swift::ModuleFile::getSubstitutionMapChecked(llvm::PointerEmbeddedInt<unsigned int, 31>) + 908
9  swift-frontend           0x00000001018b5a58 swift::serialization::decls_block::detail::TypeRecordDispatch<(swift::serialization::decls_block::detail::TypeRecords)12>::deserialize(swift::ModuleFile&, llvm::SmallVectorImpl<unsigned long long>&, llvm::StringRef) + 176
10 swift-frontend           0x0000000101895844 swift::ModuleFile::getTypeChecked(llvm::PointerEmbeddedInt<unsigned int, 31>) + 1304
11 swift-frontend           0x00000001018974a8 swift::ModuleFile::getSubstitutionMapChecked(llvm::PointerEmbeddedInt<unsigned int, 31>) + 1028
12 swift-frontend           0x00000001018acad8 swift::DeclDeserializer::deserializeOpaqueType(llvm::ArrayRef<unsigned long long>, llvm::StringRef) + 608
13 swift-frontend           0x0000000101894218 swift::ModuleFile::getDeclChecked(llvm::PointerEmbeddedInt<unsigned int, 31>, llvm::function_ref<bool (swift::DeclAttributes)>) + 2748
14 swift-frontend           0x00000001018b59e4 swift::serialization::decls_block::detail::TypeRecordDispatch<(swift::serialization::decls_block::detail::TypeRecords)12>::deserialize(swift::ModuleFile&, llvm::SmallVectorImpl<unsigned long long>&, llvm::StringRef) + 60
15 swift-frontend           0x0000000101895844 swift::ModuleFile::getTypeChecked(llvm::PointerEmbeddedInt<unsigned int, 31>) + 1304
16 swift-frontend           0x00000001018c3ff4 swift::DeclDeserializer::deserializeAnyFunc(llvm::ArrayRef<unsigned long long>, llvm::StringRef, bool) + 2192
17 swift-frontend           0x0000000101894354 swift::ModuleFile::getDeclChecked(llvm::PointerEmbeddedInt<unsigned int, 31>, llvm::function_ref<bool (swift::DeclAttributes)>) + 3064
18 swift-frontend           0x00000001018f60dc swift::ModuleFile::loadNamedMembers(swift::IterableDeclContext const*, swift::DeclBaseName, unsigned long long) + 1644
19 swift-frontend           0x0000000102b36298 populateLookupTableEntryFromLazyIDCLoader(swift::ASTContext&, swift::MemberLookupTable&, swift::DeclBaseName, swift::IterableDeclContext*) + 108
20 swift-frontend           0x0000000102b340b0 swift::DirectLookupRequest::evaluate(swift::Evaluator&, swift::DirectLookupDescriptor) const + 588
21 swift-frontend           0x0000000102b521fc swift::SimpleRequest<swift::DirectLookupRequest, llvm::TinyPtrVector<swift::ValueDecl*> (swift::DirectLookupDescriptor), (swift::RequestFlags)33>::evaluateRequest(swift::DirectLookupRequest const&, swift::Evaluator&) + 36
22 swift-frontend           0x0000000102b4586c swift::DirectLookupRequest::OutputType swift::Evaluator::getResultUncached<swift::DirectLookupRequest, swift::DirectLookupRequest::OutputType swift::evaluateOrDefault<swift::DirectLookupRequest>(swift::Evaluator&, swift::DirectLookupRequest, swift::DirectLookupRequest::OutputType)::'lambda'()>(swift::DirectLookupRequest const&, swift::DirectLookupRequest::OutputType swift::evaluateOrDefault<swift::DirectLookupRequest>(swift::Evaluator&, swift::DirectLookupRequest, swift::DirectLookupRequest::OutputType)::'lambda'()) + 548
23 swift-frontend           0x0000000102b33e20 swift::DirectLookupRequest::OutputType swift::evaluateOrDefault<swift::DirectLookupRequest>(swift::Evaluator&, swift::DirectLookupRequest, swift::DirectLookupRequest::OutputType) + 196
24 swift-frontend           0x0000000102b33d18 swift::NominalTypeDecl::lookupDirect(swift::DeclName, swift::SourceLoc, swift::optionset::OptionSet<swift::NominalTypeDecl::LookupDirectFlags, unsigned int>) + 260
25 swift-frontend           0x0000000102b39290 swift::QualifiedLookupRequest::evaluate(swift::Evaluator&, swift::DeclContext const*, llvm::SmallVector<swift::NominalTypeDecl*, 4u>, swift::DeclNameRef, swift::NLOptions) const + 1328
26 swift-frontend           0x0000000102b523e4 swift::SimpleRequest<swift::QualifiedLookupRequest, llvm::SmallVector<swift::ValueDecl*, 4u> (swift::DeclContext const*, llvm::SmallVector<swift::NominalTypeDecl*, 4u>, swift::DeclNameRef, swift::NLOptions), (swift::RequestFlags)1>::evaluateRequest(swift::QualifiedLookupRequest const&, swift::Evaluator&) + 192
27 swift-frontend           0x0000000102b38958 swift::DeclContext::lookupQualified(llvm::ArrayRef<swift::NominalTypeDecl*>, swift::DeclNameRef, swift::SourceLoc, swift::NLOptions, llvm::SmallVectorImpl<swift::ValueDecl*>&) const + 1088
28 swift-frontend           0x0000000102b38008 swift::DeclContext::lookupQualified(swift::Type, swift::DeclNameRef, swift::SourceLoc, swift::NLOptions, llvm::SmallVectorImpl<swift::ValueDecl*>&) const + 464
29 swift-frontend           0x00000001025fd3d4 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclNameRef, swift::SourceLoc, swift::optionset::OptionSet<swift::NameLookupFlags, unsigned int>) + 324
30 swift-frontend           0x00000001023e99b8 swift::constraints::ConstraintSystem::lookupMember(swift::Type, swift::DeclNameRef, swift::SourceLoc) + 372
31 swift-frontend           0x000000010230aee4 swift::constraints::ConstraintSystem::performMemberLookup(swift::constraints::ConstraintKind, swift::DeclNameRef, swift::Type, swift::FunctionRefKind, swift::constraints::ConstraintLocator*, bool) + 3520
32 swift-frontend           0x000000010230e81c swift::constraints::ConstraintSystem::simplifyMemberConstraint(swift::constraints::ConstraintKind, swift::Type, swift::DeclNameRef, swift::Type, swift::DeclContext*, swift::FunctionRefKind, llvm::ArrayRef<swift::constraints::OverloadChoice>, swift::optionset::OptionSet<swift::constraints::ConstraintSystem::TypeMatchFlags, unsigned int>, swift::constraints::ConstraintLocatorBuilder) + 2996
33 swift-frontend           0x00000001022d6294 (anonymous namespace)::ConstraintGenerator::addMemberRefConstraints(swift::Expr*, swift::Expr*, swift::DeclNameRef, swift::FunctionRefKind, llvm::ArrayRef<swift::ValueDecl*>) + 760
34 swift-frontend           0x00000001022ccf44 (anonymous namespace)::ConstraintGenerator::visitUnresolvedDotExpr(swift::UnresolvedDotExpr*) + 584
35 swift-frontend           0x00000001022c76c8 (anonymous namespace)::ConstraintWalker::walkToExprPost(swift::Expr*) + 1584
36 swift-frontend           0x000000010290e854 (anonymous namespace)::Traversal::visitApplyExpr(swift::ApplyExpr*) + 116
37 swift-frontend           0x000000010290bdf0 (anonymous namespace)::Traversal::visit(swift::Expr*) + 84
38 swift-frontend           0x0000000102911c98 (anonymous namespace)::Traversal::visit(swift::ArgumentList*) + 260
39 swift-frontend           0x000000010290e8a4 (anonymous namespace)::Traversal::visitApplyExpr(swift::ApplyExpr*) + 196
40 swift-frontend           0x000000010290bdf0 (anonymous namespace)::Traversal::visit(swift::Expr*) + 84
41 swift-frontend           0x00000001022c114c swift::constraints::ConstraintSystem::generateConstraints(swift::Expr*, swift::DeclContext*) + 216
42 swift-frontend           0x00000001022c084c swift::constraints::ConstraintSystem::generateConstraints(swift::constraints::SyntacticElementTarget&, swift::FreeTypeVariableBinding) + 1812
43 swift-frontend           0x00000001022be1f4 (anonymous namespace)::SyntacticElementConstraintGenerator::visitDecl(swift::Decl*) + 1212
44 swift-frontend           0x00000001022b4434 swift::constraints::ConstraintSystem::simplifySyntacticElementConstraint(swift::ASTNode, swift::constraints::ContextualTypeInfo, bool, swift::optionset::OptionSet<swift::constraints::ConstraintSystem::TypeMatchFlags, unsigned int>, swift::constraints::ConstraintLocatorBuilder) + 888
45 swift-frontend           0x0000000102322d70 swift::constraints::ConstraintSystem::simplifyConstraint(swift::constraints::Constraint const&) + 740
46 swift-frontend           0x000000010233f0b4 swift::constraints::ConjunctionElement::attempt(swift::constraints::ConstraintSystem&) const + 332
47 swift-frontend           0x000000010234c52c swift::constraints::ConjunctionStep::attempt(swift::constraints::ConjunctionElement const&) + 424
48 swift-frontend           0x000000010234e2d4 swift::constraints::BindingStep<swift::constraints::ConjunctionElementProducer>::take(bool) + 976
49 swift-frontend           0x0000000102337de4 swift::constraints::ConstraintSystem::solveImpl(llvm::SmallVectorImpl<swift::constraints::Solution>&) + 624
50 swift-frontend           0x000000010233afd0 swift::constraints::ConstraintSystem::solve(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 60
51 swift-frontend           0x0000000102254edc swift::TypeChecker::applyResultBuilderBodyTransform(swift::FuncDecl*, swift::Type) + 2168
52 swift-frontend           0x00000001026485ec swift::TypeCheckFunctionBodyRequest::evaluate(swift::Evaluator&, swift::AbstractFunctionDecl*) const + 496
53 swift-frontend           0x0000000102a455ec swift::TypeCheckFunctionBodyRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()>(swift::TypeCheckFunctionBodyRequest const&, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()) + 640
54 swift-frontend           0x00000001029a81a8 swift::AbstractFunctionDecl::getTypecheckedBody() const + 160
55 swift-frontend           0x000000010269a7e0 swift::TypeCheckSourceFileRequest::evaluate(swift::Evaluator&, swift::SourceFile*) const + 912
56 swift-frontend           0x00000001026a0b18 swift::TypeCheckSourceFileRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckSourceFileRequest, swift::TypeCheckSourceFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckSourceFileRequest>(swift::Evaluator&, swift::TypeCheckSourceFileRequest, swift::TypeCheckSourceFileRequest::OutputType)::'lambda'()>(swift::TypeCheckSourceFileRequest const&, swift::TypeCheckSourceFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckSourceFileRequest>(swift::Evaluator&, swift::TypeCheckSourceFileRequest, swift::TypeCheckSourceFileRequest::OutputType)::'lambda'()) + 624
57 swift-frontend           0x000000010269a434 swift::performTypeChecking(swift::SourceFile&) + 308
58 swift-frontend           0x0000000101504060 swift::CompilerInstance::performSema() + 320
59 swift-frontend           0x0000000101147274 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 772
60 swift-frontend           0x0000000101145fd8 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3716
61 swift-frontend           0x00000001010ca0bc swift::mainEntry(int, char const**) + 5428
62 dyld                     0x0000000192aac274 start + 2840

Suggested Regex

No response

Suggested Output

Command SwiftCompile failed with a nonzero exit code
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/agp1/Developer/Rugby/Example/LocalPods/LocalPod/Sources/Bundle+Resources.swift /Users/agp1/Developer/Rugby/Example/LocalPods/LocalPod/Sources/DummySource.swift /Users/agp1/Developer/Rugby/Example/LocalPods/LocalPod/Sources/TheView.swift -supplementary-output-file-map /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/supplementaryOutputs-5 -target arm64-apple-ios16.0-simulator -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.4.sdk -I /Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/LocalPod-framework -F /Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/LocalPod-framework -F /Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/Alamofire-framework -F /Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/LocalLibraryPod-framework -F /Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/Moya-framework -no-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -import-underlying-module -warnings-as-errors -warnings-as-errors -swift-version 5 -enforce-exclusivity=checked -Onone -D DEBUG -D COCOAPODS -serialize-debugging-options -const-gather-protocols-file /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/LocalPod-framework_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /var/folders/8n/h4qvsvq569n0npb_y9fpxblh0000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/agp1/Developer/Rugby/Example/Pods -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/agp1/Developer/Rugby/Example/Pods -Xcc -ivfsstatcache -Xcc /var/folders/8n/h4qvsvq569n0npb_y9fpxblh0000gn/C/com.apple.DeveloperTools/16.3-16E140/Xcode/SDKStatCaches.noindex/iphonesimulator18.4-22E235-43e5fd89280df366c77438703b8fa853.sdkstatcache -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/LocalPod-generated-files.hmap -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/LocalPod-own-target-headers.hmap -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/LocalPod-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/Pods-bfdfe7dc352907fc980b868725387e98-VFS-iphonesimulator/all-product-headers.yaml -Xcc -iquote -Xcc /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/LocalPod-project-headers.hmap -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/LocalPod-framework/include -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/DerivedSources-normal/arm64 -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/DerivedSources/arm64 -Xcc -I/Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/DerivedSources -Xcc -DPOD_CONFIGURATION_DEBUG=1 -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -Xcc -ivfsoverlay -Xcc /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/unextended-module-overlay.yaml -module-name LocalPod -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.4 -target-sdk-name iphonesimulator18.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -num-threads 14 -o /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/Bundle+Resources.o -o /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/DummySource.o -o /Users/agp1/Developer/Rugby/Example/.rugby/build/Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/TheView.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/Bundle+Resources.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/DummySource.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/LocalPod-framework.build/Objects-normal/arm64/TheView.o
1.	Apple Swift version 6.1 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)
2.	Compiling with effective version 5.10
3.	While evaluating request TypeCheckSourceFileRequest(source_file "/Users/agp1/Developer/Rugby/Example/LocalPods/LocalPod/Sources/TheView.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(LocalPod.(file).SomeSizeReaderView._@/Users/agp1/Developer/Rugby/Example/LocalPods/LocalPod/Sources/TheView.swift:8:32)
5.	While evaluating request QualifiedLookupRequest(0x118ac5f18 AbstractFunctionDecl name=_ : (SomeSizeReaderView) -> () -> some View, {SwiftUICore.(file).HStack}, 'sizeReader', { NL_ProtocolMembers, NL_IgnoreMissingImports })
6.	While evaluating request DirectLookupRequest(directly looking up 'sizeReader' on SwiftUICore.(file).View with options {  })
7.	While loading members for extension of View (in module 'LocalLibraryPod')
8.	While deserializing 'sizeReader' (FuncDecl @ 168090) in 'LocalLibraryPod'
9.	    ...decl is named 'sizeReader(to:)'
10.	While deserializing '_' (OpaqueTypeDecl @ 166555) in 'LocalLibraryPod'
11.	While cross-referencing conformance for 'CGSize' (at /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCGTypes.h:58:8)
12.	While ... to 'Sendable' (in module 'Swift')
13.	If you're seeing a crash here, check that your SDK and dependencies are at least as new as the versions used to build module 'LocalLibraryPod', builder version '6.1(5.10)/Apple Swift version 6.1 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)', built from source against SDK 22E235, non-resilient, loaded from '/Users/agp1/Developer/Rugby/Example/.rugby/build/Debug-iphonesimulator/LocalLibraryPod-framework/LocalLibraryPod.framework/Modules/LocalLibraryPod.swiftmodule/arm64-apple-ios-simulator.swiftmodule'

Additional Context

This is Swift compile fail that doesn't display in xcbeautify, so we had to look into long rawbuild.
I reproduced it when tried to compile cocoapods with Rugby. It seems like the new way of displaying compiler failures.

Can be reproduced here:
swiftyfinch/Rugby#452

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions