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 AppUpdater 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/mxcl/AppUpdater.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mxcl/AppUpdater
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 078432c participate in tea protocol
Cloned https://github.com/mxcl/AppUpdater.git
Revision (git rev-parse @):
078432c8e9e53edff6097ae8e916eee30769c941
SUCCESS checkout https://github.com/mxcl/AppUpdater.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/mxcl/AppUpdater.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/6] Write sources
[5/6] Write swift-version-6F35C1178C84523A.txt
[7/39] Compiling Version Version.swift
[8/39] Compiling Version Version+Range.swift
[9/39] Compiling Version Version+Comparable.swift
[10/39] Compiling PromiseKit race.swift
[11/40] Compiling PromiseKit Catchable.swift
[12/40] Compiling PromiseKit Combine.swift
[13/40] Emitting module PromiseKit
[14/40] Compiling PromiseKit Async.swift
[15/40] Compiling PromiseKit Box.swift
[16/40] Compiling PromiseKit after.swift
[17/40] Compiling PromiseKit firstly.swift
[18/40] Compiling PromiseKit Resolver.swift
[19/40] Compiling PromiseKit Thenable.swift
[20/40] Compiling PromiseKit hang.swift
[21/40] Compiling PromiseKit LogEvent.swift
[22/40] Compiling PromiseKit Promise.swift
[23/40] Compiling Path Path+ls.swift
[24/40] Compiling Path Path+StringConvertibles.swift
[25/41] Compiling PromiseKit Configuration.swift
[26/41] Compiling Path Path+CommonDirectories.swift
[27/41] Compiling Path Path+FileManager.swift
[28/41] Compiling PromiseKit CustomStringConvertible.swift
[29/41] Compiling PromiseKit Error.swift
[30/41] Compiling PromiseKit Guarantee.swift
[31/41] Compiling Path Path+Attributes.swift
[32/41] Compiling Path Path+Codable.swift
[33/41] Compiling Version Version+Codable.swift
[34/41] Compiling Version Version+Foundation.swift
[35/41] Emitting module Version
[36/41] Compiling Path Path.swift
[37/41] Compiling Path PathToBool.swift
[38/41] Compiling Path Extensions.swift
[39/41] Emitting module Path
[40/41] Compiling Path Pathish.swift
[41/41] Compiling PromiseKit when.swift
[42/47] Compiling PMKFoundation NSObject+Promise.swift
[43/47] Compiling PMKFoundation afterlife.swift
[44/47] Compiling PMKFoundation NSURLSession+Promise.swift
[45/47] Compiling PMKFoundation NSNotificationCenter+Promise.swift
[46/47] Compiling PMKFoundation Process+Promise.swift
[47/47] Emitting module PMKFoundation
[48/49] Emitting module AppUpdater
error: compile command failed due to signal 6 (use -v to see invocation)
Assertion failed: (component != components.end()), function operator(), file ConstraintGraph.cpp, line 893.
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/AppUpdater.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/AppUpdater.build/AppUpdater.d -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/AppUpdater.build/AppUpdater.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 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 -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 AppUpdater -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/AppUpdater.build/AppUpdater.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 TypeCheckSourceFileRequest(source_file "/Users/admin/builder/spi-builder-workspace/AppUpdater.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(AppUpdater.(file).Release.viableAsset(forRepo:)@/Users/admin/builder/spi-builder-workspace/AppUpdater.swift:144:10)
5.	While type-checking statement at [/Users/admin/builder/spi-builder-workspace/AppUpdater.swift:144:54 - line:158:5] RangeText="{
        return assets.first(where: { (asset) -> Bool in
            let prefix = "\(repo.lowercased())-\(tag_name)"
            let name = (asset.name as NSString).deletingPathExtension.lowercased()
            switch (name, asset.content_type) {
            case ("\(prefix).tar", .tar):
                return true
            case (prefix, _):
                return true
            default:
                return false
            }
        })
    "
6.	While type-checking statement at [/Users/admin/builder/spi-builder-workspace/AppUpdater.swift:145:9 - line:157:10] RangeText="return assets.first(where: { (asset) -> Bool in
            let prefix = "\(repo.lowercased())-\(tag_name)"
            let name = (asset.name as NSString).deletingPathExtension.lowercased()
            switch (name, asset.content_type) {
            case ("\(prefix).tar", .tar):
                return true
            case (prefix, _):
                return true
            default:
                return false
            }
        }"
7.	While type-checking-target starting at /Users/admin/builder/spi-builder-workspace/AppUpdater.swift:145:23
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           0x0000000109a6bbf0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x0000000109a6a3bc llvm::sys::RunSignalHandlers() + 112
2  swift-frontend           0x0000000109a6c238 SignalHandler(int) + 304
3  libsystem_platform.dylib 0x000000018c5f5a24 _sigtramp + 56
4  libsystem_pthread.dylib  0x000000018c5c5cc0 pthread_kill + 288
5  libsystem_c.dylib        0x000000018c4d1a40 abort + 180
6  libsystem_c.dylib        0x000000018c4d0d30 err + 0
7  swift-frontend           0x0000000109e6927c (anonymous namespace)::ConnectedComponents::getComponents() const::'lambda'(swift::TypeVariableType*)::operator()(swift::TypeVariableType*) const (.cold.2) + 0
8  swift-frontend           0x0000000105717a1c (anonymous namespace)::ConnectedComponents::getComponents() const::'lambda'(swift::TypeVariableType*)::operator()(swift::TypeVariableType*) const + 212
9  swift-frontend           0x00000001057116bc swift::constraints::ConstraintGraph::computeConnectedComponents(llvm::ArrayRef<swift::TypeVariableType*>) + 1576
10 swift-frontend           0x00000001056a3e44 swift::constraints::SplitterStep::computeFollowupSteps(llvm::SmallVectorImpl<std::__1::unique_ptr<swift::constraints::SolverStep, std::__1::default_delete<swift::constraints::SolverStep>>>&) + 108
11 swift-frontend           0x00000001056a3c78 swift::constraints::SplitterStep::take(bool) + 160
12 swift-frontend           0x0000000105692ea0 swift::constraints::ConstraintSystem::solveImpl(llvm::SmallVectorImpl<swift::constraints::Solution>&) + 516
13 swift-frontend           0x00000001056951b4 swift::constraints::ConstraintSystem::solve(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 76
14 swift-frontend           0x0000000105694b84 swift::constraints::ConstraintSystem::solveImpl(swift::constraints::SyntacticElementTarget&, swift::FreeTypeVariableBinding) + 492
15 swift-frontend           0x00000001056943c8 swift::constraints::ConstraintSystem::solve(swift::constraints::SyntacticElementTarget&, swift::FreeTypeVariableBinding) + 160
16 swift-frontend           0x000000010582c788 swift::TypeChecker::typeCheckTarget(swift::constraints::SyntacticElementTarget&, swift::optionset::OptionSet<swift::TypeCheckExprFlags, unsigned int>) + 312
17 swift-frontend           0x00000001058fff34 swift::ASTVisitor<(anonymous namespace)::StmtChecker, void, swift::Stmt*, void, void, void, void>::visit(swift::Stmt*) + 1116
18 swift-frontend           0x00000001058ffaa4 bool (anonymous namespace)::StmtChecker::typeCheckStmt<swift::Stmt>(swift::Stmt*&) + 136
19 swift-frontend           0x00000001058fc2f8 (anonymous namespace)::StmtChecker::typeCheckASTNode(swift::ASTNode&) + 192
20 swift-frontend           0x00000001058ffb78 swift::ASTVisitor<(anonymous namespace)::StmtChecker, void, swift::Stmt*, void, void, void, void>::visit(swift::Stmt*) + 160
21 swift-frontend           0x00000001058fe198 bool (anonymous namespace)::StmtChecker::typeCheckStmt<swift::BraceStmt>(swift::BraceStmt*&) + 136
22 swift-frontend           0x00000001058fd8ec (anonymous namespace)::StmtChecker::typeCheckBody(swift::BraceStmt*&) + 32
23 swift-frontend           0x00000001058fd654 swift::TypeCheckFunctionBodyRequest::evaluate(swift::Evaluator&, swift::AbstractFunctionDecl*) const + 1356
24 swift-frontend           0x0000000105d434f8 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
25 swift-frontend           0x0000000105cb0b2c swift::AbstractFunctionDecl::getTypecheckedBody() const + 120
26 swift-frontend           0x0000000105de7d28 swift::SourceFile::typeCheckDelayedFunctions() + 104
27 swift-frontend           0x000000010593e250 swift::TypeCheckSourceFileRequest::evaluate(swift::Evaluator&, swift::SourceFile*) const + 256
28 swift-frontend           0x000000010593fda8 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
29 swift-frontend           0x000000010593e128 swift::performTypeChecking(swift::SourceFile&) + 84
30 swift-frontend           0x0000000104829844 bool llvm::function_ref<bool (swift::SourceFile&)>::callback_fn<swift::CompilerInstance::performSema()::$_7>(long, swift::SourceFile&) + 16
31 swift-frontend           0x0000000104823284 swift::CompilerInstance::forEachFileToTypeCheck(llvm::function_ref<bool (swift::SourceFile&)>) + 76
32 swift-frontend           0x0000000104823218 swift::CompilerInstance::performSema() + 76
33 swift-frontend           0x00000001045f61e4 withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) + 60
34 swift-frontend           0x00000001045e7590 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 708
35 swift-frontend           0x00000001045e64fc swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2388
36 swift-frontend           0x00000001044003b0 swift::mainEntry(int, char const**) + 3096
37 dyld                     0x000000018c2450e0 start + 2360
Fetching https://github.com/mxcl/Path.swift
Fetching https://github.com/mxcl/Version
Fetching https://github.com/PromiseKit/Foundation
[1/609] Fetching foundation
[135/860] Fetching foundation, version
[213/1919] Fetching foundation, version, path.swift
Fetched https://github.com/PromiseKit/Foundation from cache (1.07s)
Fetched https://github.com/mxcl/Path.swift from cache (1.07s)
Fetched https://github.com/mxcl/Version from cache (1.07s)
Computing version for https://github.com/PromiseKit/Foundation
Computed https://github.com/PromiseKit/Foundation at 3.4.0 (0.78s)
Fetching https://github.com/mxcl/PromiseKit.git
[1/16963] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit.git from cache (2.18s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 1.2.0 (0.67s)
Computing version for https://github.com/mxcl/Path.swift
Computed https://github.com/mxcl/Path.swift at 1.4.1 (0.65s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (0.69s)
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.22.1
Creating working copy for https://github.com/mxcl/Path.swift
Working copy of https://github.com/mxcl/Path.swift resolved at 1.4.1
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 1.2.0
Creating working copy for https://github.com/PromiseKit/Foundation
Working copy of https://github.com/PromiseKit/Foundation resolved at 3.4.0
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.