The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppUpdater with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mxcl/AppUpdater.git
Reference: 1.1.1
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
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at 1b60169 Merge pull request #12 from mxcl/deps/bump
Cloned https://github.com/mxcl/AppUpdater.git
Revision (git rev-parse @):
1b60169700489f16cfbe2feb6b1e32ca5c9464b8
SUCCESS checkout https://github.com/mxcl/AppUpdater.git at 1.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/mxcl/AppUpdater.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/mxcl/Path.swift
Fetching https://github.com/mxcl/Version
Fetching https://github.com/PromiseKit/Foundation
[1/241] Fetching version
[242/1291] Fetching version, path.swift
[263/1900] Fetching version, path.swift, foundation
Fetched https://github.com/PromiseKit/Foundation from cache (0.24s)
Fetched https://github.com/mxcl/Version from cache (0.24s)
Fetched https://github.com/mxcl/Path.swift from cache (0.26s)
Computing version for https://github.com/PromiseKit/Foundation
Computed https://github.com/PromiseKit/Foundation at 3.4.0 (2.14s)
Fetching https://github.com/mxcl/PromiseKit.git
[1/16818] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit.git from cache (1.16s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 1.2.0 (0.55s)
Computing version for https://github.com/mxcl/Path.swift
Computed https://github.com/mxcl/Path.swift at 1.4.1 (0.82s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (0.51s)
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
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.22.1
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/38] Compiling Version Version+Codable.swift
[8/38] Emitting module Version
[9/38] Compiling Version Version+Range.swift
[10/38] Compiling Version Version.swift
[11/38] Compiling PromiseKit firstly.swift
[12/38] Compiling PromiseKit hang.swift
[13/40] Compiling Version Version+Comparable.swift
[14/40] Compiling Version Version+Foundation.swift
[15/41] Compiling PromiseKit Combine.swift
[16/41] Compiling PromiseKit Configuration.swift
[17/41] Emitting module PromiseKit
[18/41] Compiling PromiseKit Async.swift
[19/41] Compiling PromiseKit Box.swift
[20/41] Compiling PromiseKit Catchable.swift
[22/41] Compiling PromiseKit CustomStringConvertible.swift
[23/41] Compiling PromiseKit Error.swift
[24/41] Compiling PromiseKit Guarantee.swift
[25/41] Compiling PromiseKit LogEvent.swift
[26/41] Compiling PromiseKit Thenable.swift
[27/41] Compiling PromiseKit after.swift
[28/41] Compiling PromiseKit Promise.swift
[29/41] Compiling PromiseKit Resolver.swift
[30/41] Compiling Path Path+FileManager.swift
[31/42] Compiling Path PathToBool.swift
[32/42] Compiling Path Path+StringConvertibles.swift
[33/42] Emitting module Path
[36/42] Compiling Path Pathish.swift
[37/42] Compiling Path Path+ls.swift
[40/42] Compiling Path Path.swift
[42/43] Compiling PromiseKit race.swift
[43/43] Compiling PromiseKit when.swift
[45/48] Compiling PMKFoundation NSNotificationCenter+Promise.swift
[46/48] Emitting module PMKFoundation
[47/48] Compiling PMKFoundation Process+Promise.swift
[48/48] Compiling PMKFoundation NSURLSession+Promise.swift
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'
import class AppKit.NSBackgroundActivityScheduler
             ^
/host/spi-builder-workspace/AppUpdater.swift:1:14: error: no such module 'AppKit'
import class AppKit.NSBackgroundActivityScheduler
             ^
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 -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -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 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2.	Compiling with the current language version
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 expression at [/host/spi-builder-workspace/AppUpdater.swift:145:16 - line:157:10] RangeText="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
            }
        }"
8.	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):
/usr/bin/swift-frontend(+0x7307d73)[0x55b9fd7a9d73]
/usr/bin/swift-frontend(+0x7305abe)[0x55b9fd7a7abe]
/usr/bin/swift-frontend(+0x73080ea)[0x55b9fd7aa0ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f38fa09a520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f38fa0ee9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f38fa09a476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f38fa0807f3]
/lib/x86_64-linux-gnu/libc.so.6(+0x2871b)[0x7f38fa08071b]
/lib/x86_64-linux-gnu/libc.so.6(+0x39e96)[0x7f38fa091e96]
/usr/bin/swift-frontend(+0x2164d82)[0x55b9f8606d82]
/usr/bin/swift-frontend(+0x20f5320)[0x55b9f8597320]
/usr/bin/swift-frontend(+0x20f513e)[0x55b9f859713e]
/usr/bin/swift-frontend(+0x20db66b)[0x55b9f857d66b]
/usr/bin/swift-frontend(+0x20ddcdc)[0x55b9f857fcdc]
/usr/bin/swift-frontend(+0x20dd5e2)[0x55b9f857f5e2]
/usr/bin/swift-frontend(+0x20dcc79)[0x55b9f857ec79]
/usr/bin/swift-frontend(+0x224ebc5)[0x55b9f86f0bc5]
/usr/bin/swift-frontend(+0x224ea4d)[0x55b9f86f0a4d]
/usr/bin/swift-frontend(+0x224e938)[0x55b9f86f0938]
/usr/bin/swift-frontend(+0x2352421)[0x55b9f87f4421]
/usr/bin/swift-frontend(+0x2350a9c)[0x55b9f87f2a9c]
/usr/bin/swift-frontend(+0x234c9f4)[0x55b9f87ee9f4]
/usr/bin/swift-frontend(+0x2350b4c)[0x55b9f87f2b4c]
/usr/bin/swift-frontend(+0x234e81c)[0x55b9f87f081c]
/usr/bin/swift-frontend(+0x234dbcd)[0x55b9f87efbcd]
/usr/bin/swift-frontend(+0x28df0fb)[0x55b9f8d810fb]
/usr/bin/swift-frontend(+0x28def29)[0x55b9f8d80f29]
/usr/bin/swift-frontend(+0x2828ad8)[0x55b9f8ccaad8]
/usr/bin/swift-frontend(+0x2828a8d)[0x55b9f8ccaa8d]
/usr/bin/swift-frontend(+0x298ac6b)[0x55b9f8e2cc6b]
/usr/bin/swift-frontend(+0x2393361)[0x55b9f8835361]
/usr/bin/swift-frontend(+0x2395ac7)[0x55b9f8837ac7]
/usr/bin/swift-frontend(+0x23958e2)[0x55b9f88378e2]
/usr/bin/swift-frontend(+0x2393174)[0x55b9f8835174]
/usr/bin/swift-frontend(+0x2393154)[0x55b9f8835154]
/usr/bin/swift-frontend(+0x10f45b9)[0x55b9f75965b9]
/usr/bin/swift-frontend(+0x10eb9ba)[0x55b9f758d9ba]
/usr/bin/swift-frontend(+0x10eb92d)[0x55b9f758d92d]
/usr/bin/swift-frontend(+0xe4a792)[0x55b9f72ec792]
/usr/bin/swift-frontend(+0xe382ad)[0x55b9f72da2ad]
/usr/bin/swift-frontend(+0xe369db)[0x55b9f72d89db]
/usr/bin/swift-frontend(+0xcc3315)[0x55b9f7165315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f38fa081d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f38fa081e40]
/usr/bin/swift-frontend(+0xcc2375)[0x55b9f7164375]
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
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)
[2/3] Emitting module AppUpdater
/host/spi-builder-workspace/AppUpdater.swift:1:14: error: no such module 'AppKit'
import class AppKit.NSBackgroundActivityScheduler
             ^
/host/spi-builder-workspace/AppUpdater.swift:1:14: error: no such module 'AppKit'
import class AppKit.NSBackgroundActivityScheduler
             ^
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 -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -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 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2.	Compiling with the current language version
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 expression at [/host/spi-builder-workspace/AppUpdater.swift:145:16 - line:157:10] RangeText="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
            }
        }"
8.	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):
/usr/bin/swift-frontend(+0x7307d73)[0x55ffe2a38d73]
/usr/bin/swift-frontend(+0x7305abe)[0x55ffe2a36abe]
/usr/bin/swift-frontend(+0x73080ea)[0x55ffe2a390ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fce1e328520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7fce1e37c9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7fce1e328476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7fce1e30e7f3]
/lib/x86_64-linux-gnu/libc.so.6(+0x2871b)[0x7fce1e30e71b]
/lib/x86_64-linux-gnu/libc.so.6(+0x39e96)[0x7fce1e31fe96]
/usr/bin/swift-frontend(+0x2164d82)[0x55ffdd895d82]
/usr/bin/swift-frontend(+0x20f5320)[0x55ffdd826320]
/usr/bin/swift-frontend(+0x20f513e)[0x55ffdd82613e]
/usr/bin/swift-frontend(+0x20db66b)[0x55ffdd80c66b]
/usr/bin/swift-frontend(+0x20ddcdc)[0x55ffdd80ecdc]
/usr/bin/swift-frontend(+0x20dd5e2)[0x55ffdd80e5e2]
/usr/bin/swift-frontend(+0x20dcc79)[0x55ffdd80dc79]
/usr/bin/swift-frontend(+0x224ebc5)[0x55ffdd97fbc5]
/usr/bin/swift-frontend(+0x224ea4d)[0x55ffdd97fa4d]
/usr/bin/swift-frontend(+0x224e938)[0x55ffdd97f938]
/usr/bin/swift-frontend(+0x2352421)[0x55ffdda83421]
/usr/bin/swift-frontend(+0x2350a9c)[0x55ffdda81a9c]
/usr/bin/swift-frontend(+0x234c9f4)[0x55ffdda7d9f4]
/usr/bin/swift-frontend(+0x2350b4c)[0x55ffdda81b4c]
/usr/bin/swift-frontend(+0x234e81c)[0x55ffdda7f81c]
/usr/bin/swift-frontend(+0x234dbcd)[0x55ffdda7ebcd]
/usr/bin/swift-frontend(+0x28df0fb)[0x55ffde0100fb]
/usr/bin/swift-frontend(+0x28def29)[0x55ffde00ff29]
/usr/bin/swift-frontend(+0x2828ad8)[0x55ffddf59ad8]
/usr/bin/swift-frontend(+0x2828a8d)[0x55ffddf59a8d]
/usr/bin/swift-frontend(+0x298ac6b)[0x55ffde0bbc6b]
/usr/bin/swift-frontend(+0x2393361)[0x55ffddac4361]
/usr/bin/swift-frontend(+0x2395ac7)[0x55ffddac6ac7]
/usr/bin/swift-frontend(+0x23958e2)[0x55ffddac68e2]
/usr/bin/swift-frontend(+0x2393174)[0x55ffddac4174]
/usr/bin/swift-frontend(+0x2393154)[0x55ffddac4154]
/usr/bin/swift-frontend(+0x10f45b9)[0x55ffdc8255b9]
/usr/bin/swift-frontend(+0x10eb9ba)[0x55ffdc81c9ba]
/usr/bin/swift-frontend(+0x10eb92d)[0x55ffdc81c92d]
/usr/bin/swift-frontend(+0xe4a792)[0x55ffdc57b792]
/usr/bin/swift-frontend(+0xe382ad)[0x55ffdc5692ad]
/usr/bin/swift-frontend(+0xe369db)[0x55ffdc5679db]
/usr/bin/swift-frontend(+0xcc3315)[0x55ffdc3f4315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fce1e30fd90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fce1e30fe40]
/usr/bin/swift-frontend(+0xcc2375)[0x55ffdc3f3375]
BUILD FAILURE 5.10 linux

Build Machine: Linux 2