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 AwaitKit, reference 5.2.0 (743fbf), with Swift 6.0 for Linux on 27 Nov 2024 04:47:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yannickl/AwaitKit.git
Reference: 5.2.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/yannickl/AwaitKit
 * tag               5.2.0      -> FETCH_HEAD
HEAD is now at 743fbf2 Bump to v5.2.0
Submodule path 'Carthage/Checkouts/PromiseKit': checked out '2fdb8c64a85e2081388532dbc61eb348a0793b1c'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/AVFoundation': checked out '01d017f16af7eba44e2449b82be4edf622a51911'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/Accounts': checked out 'd88db0c2879121092d8c0c6e66b7a2b6850d2566'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/AddressBook': checked out '3007c291833a5d8da161f517e2b6ae1f913b707c'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/Alamofire': checked out '15a5ab2c243b73d875040897c56fa4f3f339808f'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/AssetsLibrary': checked out '89c257567c9b348bac420989c41cfba3b7866100'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/Bolts': checked out '9c152ff6bc181b6b7c0717064fa5f7b092a61d29'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/CloudKit': checked out 'a7f5f069477173bec1764744c67ca480e4dd024d'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/CoreBluetooth': checked out '8e0bc957996daad5c49f8809839f8699883ed364'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/CoreLocation': checked out 'dd61fa106a62c848217dc7ca0d36736bf37d7b81'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/EventKit': checked out '66656636dbd680142c7a7ba6b52288eb5b006509'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/Foundation': checked out '0a59b0d89f469979aecacdf9046df14f99d1cc6b'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/HealthKit': checked out 'd77186d5024a6e6233371325aadd19ff33ab8def'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/HomeKit': checked out 'f5202f792209d659f62d6dccdb7adcb6dbb67343'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/MapKit': checked out 'd9bbe29f45cf02e1aa2230fd4a7d1e0faa1f7700'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/MessagesUI': checked out '5f4e4cb68dc371863b81ae27f82614161688ee89'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/OMGHTTPURLRQ': checked out '5ec40a68f168255dcc339b9620e2dcf62079ae6b'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/Photos': checked out '91bcb703d3663ce0064853362f95c14efbacd598'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/QuartzCore': checked out '7874df265f7e7333d72ea9245021b38efb0e22cd'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/Social': checked out '22c63c97972c887f5274815e7cf7d6c61264a8b4'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/StoreKit': checked out 'b9bcc9bf9a17869c2648c1d713e316dcce75be40'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/SystemConfiguration': checked out '93a0f1f746325be62de519f029422173f09e5bc3'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/UIKit': checked out '98810ca1d49877e81fc54f40afd8bad2df080397'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/WatchConnectivity': checked out '80f20fdec347e4f0ead1dc366432b012ef3ae1bc'
Submodule 'Carthage/Checkouts/PromiseKit' (https://github.com/mxcl/PromiseKit.git) registered for path 'Carthage/Checkouts/PromiseKit'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit'...
Submodule 'Extensions/AVFoundation' (https://github.com/PromiseKit/AVFoundation) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/AVFoundation'
Submodule 'Extensions/Accounts' (https://github.com/PromiseKit/Accounts.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/Accounts'
Submodule 'Extensions/AddressBook' (https://github.com/PromiseKit/AddressBook.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/AddressBook'
Submodule 'Extensions/Alamofire' (https://github.com/PromiseKit/Alamofire) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/Alamofire'
Submodule 'Extensions/AssetsLibrary' (https://github.com/PromiseKit/AssetsLibrary.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/AssetsLibrary'
Submodule 'Extensions/Bolts' (https://github.com/PromiseKit/Bolts.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/Bolts'
Submodule 'Extensions/CloudKit' (https://github.com/PromiseKit/CloudKit.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/CloudKit'
Submodule 'Extensions/CoreBluetooth' (https://github.com/PromiseKit/CoreBluetooth.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/CoreBluetooth'
Submodule 'Extensions/CoreLocation' (https://github.com/PromiseKit/CoreLocation.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/CoreLocation'
Submodule 'Extensions/EventKit' (https://github.com/PromiseKit/EventKit.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/EventKit'
Submodule 'Extensions/Foundation' (https://github.com/PromiseKit/Foundation.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/Foundation'
Submodule 'Extensions/HealthKit' (https://github.com/PromiseKit/PMKHealthKit) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/HealthKit'
Submodule 'Extensions/HomeKit' (https://github.com/PromiseKit/HomeKit.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/HomeKit'
Submodule 'Extensions/MapKit' (https://github.com/PromiseKit/MapKit.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/MapKit'
Submodule 'Extensions/MessagesUI' (https://github.com/PromiseKit/MessagesUI.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/MessagesUI'
Submodule 'Extensions/OMGHTTPURLRQ' (https://github.com/PromiseKit/OMGHTTPURLRQ) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/OMGHTTPURLRQ'
Submodule 'Extensions/Photos' (https://github.com/PromiseKit/Photos.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/Photos'
Submodule 'Extensions/QuartzCore' (https://github.com/PromiseKit/QuartzCore.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/QuartzCore'
Submodule 'Extensions/Social' (https://github.com/PromiseKit/Social.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/Social'
Submodule 'Extensions/StoreKit' (https://github.com/PromiseKit/StoreKit.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/StoreKit'
Submodule 'Extensions/SystemConfiguration' (https://github.com/PromiseKit/SystemConfiguration) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/SystemConfiguration'
Submodule 'Extensions/UIKit' (https://github.com/PromiseKit/UIKit.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/UIKit'
Submodule 'Extensions/WatchConnectivity' (https://github.com/PromiseKit/WatchConnectivity.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/WatchConnectivity'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/AVFoundation'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/Accounts'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/AddressBook'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/Alamofire'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/AssetsLibrary'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/Bolts'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/CloudKit'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/CoreBluetooth'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/CoreLocation'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/EventKit'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/Foundation'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/HealthKit'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/HomeKit'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/MapKit'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/MessagesUI'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/OMGHTTPURLRQ'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/Photos'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/QuartzCore'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/Social'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/StoreKit'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/SystemConfiguration'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/UIKit'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/WatchConnectivity'...
Cloned https://github.com/yannickl/AwaitKit.git
Revision (git rev-parse @):
743fbf22caa2813436e634fd7bf1fb0ff13751b9
SUCCESS checkout https://github.com/yannickl/AwaitKit.git at 5.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/yannickl/AwaitKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/mxcl/PromiseKit.git
[1/17137] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit.git from cache (1.09s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (2.06s)
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/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/19] Compiling PromiseKit Thenable.swift
[5/19] Compiling PromiseKit after.swift
[6/19] Compiling PromiseKit Guarantee.swift
[7/19] Compiling PromiseKit LogEvent.swift
[8/21] Compiling PromiseKit Combine.swift
[9/21] Compiling PromiseKit Configuration.swift
[10/21] Compiling PromiseKit firstly.swift
[11/21] Compiling PromiseKit hang.swift
[12/21] Emitting module PromiseKit
[13/21] Compiling PromiseKit Promise.swift
[14/21] Compiling PromiseKit Resolver.swift
[15/21] Compiling PromiseKit Async.swift
[16/21] Compiling PromiseKit Box.swift
[17/21] Compiling PromiseKit Catchable.swift
[18/21] Compiling PromiseKit CustomStringConvertible.swift
[19/21] Compiling PromiseKit Error.swift
[20/21] Compiling PromiseKit race.swift
[21/21] Compiling PromiseKit when.swift
[23/27] Compiling AwaitKit DispatchQueue+Await.swift
/host/spi-builder-workspace/Sources/AwaitKit/DispatchQueue+Await.swift:42:54: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 39 |    */
 40 |   @discardableResult
 41 |   public final func await<T>(_ body: @escaping () throws -> T) throws -> T {
    |                                `- note: parameter 'body' is implicitly non-sendable
 42 |     let promise = self.base.async(.promise, execute: body)
    |                                                      `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 43 |
 44 |     return try await(promise)
/host/spi-builder-workspace/Sources/AwaitKit/DispatchQueue+Await.swift:44:16: error: cannot convert return expression of type 'Promise<T>' to return type 'T'
 42 |     let promise = self.base.async(.promise, execute: body)
 43 |
 44 |     return try await(promise)
    |                `- error: cannot convert return expression of type 'Promise<T>' to return type 'T'
 45 |   }
 46 |
/host/spi-builder-workspace/Sources/AwaitKit/DispatchQueue+Await.swift:44:16: error: 'await' in a function that does not support concurrency
 39 |    */
 40 |   @discardableResult
 41 |   public final func await<T>(_ body: @escaping () throws -> T) throws -> T {
    |                     `- note: add 'async' to function 'await' to make it asynchronous
 42 |     let promise = self.base.async(.promise, execute: body)
 43 |
 44 |     return try await(promise)
    |                `- error: 'await' in a function that does not support concurrency
 45 |   }
 46 |
/host/spi-builder-workspace/Sources/AwaitKit/DispatchQueue+Await.swift:44:12: warning: no calls to throwing functions occur within 'try' expression
 42 |     let promise = self.base.async(.promise, execute: body)
 43 |
 44 |     return try await(promise)
    |            `- warning: no calls to throwing functions occur within 'try' expression
 45 |   }
 46 |
[24/27] Emitting module AwaitKit
[25/27] Compiling AwaitKit DispatchQueue+Async.swift
/host/spi-builder-workspace/Sources/AwaitKit/DispatchQueue+Async.swift:39:42: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
36 |    - Returns: A new promise that is resolved when the provided closure returned.
37 |    */
38 |   public final func async<T>(_ body: @escaping () throws -> T) -> Promise<T> {
   |                                `- note: parameter 'body' is implicitly non-sendable
39 |     return base.async(.promise, execute: body)
   |                                          `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
40 |   }
41 |
[26/27] Compiling AwaitKit AwaitKitExtension.swift
[27/27] Compiling AwaitKit AwaitKit.swift
/host/spi-builder-workspace/Sources/AwaitKit/AwaitKit.swift:43:47: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
40 |  - returns: A new promise that is resolved when the provided closure returned.
41 |  */
42 | public func async<T>(_ body: @escaping () throws -> T) -> Promise<T> {
   |                        `- note: parameter 'body' is implicitly non-sendable
43 |   return Queue.async.async(.promise, execute: body)
   |                                               `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
44 | }
45 |
BUILD FAILURE 6.0 linux