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 ws, reference master (a44e64), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 00:10:56 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/freshOS/ws-deprecated.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/freshOS/ws-deprecated
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a44e643 Update ws.podspec
Cloned https://github.com/freshOS/ws-deprecated.git
Revision (git rev-parse @):
a44e643df48e1f1692e17075608b07d43a5dc407
SUCCESS checkout https://github.com/freshOS/ws-deprecated.git at master
Fetching https://github.com/freshOS/Arrow
Fetching https://github.com/freshOS/Then
Fetching https://github.com/Alamofire/Alamofire
[1/1458] Fetching arrow
[351/3448] Fetching arrow, then
[868/33237] Fetching arrow, then, alamofire
Fetched https://github.com/freshOS/Arrow from cache (5.71s)
Fetched https://github.com/Alamofire/Alamofire from cache (5.71s)
Fetched https://github.com/freshOS/Then from cache (5.71s)
Computing version for https://github.com/Alamofire/Alamofire
Computed https://github.com/Alamofire/Alamofire at 4.9.1 (0.67s)
Computing version for https://github.com/freshOS/Then
Computed https://github.com/freshOS/Then at 5.1.3 (0.66s)
Computing version for https://github.com/freshOS/Arrow
Computed https://github.com/freshOS/Arrow at 5.1.2 (0.63s)
Creating working copy for https://github.com/Alamofire/Alamofire
Working copy of https://github.com/Alamofire/Alamofire resolved at 4.9.1
Creating working copy for https://github.com/freshOS/Arrow
Working copy of https://github.com/freshOS/Arrow resolved at 5.1.2
Creating working copy for https://github.com/freshOS/Then
Working copy of https://github.com/freshOS/Then resolved at 5.1.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "ws-deprecated",
      "name": "ws",
      "url": "https://github.com/freshOS/ws-deprecated.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ws-deprecated",
      "dependencies": [
        {
          "identity": "arrow",
          "name": "Arrow",
          "url": "https://github.com/freshOS/Arrow",
          "version": "5.1.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Arrow",
          "dependencies": [
          ]
        },
        {
          "identity": "then",
          "name": "Then",
          "url": "https://github.com/freshOS/Then",
          "version": "5.1.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Then",
          "dependencies": [
          ]
        },
        {
          "identity": "alamofire",
          "name": "Alamofire",
          "url": "https://github.com/Alamofire/Alamofire",
          "version": "4.9.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/freshOS/ws-deprecated.git
[1/1222] Fetching ws-deprecated
Fetched https://github.com/freshOS/ws-deprecated.git from cache (1.89s)
Fetching https://github.com/freshOS/Then from cache
Fetching https://github.com/Alamofire/Alamofire from cache
Fetching https://github.com/freshOS/Arrow from cache
Fetched https://github.com/freshOS/Arrow from cache (0.68s)
Fetched https://github.com/Alamofire/Alamofire from cache (0.68s)
Fetched https://github.com/freshOS/Then from cache (0.68s)
Computing version for https://github.com/Alamofire/Alamofire
Computed https://github.com/Alamofire/Alamofire at 4.9.1 (0.04s)
Computing version for https://github.com/freshOS/Then
Computed https://github.com/freshOS/Then at 5.1.3 (0.02s)
Computing version for https://github.com/freshOS/Arrow
Computed https://github.com/freshOS/Arrow at 5.1.2 (0.03s)
Creating working copy for https://github.com/Alamofire/Alamofire
Working copy of https://github.com/Alamofire/Alamofire resolved at 4.9.1
Creating working copy for https://github.com/freshOS/ws-deprecated.git
Working copy of https://github.com/freshOS/ws-deprecated.git resolved at master (a44e643)
Creating working copy for https://github.com/freshOS/Then
Working copy of https://github.com/freshOS/Then resolved at 5.1.3
Creating working copy for https://github.com/freshOS/Arrow
Working copy of https://github.com/freshOS/Arrow resolved at 5.1.2
warning: '.resolve-product-dependencies': dependency 'ws-deprecated' is not used by any target
Found 3 product dependencies
  - Arrow
  - Then
  - Alamofire
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/freshOS/ws-deprecated.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module Then
[7/55] Compiling Then PromiseError.swift
[8/55] Compiling Then PromiseState.swift
[9/55] Compiling Alamofire Timeline.swift
[10/56] Compiling Then VoidPromise.swift
[11/56] Compiling Then WhenAll.swift
[12/56] Compiling Then Await.swift
[13/56] Compiling Then Promise+First.swift
[14/56] Compiling Then Promise+nil.swift
[15/56] Compiling Then Promise.swift
[16/56] Compiling Then PromiseBlocks.swift
[17/56] Compiling Then Promise+Retry.swift
[18/56] Compiling Then Promise+Then.swift
[19/56] Compiling Then Promise+Timeout.swift
[20/56] Compiling Then Promise+Unwrap.swift
[21/56] Compiling Then Promise+Validate.swift
[22/56] Compiling Then Promise+Zip.swift
[23/56] Compiling Then Promise+Aliases.swift
[24/56] Compiling Then Promise+BridgeError.swift
[25/56] Compiling Then Promise+Chain.swift
[26/56] Compiling Then Promise+Progress.swift
[27/56] Compiling Then Promise+Race.swift
[28/56] Compiling Then Promise+Recover.swift
[29/56] Compiling Then Promise+Delay.swift
[30/56] Compiling Then Promise+Error.swift
[31/56] Compiling Then Promise+Finally.swift
[33/56] Compiling Then Promise+Helpers.swift
[34/56] Compiling Then Promise+NoMatterWhat.swift
[35/56] Compiling Then Async.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:14:16: error: cannot convert return expression of type 'Promise<T>' to return type 'T'
12 |
13 | public prefix func .. <T>(promise: Promise<T>) throws -> T {
14 |     return try await(promise)
   |                `- error: cannot convert return expression of type 'Promise<T>' to return type 'T'
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:14:16: error: 'await' in a function that does not support concurrency
11 | prefix operator ..
12 |
13 | public prefix func .. <T>(promise: Promise<T>) throws -> T {
   |                    `- note: add 'async' to function '..' to make it asynchronous
14 |     return try await(promise)
   |                `- error: 'await' in a function that does not support concurrency
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:19:16: error: cannot convert return expression of type 'Promise<T>' to return type 'T'
17 | public prefix func .. <T>(promise: Promise<T>?) throws -> T {
18 |     guard let promise = promise else { throw PromiseError.unwrappingFailed }
19 |     return try await(promise)
   |                `- error: cannot convert return expression of type 'Promise<T>' to return type 'T'
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:19:16: error: 'await' in a function that does not support concurrency
15 | }
16 |
17 | public prefix func .. <T>(promise: Promise<T>?) throws -> T {
   |                    `- note: add 'async' to function '..' to make it asynchronous
18 |     guard let promise = promise else { throw PromiseError.unwrappingFailed }
19 |     return try await(promise)
   |                `- error: 'await' in a function that does not support concurrency
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:26:20: error: cannot convert return expression of type 'Promise<T>' to return type 'T?'
24 | public prefix func ..? <T>(promise: Promise<T>) -> T? {
25 |     do {
26 |         return try await(promise)
   |                    `- error: cannot convert return expression of type 'Promise<T>' to return type 'T?'
27 |     } catch {
28 |         return nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:26:20: error: 'await' in a function that does not support concurrency
22 | prefix operator ..?
23 |
24 | public prefix func ..? <T>(promise: Promise<T>) -> T? {
   |                    `- note: add 'async' to function '..?' to make it asynchronous
25 |     do {
26 |         return try await(promise)
   |                    `- error: 'await' in a function that does not support concurrency
27 |     } catch {
28 |         return nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:35:20: error: cannot convert return expression of type 'Promise<T>' to return type 'T?'
33 |     guard let promise = promise else { return nil }
34 |     do {
35 |         return try await(promise)
   |                    `- error: cannot convert return expression of type 'Promise<T>' to return type 'T?'
36 |     } catch {
37 |         return nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:35:20: error: 'await' in a function that does not support concurrency
30 | }
31 |
32 | public prefix func ..? <T>(promise: Promise<T>?) -> T? {
   |                    `- note: add 'async' to function '..?' to make it asynchronous
33 |     guard let promise = promise else { return nil }
34 |     do {
35 |         return try await(promise)
   |                    `- error: 'await' in a function that does not support concurrency
36 |     } catch {
37 |         return nil
[36/56] Compiling Then Await+Operators.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:14:16: error: cannot convert return expression of type 'Promise<T>' to return type 'T'
12 |
13 | public prefix func .. <T>(promise: Promise<T>) throws -> T {
14 |     return try await(promise)
   |                `- error: cannot convert return expression of type 'Promise<T>' to return type 'T'
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:14:16: error: 'await' in a function that does not support concurrency
11 | prefix operator ..
12 |
13 | public prefix func .. <T>(promise: Promise<T>) throws -> T {
   |                    `- note: add 'async' to function '..' to make it asynchronous
14 |     return try await(promise)
   |                `- error: 'await' in a function that does not support concurrency
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:19:16: error: cannot convert return expression of type 'Promise<T>' to return type 'T'
17 | public prefix func .. <T>(promise: Promise<T>?) throws -> T {
18 |     guard let promise = promise else { throw PromiseError.unwrappingFailed }
19 |     return try await(promise)
   |                `- error: cannot convert return expression of type 'Promise<T>' to return type 'T'
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:19:16: error: 'await' in a function that does not support concurrency
15 | }
16 |
17 | public prefix func .. <T>(promise: Promise<T>?) throws -> T {
   |                    `- note: add 'async' to function '..' to make it asynchronous
18 |     guard let promise = promise else { throw PromiseError.unwrappingFailed }
19 |     return try await(promise)
   |                `- error: 'await' in a function that does not support concurrency
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:26:20: error: cannot convert return expression of type 'Promise<T>' to return type 'T?'
24 | public prefix func ..? <T>(promise: Promise<T>) -> T? {
25 |     do {
26 |         return try await(promise)
   |                    `- error: cannot convert return expression of type 'Promise<T>' to return type 'T?'
27 |     } catch {
28 |         return nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:26:20: error: 'await' in a function that does not support concurrency
22 | prefix operator ..?
23 |
24 | public prefix func ..? <T>(promise: Promise<T>) -> T? {
   |                    `- note: add 'async' to function '..?' to make it asynchronous
25 |     do {
26 |         return try await(promise)
   |                    `- error: 'await' in a function that does not support concurrency
27 |     } catch {
28 |         return nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:35:20: error: cannot convert return expression of type 'Promise<T>' to return type 'T?'
33 |     guard let promise = promise else { return nil }
34 |     do {
35 |         return try await(promise)
   |                    `- error: cannot convert return expression of type 'Promise<T>' to return type 'T?'
36 |     } catch {
37 |         return nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:35:20: error: 'await' in a function that does not support concurrency
30 | }
31 |
32 | public prefix func ..? <T>(promise: Promise<T>?) -> T? {
   |                    `- note: add 'async' to function '..?' to make it asynchronous
33 |     guard let promise = promise else { return nil }
34 |     do {
35 |         return try await(promise)
   |                    `- error: 'await' in a function that does not support concurrency
36 |     } catch {
37 |         return nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:14:16: error: cannot convert return expression of type 'Promise<T>' to return type 'T'
12 |
13 | public prefix func .. <T>(promise: Promise<T>) throws -> T {
14 |     return try await(promise)
   |                `- error: cannot convert return expression of type 'Promise<T>' to return type 'T'
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:14:16: error: 'await' in a function that does not support concurrency
11 | prefix operator ..
12 |
13 | public prefix func .. <T>(promise: Promise<T>) throws -> T {
   |                    `- note: add 'async' to function '..' to make it asynchronous
14 |     return try await(promise)
   |                `- error: 'await' in a function that does not support concurrency
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:19:16: error: cannot convert return expression of type 'Promise<T>' to return type 'T'
17 | public prefix func .. <T>(promise: Promise<T>?) throws -> T {
18 |     guard let promise = promise else { throw PromiseError.unwrappingFailed }
19 |     return try await(promise)
   |                `- error: cannot convert return expression of type 'Promise<T>' to return type 'T'
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:19:16: error: 'await' in a function that does not support concurrency
15 | }
16 |
17 | public prefix func .. <T>(promise: Promise<T>?) throws -> T {
   |                    `- note: add 'async' to function '..' to make it asynchronous
18 |     guard let promise = promise else { throw PromiseError.unwrappingFailed }
19 |     return try await(promise)
   |                `- error: 'await' in a function that does not support concurrency
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:26:20: error: cannot convert return expression of type 'Promise<T>' to return type 'T?'
24 | public prefix func ..? <T>(promise: Promise<T>) -> T? {
25 |     do {
26 |         return try await(promise)
   |                    `- error: cannot convert return expression of type 'Promise<T>' to return type 'T?'
27 |     } catch {
28 |         return nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:26:20: error: 'await' in a function that does not support concurrency
22 | prefix operator ..?
23 |
24 | public prefix func ..? <T>(promise: Promise<T>) -> T? {
   |                    `- note: add 'async' to function '..?' to make it asynchronous
25 |     do {
26 |         return try await(promise)
   |                    `- error: 'await' in a function that does not support concurrency
27 |     } catch {
28 |         return nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:35:20: error: cannot convert return expression of type 'Promise<T>' to return type 'T?'
33 |     guard let promise = promise else { return nil }
34 |     do {
35 |         return try await(promise)
   |                    `- error: cannot convert return expression of type 'Promise<T>' to return type 'T?'
36 |     } catch {
37 |         return nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Then/Source/Await+Operators.swift:35:20: error: 'await' in a function that does not support concurrency
30 | }
31 |
32 | public prefix func ..? <T>(promise: Promise<T>?) -> T? {
   |                    `- note: add 'async' to function '..?' to make it asynchronous
33 |     guard let promise = promise else { return nil }
34 |     do {
35 |         return try await(promise)
   |                    `- error: 'await' in a function that does not support concurrency
36 |     } catch {
37 |         return nil
BUILD FAILURE 6.0 macosSpm