This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SGLMath 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/SwiftGL/Math.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftGL/Math
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8bdd2e5 Merge pull request #4 from ctreffs/master
Cloned https://github.com/SwiftGL/Math.git
Revision (git rev-parse @):
8bdd2e542f28828d0c224c1ea8e046c6f652ec40
SUCCESS checkout https://github.com/SwiftGL/Math.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/SwiftGL/Math.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/7] Write sources
[2/7] Write swizgen-entitlement.plist
[3/7] Write swift-version-6F35C1178C84523A.txt
error: compile command failed due to signal 6 (use -v to see invocation)
Assertion failed: (Index < Length && "Invalid index!"), function operator[], file ArrayRef.h, line 257.
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 /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Complex.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Internal.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Matrix2x2.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Matrix2x3.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Matrix2x4.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Matrix3x2.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Matrix3x3.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Matrix3x4.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Matrix4x2.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Matrix4x3.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Matrix4x4.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Operators.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Protocols.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Quaternion.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Swizzle.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Vector2.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Vector2b.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Vector3.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Vector3b.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Vector4.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Vector4b.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/glm.swift /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/glsl.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SGLMath.build/Matrix4x3.d -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SGLMath.build/Matrix4x3.swiftdeps -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SGLMath.build/Matrix4x4.d -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SGLMath.build/Matrix4x4.swiftdeps -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 -swift-version 4 -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 -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 SGLMath -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/SGLMath.build/Matrix4x3.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SGLMath.build/Matrix4x4.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 4.1.50
3.	While evaluating request TypeCheckSourceFileRequest(source_file "/Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Matrix4x3.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(SGLMath.(file).Matrix4x3.*@/Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Matrix4x3.swift:290:24)
5.	While type-checking statement at [/Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Matrix4x3.swift:290:72 - line:304:5] RangeText="{
        var x: T = v.x * m.x.x
            x = x + v.y * m.x.y
            x = x + v.z * m.x.z
        var y: T = v.x * m.y.x
            y = y + v.y * m.y.y
            y = y + v.z * m.y.z
        var z: T = v.x * m.z.x
            z = z + v.y * m.z.y
            z = z + v.z * m.z.z
        var w: T = v.x * m.w.x
            w = w + v.y * m.w.y
            w = w + v.z * m.w.z
        return Vector4<T>(x, y, z, w)
    "
6.	While type-checking declaration 0x12a941458 (at /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Matrix4x3.swift:291:9)
7.	While type-checking expression at [/Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Matrix4x3.swift:291:20 - line:291:30] RangeText="v.x * m.x."
8.	While type-checking-target starting at /Users/admin/builder/spi-builder-workspace/Sources/SGLMath/Matrix4x3.swift:291:20
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           0x000000010994fbf0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x000000010994e3bc llvm::sys::RunSignalHandlers() + 112
2  swift-frontend           0x0000000109950238 SignalHandler(int) + 304
3  libsystem_platform.dylib 0x0000000184e95a24 _sigtramp + 56
4  libsystem_pthread.dylib  0x0000000184e65cc0 pthread_kill + 288
5  libsystem_c.dylib        0x0000000184d71a40 abort + 180
6  libsystem_c.dylib        0x0000000184d70d30 err + 0
7  swift-frontend           0x0000000109d31d68 tryOptimizeGenericDisjunction(swift::DeclContext*, llvm::ArrayRef<swift::constraints::Constraint*>)::$_24::operator()(swift::ValueDecl*) const (.cold.1) + 0
8  swift-frontend           0x000000010557e55c swift::constraints::DisjunctionChoiceProducer::partitionGenericOperators(unsigned int*, unsigned int*)::$_13::operator()(llvm::SmallVectorImpl<unsigned int>&) const::'lambda'(unsigned int, unsigned int)::operator()(unsigned int, unsigned int) const + 120
9  swift-frontend           0x000000010557df5c void std::__1::__introsort<std::__1::_ClassicAlgPolicy, swift::constraints::DisjunctionChoiceProducer::partitionGenericOperators(unsigned int*, unsigned int*)::$_13::operator()(llvm::SmallVectorImpl<unsigned int>&) const::'lambda'(unsigned int, unsigned int)&, unsigned int*>(unsigned int*, unsigned int*, swift::constraints::DisjunctionChoiceProducer::partitionGenericOperators(unsigned int*, unsigned int*)::$_13::operator()(llvm::SmallVectorImpl<unsigned int>&) const::'lambda'(unsigned int, unsigned int)&, std::__1::iterator_traits<unsigned int*>::difference_type) + 308
10 swift-frontend           0x000000010557a914 swift::constraints::DisjunctionChoiceProducer::partitionGenericOperators(unsigned int*, unsigned int*) + 1236
11 swift-frontend           0x000000010558edcc swift::constraints::DisjunctionChoiceProducer::operator()() + 260
12 swift-frontend           0x000000010558b708 swift::constraints::BindingStep<swift::constraints::DisjunctionChoiceProducer>::take(bool) + 292
13 swift-frontend           0x0000000105576ea0 swift::constraints::ConstraintSystem::solveImpl(llvm::SmallVectorImpl<swift::constraints::Solution>&) + 516
14 swift-frontend           0x00000001055791b4 swift::constraints::ConstraintSystem::solve(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 76
15 swift-frontend           0x0000000105578b84 swift::constraints::ConstraintSystem::solveImpl(swift::constraints::SyntacticElementTarget&, swift::FreeTypeVariableBinding) + 492
16 swift-frontend           0x00000001055783c8 swift::constraints::ConstraintSystem::solve(swift::constraints::SyntacticElementTarget&, swift::FreeTypeVariableBinding) + 160
17 swift-frontend           0x0000000105710788 swift::TypeChecker::typeCheckTarget(swift::constraints::SyntacticElementTarget&, swift::optionset::OptionSet<swift::TypeCheckExprFlags, unsigned int>) + 312
18 swift-frontend           0x00000001057105f8 swift::TypeChecker::typeCheckExpression(swift::constraints::SyntacticElementTarget&, swift::optionset::OptionSet<swift::TypeCheckExprFlags, unsigned int>) + 184
19 swift-frontend           0x00000001057118b0 swift::TypeChecker::typeCheckBinding(swift::Pattern*&, swift::Expr*&, swift::DeclContext*, swift::Type, swift::PatternBindingDecl*, unsigned int, swift::optionset::OptionSet<swift::TypeCheckExprFlags, unsigned int>) + 120
20 swift-frontend           0x0000000105711ae4 swift::TypeChecker::typeCheckPatternBinding(swift::PatternBindingDecl*, unsigned int, swift::Type, swift::optionset::OptionSet<swift::TypeCheckExprFlags, unsigned int>) + 248
21 swift-frontend           0x0000000105759aa0 (anonymous namespace)::DeclChecker::visit(swift::Decl*) + 1592
22 swift-frontend           0x0000000105759454 swift::TypeChecker::typeCheckDecl(swift::Decl*) + 136
23 swift-frontend           0x00000001057e3b78 swift::ASTVisitor<(anonymous namespace)::StmtChecker, void, swift::Stmt*, void, void, void, void>::visit(swift::Stmt*) + 160
24 swift-frontend           0x00000001057e2198 bool (anonymous namespace)::StmtChecker::typeCheckStmt<swift::BraceStmt>(swift::BraceStmt*&) + 136
25 swift-frontend           0x00000001057e18ec (anonymous namespace)::StmtChecker::typeCheckBody(swift::BraceStmt*&) + 32
26 swift-frontend           0x00000001057e1654 swift::TypeCheckFunctionBodyRequest::evaluate(swift::Evaluator&, swift::AbstractFunctionDecl*) const + 1356
27 swift-frontend           0x0000000105c274f8 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'()) + 240
28 swift-frontend           0x0000000105b94b2c swift::AbstractFunctionDecl::getTypecheckedBody() const + 120
29 swift-frontend           0x0000000105ccbd28 swift::SourceFile::typeCheckDelayedFunctions() + 104
30 swift-frontend           0x0000000105822250 swift::TypeCheckSourceFileRequest::evaluate(swift::Evaluator&, swift::SourceFile*) const + 256
31 swift-frontend           0x0000000105823da8 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'()) + 232
32 swift-frontend           0x0000000105822128 swift::performTypeChecking(swift::SourceFile&) + 84
33 swift-frontend           0x000000010470d844 bool llvm::function_ref<bool (swift::SourceFile&)>::callback_fn<swift::CompilerInstance::performSema()::$_7>(long, swift::SourceFile&) + 16
34 swift-frontend           0x0000000104707284 swift::CompilerInstance::forEachFileToTypeCheck(llvm::function_ref<bool (swift::SourceFile&)>) + 76
35 swift-frontend           0x0000000104707218 swift::CompilerInstance::performSema() + 76
36 swift-frontend           0x00000001044da1e4 withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) + 60
37 swift-frontend           0x00000001044cb590 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 708
38 swift-frontend           0x00000001044ca4fc swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2388
39 swift-frontend           0x00000001042e43b0 swift::mainEntry(int, char const**) + 3096
40 dyld                     0x0000000184ae50e0 start + 2360
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.