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 Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/mxcl/AppUpdater.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/mxcl/Version
Fetching https://github.com/mxcl/Path.swift
Fetching https://github.com/PromiseKit/Foundation
[1/251] Fetching version
[250/860] Fetching version, foundation
[591/609] Fetching foundation
Fetched https://github.com/mxcl/Version from cache (0.23s)
[610/1668] Fetching foundation, path.swift
Fetched https://github.com/PromiseKit/Foundation from cache (0.31s)
Fetched https://github.com/mxcl/Path.swift from cache (0.31s)
Computing version for https://github.com/PromiseKit/Foundation
Computed https://github.com/PromiseKit/Foundation at 3.4.0 (1.50s)
Fetching https://github.com/mxcl/PromiseKit.git
[1/16963] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit.git from cache (1.18s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 1.2.0 (0.56s)
Computing version for https://github.com/mxcl/Path.swift
Computed https://github.com/mxcl/Path.swift at 1.4.1 (0.54s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (0.56s)
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/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/PromiseKit/Foundation
Working copy of https://github.com/PromiseKit/Foundation resolved at 3.4.0
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/38] Emitting module PromiseKit
[8/40] Compiling Path Path+StringConvertibles.swift
[9/41] Compiling Version Version+Range.swift
[10/41] Compiling Version Version.swift
[11/41] Compiling Path Pathish.swift
[12/41] Compiling PromiseKit race.swift
[13/41] Compiling PromiseKit when.swift
[14/41] Compiling Path PathToBool.swift
[15/41] Compiling PromiseKit Combine.swift
[16/41] Compiling PromiseKit Configuration.swift
[17/41] Compiling PromiseKit Promise.swift
[18/41] Compiling PromiseKit Resolver.swift
[19/41] Compiling PromiseKit Thenable.swift
[20/41] Compiling PromiseKit after.swift
[21/41] Compiling Path Path+FileManager.swift
[24/41] Emitting module Path
[25/41] Compiling PromiseKit CustomStringConvertible.swift
[26/41] Compiling PromiseKit Error.swift
[27/41] Compiling Path Path+ls.swift
[28/41] Compiling Path Path.swift
[29/42] Compiling PromiseKit Async.swift
[30/42] Compiling PromiseKit Box.swift
[31/42] Compiling PromiseKit Catchable.swift
[32/42] Compiling PromiseKit Guarantee.swift
[33/42] Compiling PromiseKit LogEvent.swift
[36/42] Compiling Version Version+Comparable.swift
[37/42] Compiling Version Version+Codable.swift
[38/42] Compiling Version Version+Foundation.swift
[39/42] Emitting module Version
[41/43] Compiling PromiseKit firstly.swift
[42/43] Compiling PromiseKit hang.swift
[45/48] Compiling PMKFoundation NSNotificationCenter+Promise.swift
[46/48] Compiling PMKFoundation Process+Promise.swift
[47/48] Compiling PMKFoundation NSURLSession+Promise.swift
[48/48] Emitting module PMKFoundation
error: emit-module command failed with exit code 1 (use -v to see invocation)
error: compile command failed due to signal 6 (use -v to see invocation)
[50/51] Emitting module AppUpdater
/host/spi-builder-workspace/AppUpdater.swift:1:14: error: no such module 'AppKit'
  1 | import class AppKit.NSBackgroundActivityScheduler
    |              `- error: no such module 'AppKit'
  2 | import var AppKit.NSApp
  3 | import PMKFoundation
swift-frontend: /home/build-user/swift/lib/Sema/ConstraintGraph.cpp:893: auto (anonymous namespace)::ConnectedComponents::getComponents()::(anonymous class)::operator()(swift::TypeVariableType *) const: Assertion `component != components.end()' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/AppUpdater.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppUpdater.build/AppUpdater.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppUpdater.build/AppUpdater.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -strict-concurrency=complete -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name AppUpdater -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppUpdater.build/AppUpdater.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2.	Compiling with effective version 5.10
3.	While evaluating request TypeCheckSourceFileRequest(source_file "/host/spi-builder-workspace/AppUpdater.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(AppUpdater.(file).Release.viableAsset(forRepo:)@/host/spi-builder-workspace/AppUpdater.swift:144:10)
5.	While type-checking statement at [/host/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 [/host/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 /host/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 0x00005636303fb497
1  swift-frontend 0x00005636303f91ee
2  swift-frontend 0x00005636303fbb0a
3  libc.so.6      0x00007f7efe29a520
4  libc.so.6      0x00007f7efe2ee9fc pthread_kill + 300
5  libc.so.6      0x00007f7efe29a476 raise + 22
6  libc.so.6      0x00007f7efe2807f3 abort + 211
7  libc.so.6      0x00007f7efe28071b
8  libc.so.6      0x00007f7efe291e96
9  swift-frontend 0x000056362aaf3b62
10 swift-frontend 0x000056362aa7af40
11 swift-frontend 0x000056362aa7ad5e
12 swift-frontend 0x000056362aa604eb
13 swift-frontend 0x000056362aa62e2c
14 swift-frontend 0x000056362aa6274d
15 swift-frontend 0x000056362aa61dec
16 swift-frontend 0x000056362abffe62
17 swift-frontend 0x000056362acfbd19
18 swift-frontend 0x000056362acfb84c
19 swift-frontend 0x000056362acf6de4
20 swift-frontend 0x000056362acfb8fc
21 swift-frontend 0x000056362acf94bc
22 swift-frontend 0x000056362acf8913
23 swift-frontend 0x000056362acf8485
24 swift-frontend 0x000056362b2fd492
25 swift-frontend 0x000056362b2565b9
26 swift-frontend 0x000056362b3bd43b
27 swift-frontend 0x000056362ad46431
28 swift-frontend 0x000056362ad4881b
29 swift-frontend 0x000056362ad46305
30 swift-frontend 0x000056362996ec59
31 swift-frontend 0x000056362996642a
32 swift-frontend 0x00005636299663c7
33 swift-frontend 0x0000563629653f02
34 swift-frontend 0x0000563629641177
35 swift-frontend 0x000056362963f4fc
36 swift-frontend 0x00005636293fbdde
37 libc.so.6      0x00007f7efe281d90
38 libc.so.6      0x00007f7efe281e40 __libc_start_main + 128
39 swift-frontend 0x00005636293fae85
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.