Build Information
Failed to build SwiftGUI with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonaskolb/SwiftGUI.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yonaskolb/SwiftGUI
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b5ee2e1 updated min iOS to 14
Cloned https://github.com/yonaskolb/SwiftGUI.git
Revision (git rev-parse @):
b5ee2e1806029e557071044a37201f539138ad19
SUCCESS checkout https://github.com/yonaskolb/SwiftGUI.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/yonaskolb/SwiftGUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[2/4] Compiling CRuntime dummy.c
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/46] Compiling Runtime RelativePointer.swift
[6/46] Compiling Runtime RelativeVectorPointer.swift
[7/46] Compiling Runtime Union.swift
[8/46] Compiling Runtime Vector.swift
[9/50] Compiling Runtime PropertyInfo.swift
[10/50] Compiling Runtime TypeInfo.swift
[11/50] Compiling Runtime TypeInfoConvertible.swift
[12/50] Compiling Runtime Pointers.swift
[13/50] Compiling Runtime NominalMetadataType.swift
[14/50] Compiling Runtime ProtocolMetadata.swift
[15/50] Compiling Runtime StructMetadata.swift
[16/50] Compiling Runtime TupleMetadata.swift
[17/50] Compiling Runtime Case.swift
[18/50] Compiling Runtime Errors.swift
[19/50] Compiling Runtime FunctionInfo.swift
[20/50] Compiling Runtime Kind.swift
[21/50] Compiling Runtime StructTypeDescriptor.swift
[22/50] Compiling Runtime TargetTypeGenericContextDescriptorHeader.swift
[23/50] Compiling Runtime TupleMetadataLayout.swift
[24/50] Compiling Runtime TypeDescriptor.swift
[25/50] Compiling Runtime ValueWitnessTable.swift
error: compile command failed due to signal 6 (use -v to see invocation)
Assertion failed: ((i >= FTy->getNumParams() || FTy->getParamType(i) == Args[i]->getType()) && "Calling a function with a bad signature!"), function init, file Instructions.cpp, line 654.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Factory/DefaultValue.swift -primary-file /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Factory/Factory.swift -primary-file /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ClassHeader.swift -primary-file /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ClassMetadataLayout.swift -primary-file /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ClassTypeDescriptor.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/EnumMetadataLayout.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/EnumTypeDescriptor.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ExistentialContainter.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/FieldDescriptor.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/FunctionMetadataLayout.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/MetadataLayoutType.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ProtocolDescriptor.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ProtocolMetadataLayout.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ProtocolTypeContainer.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/StructMetadataLayout.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/StructTypeDescriptor.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/TargetTypeGenericContextDescriptorHeader.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/TupleMetadataLayout.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/TypeDescriptor.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ValueWitnessTable.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/ClassMetadata.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/EnumMetadata.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/FuntionMetadata.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/Metadata.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/MetadataType.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/NominalMetadataType.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/ProtocolMetadata.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/StructMetadata.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/TupleMetadata.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Models/Case.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Models/Errors.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Models/FunctionInfo.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Models/Kind.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Models/PropertyInfo.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Models/TypeInfo.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Models/TypeInfoConvertible.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Pointers/Pointers.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Pointers/RelativePointer.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Pointers/RelativeVectorPointer.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Pointers/Union.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Pointers/Vector.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Utilities/GettersSetters.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Utilities/Pointer+Extensions.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Utilities/RetainCounts.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Utilities/String+Extensions.swift -supplementary-output-file-map /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/TemporaryDirectory.gRlSQk/supplementaryOutputs-1 -target arm64-apple-macosx10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -strict-concurrency=complete -empty-abi-descriptor -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace -Xcc -fmodule-map-file=/Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/CRuntime/include/module.modulemap -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/CRuntime/include -Xcc -isysroot -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -Xcc -F -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xcc -fPIC -Xcc -g -module-name Runtime -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -target-sdk-version 14.4 -target-sdk-name macosx14.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Runtime.build/DefaultValue.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Runtime.build/Factory.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Runtime.build/ClassHeader.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Runtime.build/ClassMetadataLayout.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Runtime.build/ClassTypeDescriptor.swift.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/index/store -index-system-modules
1. Apple Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2. Compiling with effective version 5.10
3. While evaluating request IRGenRequest(IR Generation for file "/Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Factory/Factory.swift")
4. While emitting IR SIL function "@$s7Runtime13setProperties8typeInfo7pointer11constructoryAA04TypeE0V_SvypAA08PropertyE0VKcSgtKF".
for 'setProperties(typeInfo:pointer:constructor:)' (at /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Factory/Factory.swift:81:1)
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 0x0000000106697bf0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x00000001066963bc llvm::sys::RunSignalHandlers() + 112
2 swift-frontend 0x0000000106698238 SignalHandler(int) + 304
3 libsystem_platform.dylib 0x000000018cc9da24 _sigtramp + 56
4 libsystem_pthread.dylib 0x000000018cc6dcc0 pthread_kill + 288
5 libsystem_c.dylib 0x000000018cb79a40 abort + 180
6 libsystem_c.dylib 0x000000018cb78d30 err + 0
7 swift-frontend 0x0000000107912ec0 llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*>>, llvm::Twine const&) (.cold.3) + 0
8 swift-frontend 0x00000001063b9274 llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*>>, llvm::Twine const&) + 652
9 swift-frontend 0x00000001012b3010 llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*>>, llvm::Twine const&, llvm::Instruction*) + 820
10 swift-frontend 0x0000000101597d68 llvm::IRBuilderBase::CreateCall(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*>>, llvm::Twine const&, llvm::MDNode*) + 76
11 swift-frontend 0x0000000101597970 swift::irgen::IRBuilder::CreateCallOrInvoke(swift::irgen::FunctionPointer const&, llvm::ArrayRef<llvm::Value*>, llvm::BasicBlock*, llvm::BasicBlock*) + 392
12 swift-frontend 0x00000001015923c4 swift::irgen::IRBuilder::CreateCall(swift::irgen::FunctionPointer const&, llvm::ArrayRef<llvm::Value*>) + 64
13 swift-frontend 0x0000000101721250 swift::irgen::IRGenFunction::emitAllocObjectCall(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&) + 112
14 swift-frontend 0x000000010164d198 swift::irgen::emitFunctionPartialApplication(swift::irgen::IRGenFunction&, swift::SILFunction&, swift::irgen::FunctionPointer const&, llvm::Value*, swift::irgen::Explosion&, llvm::ArrayRef<swift::SILParameterInfo>, swift::SubstitutionMap, swift::CanTypeWrapper<swift::SILFunctionType>, swift::CanTypeWrapper<swift::SILFunctionType>, swift::CanTypeWrapper<swift::SILFunctionType>, swift::irgen::Explosion&, bool) + 2872
15 swift-frontend 0x000000010176517c (anonymous namespace)::IRGenSILFunction::visitSILBasicBlock(swift::SILBasicBlock*) + 73032
16 swift-frontend 0x0000000101752298 (anonymous namespace)::IRGenSILFunction::emitSILFunction() + 9220
17 swift-frontend 0x000000010174f900 swift::irgen::IRGenModule::emitSILFunction(swift::SILFunction*) + 1604
18 swift-frontend 0x00000001015f23e8 swift::irgen::IRGenerator::emitGlobalTopLevel(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>> const&) + 740
19 swift-frontend 0x0000000101701f0c swift::IRGenRequest::evaluate(swift::Evaluator&, swift::IRGenDescriptor) const + 2172
20 swift-frontend 0x000000010174edb0 swift::GeneratedModule swift::SimpleRequest<swift::IRGenRequest, swift::GeneratedModule (swift::IRGenDescriptor), (swift::RequestFlags)9>::callDerived<0ul>(swift::Evaluator&, std::__1::integer_sequence<unsigned long, 0ul>) const + 200
21 swift-frontend 0x000000010170a5c0 swift::IRGenRequest::OutputType swift::Evaluator::getResultUncached<swift::IRGenRequest, swift::IRGenRequest::OutputType swift::evaluateOrFatal<swift::IRGenRequest>(swift::Evaluator&, swift::IRGenRequest)::'lambda'()>(swift::IRGenRequest const&, swift::IRGenRequest::OutputType swift::evaluateOrFatal<swift::IRGenRequest>(swift::Evaluator&, swift::IRGenRequest)::'lambda'()) + 212
22 swift-frontend 0x0000000101703f70 swift::performIRGeneration(swift::FileUnit*, swift::IRGenOptions const&, swift::TBDGenOptions const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::StringRef, swift::PrimarySpecificPaths const&, llvm::StringRef, llvm::GlobalVariable**) + 208
23 swift-frontend 0x0000000101215824 generateIR(swift::IRGenOptions const&, swift::TBDGenOptions const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, swift::PrimarySpecificPaths const&, llvm::StringRef, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, llvm::GlobalVariable*&, llvm::ArrayRef<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>) + 156
24 swift-frontend 0x0000000101211ac4 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 1416
25 swift-frontend 0x0000000101210f2c swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 648
26 swift-frontend 0x0000000101222248 withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) + 160
27 swift-frontend 0x0000000101213590 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 708
28 swift-frontend 0x00000001012124fc swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2388
29 swift-frontend 0x000000010102c3b0 swift::mainEntry(int, char const**) + 3096
30 dyld 0x000000018c8ed0e0 start + 2360
Fetching https://github.com/wickwirew/Runtime
[1/1951] Fetching runtime
Fetched https://github.com/wickwirew/Runtime from cache (1.12s)
Computing version for https://github.com/wickwirew/Runtime
Computed https://github.com/wickwirew/Runtime at 2.2.4 (0.66s)
Creating working copy for https://github.com/wickwirew/Runtime
Working copy of https://github.com/wickwirew/Runtime resolved at 2.2.4
BUILD FAILURE 6.0 macosSpm