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 SimpleMDM with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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/karlisl/simplemdm-swift.git
Reference: 0.1.0
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/karlisl/simplemdm-swift
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 5396276 Initial commit
Cloned https://github.com/karlisl/simplemdm-swift.git
Revision (git rev-parse @):
5396276a49b0c2457ae2a72420081b566f043274
SUCCESS checkout https://github.com/karlisl/simplemdm-swift.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/karlisl/simplemdm-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/6043] Fetching swiftyjson
[6044/34092] Fetching swiftyjson, alamofire
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (2.67s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.73s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 4.3.0 (1.30s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 4.9.1 (0.45s)
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 4.3.0
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 4.9.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/22] Emitting module Alamofire
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[6/24] Compiling Alamofire MultipartFormData.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[7/24] Compiling Alamofire NetworkReachabilityManager.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[8/24] Compiling Alamofire ResponseSerialization.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[9/24] Compiling Alamofire Result.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[10/24] Compiling Alamofire Timeline.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[11/24] Compiling Alamofire Validation.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[12/24] Emitting module SwiftyJSON
[13/24] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
    case (.number, .number): return lhs.rawNumber < rhs.rawNumber
                                                  ^
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1251:6: note: found this candidate
func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     ^
Foundation.NSNumber:2:24: note: found this candidate
    public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool
                       ^
error: fatalError
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[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)
[2/19] Emitting module Alamofire
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[3/21] Compiling Alamofire Timeline.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[4/21] Compiling Alamofire Validation.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
error: compile command failed due to signal 6 (use -v to see invocation)
[5/21] Compiling Alamofire ResponseSerialization.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
[6/21] Compiling Alamofire Result.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift:28:8: error: no such module 'SystemConfiguration'
import SystemConfiguration
       ^
Can't demangle: $s9Alamofire17ServerTrustPolicyO24performRevokedEvaluation33_5086B0E684B07FD2C061AC50FDA3F8DDLLXeF12validateHostL_Sbvp
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 /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/DispatchQueue+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Result.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustPolicy.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionManager.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/TaskDelegate.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Timeline.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/ServerTrustPolicy.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/ServerTrustPolicy.swiftdeps -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/SessionDelegate.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/SessionDelegate.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 -suppress-warnings -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 Alamofire -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/Alamofire.build/ServerTrustPolicy.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/SessionDelegate.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 walking into 'ServerTrustPolicy' (at /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustPolicy.swift:115:8)
4.	While evaluating request USRGenerationRequest(Alamofire.(file).ServerTrustPolicy.performRevokedEvaluation(validateHost:revocationFlags:).validateHost@/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustPolicy.swift:117:35)
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)[0x56031f7aad73]
/usr/bin/swift-frontend(+0x7305abe)[0x56031f7a8abe]
/usr/bin/swift-frontend(+0x73080ea)[0x56031f7ab0ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f929f2eb520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f929f33f9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f929f2eb476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f929f2d17f3]
/usr/bin/swift-frontend(+0x2af4275)[0x56031af97275]
/usr/bin/swift-frontend(+0x2755c54)[0x56031abf8c54]
/usr/bin/swift-frontend(+0x2ab869b)[0x56031af5b69b]
/usr/bin/swift-frontend(+0x2347a0c)[0x56031a7eaa0c]
/usr/bin/swift-frontend(+0x106859c)[0x56031950b59c]
/usr/bin/swift-frontend(+0x1068102)[0x56031950b102]
/usr/bin/swift-frontend(+0x106716b)[0x56031950a16b]
/usr/bin/swift-frontend(+0x2ab91aa)[0x56031af5c1aa]
/usr/bin/swift-frontend(+0x1036d5b)[0x5603194d9d5b]
/usr/bin/swift-frontend(+0x10362a7)[0x5603194d92a7]
/usr/bin/swift-frontend(+0x1033c59)[0x5603194d6c59]
/usr/bin/swift-frontend(+0x1cb4cd1)[0x56031a157cd1]
/usr/bin/swift-frontend(+0x27ad05c)[0x56031ac5005c]
/usr/bin/swift-frontend(+0x27aeb3c)[0x56031ac51b3c]
/usr/bin/swift-frontend(+0x27b10e7)[0x56031ac540e7]
/usr/bin/swift-frontend(+0x27ad07c)[0x56031ac5007c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x56031ac54c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x56031ac5386b]
/usr/bin/swift-frontend(+0x27ad07c)[0x56031ac5007c]
/usr/bin/swift-frontend(+0x27acf73)[0x56031ac4ff73]
/usr/bin/swift-frontend(+0x298b1e2)[0x56031ae2e1e2]
/usr/bin/swift-frontend(+0x1cb26a6)[0x56031a1556a6]
/usr/bin/swift-frontend(+0x1032c84)[0x5603194d5c84]
/usr/bin/swift-frontend(+0x1032b2a)[0x5603194d5b2a]
/usr/bin/swift-frontend(+0x1027f82)[0x5603194caf82]
/usr/bin/swift-frontend(+0x1027978)[0x5603194ca978]
/usr/bin/swift-frontend(+0xe3f242)[0x5603192e2242]
/usr/bin/swift-frontend(+0xe3d09c)[0x5603192e009c]
/usr/bin/swift-frontend(+0xe382cd)[0x5603192db2cd]
/usr/bin/swift-frontend(+0xe369db)[0x5603192d99db]
/usr/bin/swift-frontend(+0xcc3315)[0x560319166315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f929f2d2d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f929f2d2e40]
/usr/bin/swift-frontend(+0xcc2375)[0x560319165375]
[7/21] Emitting module SwiftyJSON
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
    case (.number, .number): return lhs.rawNumber < rhs.rawNumber
                                                  ^
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1251:6: note: found this candidate
func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     ^
Foundation.NSNumber:2:24: note: found this candidate
    public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool
                       ^
BUILD FAILURE 5.10 linux