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

Successful build of InFlightValue, reference main (9b5af6), with Swift 6.1 for Linux on 26 Apr 2025 18:13:46 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sgade/InFlightValue.git
Reference: main
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/sgade/InFlightValue
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9b5af68 Remove warning in Xcode 13.2.1.
Cloned https://github.com/sgade/InFlightValue.git
Revision (git rev-parse @):
9b5af68d42affc21b4a93d6f8f8bf3c1227191a0
SUCCESS checkout https://github.com/sgade/InFlightValue.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sgade/InFlightValue.git
https://github.com/sgade/InFlightValue.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "InFlightValue",
  "name" : "InFlightValue",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "InFlightValue",
      "targets" : [
        "InFlightValue"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "InFlightValueTests",
      "module_type" : "SwiftTarget",
      "name" : "InFlightValueTests",
      "path" : "Tests/InFlightValueTests",
      "sources" : [
        "InFlightValueTests.swift"
      ],
      "target_dependencies" : [
        "InFlightValue"
      ],
      "type" : "test"
    },
    {
      "c99name" : "InFlightValue",
      "module_type" : "SwiftTarget",
      "name" : "InFlightValue",
      "path" : "Sources/InFlightValue",
      "product_memberships" : [
        "InFlightValue"
      ],
      "sources" : [
        "InFlightValueProvider.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module InFlightValue
/host/spi-builder-workspace/Sources/InFlightValue/InFlightValueProvider.swift:17:17: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 |
 9 | /// Provides access to in-flight calls to values of a producer.
10 | public actor InFlightValueProvider<Value> {
   |                                    `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
11 |
12 |     /// Provides a `Value` or throws an `Error`.
   :
15 |     private var producer: ValueProducer
16 |     /// A possible in-flight call. `nil` if not awaiting any calls currently.
17 |     private var activeTask: Task<Value, Error>?
   |                 `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 |
19 |     public init(_ producer: @escaping ValueProducer) {
[4/4] Compiling InFlightValue InFlightValueProvider.swift
/host/spi-builder-workspace/Sources/InFlightValue/InFlightValueProvider.swift:17:17: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 |
 9 | /// Provides access to in-flight calls to values of a producer.
10 | public actor InFlightValueProvider<Value> {
   |                                    `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
11 |
12 |     /// Provides a `Value` or throws an `Error`.
   :
15 |     private var producer: ValueProducer
16 |     /// A possible in-flight call. `nil` if not awaiting any calls currently.
17 |     private var activeTask: Task<Value, Error>?
   |                 `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 |
19 |     public init(_ producer: @escaping ValueProducer) {
/host/spi-builder-workspace/Sources/InFlightValue/InFlightValueProvider.swift:33:41: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 |
 9 | /// Provides access to in-flight calls to values of a producer.
10 | public actor InFlightValueProvider<Value> {
   |                                    `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
11 |
12 |     /// Provides a `Value` or throws an `Error`.
   :
31 |     public func get() async throws -> Value {
32 |         if let activeTask = activeTask {
33 |             return try await activeTask.value
   |                                         `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
34 |         }
35 |
/host/spi-builder-workspace/Sources/InFlightValue/InFlightValueProvider.swift:36:23: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 |
 9 | /// Provides access to in-flight calls to values of a producer.
10 | public actor InFlightValueProvider<Value> {
   |                                    `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
11 |
12 |     /// Provides a `Value` or throws an `Error`.
   :
34 |         }
35 |
36 |         let newTask = Task<Value, Error> {
   |                       `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 |             return try await producer()
38 |         }
/host/spi-builder-workspace/Sources/InFlightValue/InFlightValueProvider.swift:36:40: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 |
 9 | /// Provides access to in-flight calls to values of a producer.
10 | public actor InFlightValueProvider<Value> {
   |                                    `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
11 |
12 |     /// Provides a `Value` or throws an `Error`.
   :
34 |         }
35 |
36 |         let newTask = Task<Value, Error> {
   |                                        `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 |             return try await producer()
38 |         }
/host/spi-builder-workspace/Sources/InFlightValue/InFlightValueProvider.swift:43:34: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 |
 9 | /// Provides access to in-flight calls to values of a producer.
10 | public actor InFlightValueProvider<Value> {
   |                                    `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
11 |
12 |     /// Provides a `Value` or throws an `Error`.
   :
41 |         activeTask = newTask
42 |
43 |         return try await newTask.value
   |                                  `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
44 |     }
45 |
/host/spi-builder-workspace/Sources/InFlightValue/InFlightValueProvider.swift:33:30: warning: non-sendable type 'Task<Value, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
 8 |
 9 | /// Provides access to in-flight calls to values of a producer.
10 | public actor InFlightValueProvider<Value> {
   |                                    `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
11 |
12 |     /// Provides a `Value` or throws an `Error`.
   :
31 |     public func get() async throws -> Value {
32 |         if let activeTask = activeTask {
33 |             return try await activeTask.value
   |                              `- warning: non-sendable type 'Task<Value, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
34 |         }
35 |
/host/spi-builder-workspace/Sources/InFlightValue/InFlightValueProvider.swift:33:41: warning: non-sendable type 'Value' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
 8 |
 9 | /// Provides access to in-flight calls to values of a producer.
10 | public actor InFlightValueProvider<Value> {
   |                                    `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
11 |
12 |     /// Provides a `Value` or throws an `Error`.
   :
31 |     public func get() async throws -> Value {
32 |         if let activeTask = activeTask {
33 |             return try await activeTask.value
   |                                         `- warning: non-sendable type 'Value' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
34 |         }
35 |
/host/spi-builder-workspace/Sources/InFlightValue/InFlightValueProvider.swift:37:30: warning: non-sendable result type 'Value' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
 8 |
 9 | /// Provides access to in-flight calls to values of a producer.
10 | public actor InFlightValueProvider<Value> {
   |                                    `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
11 |
12 |     /// Provides a `Value` or throws an `Error`.
   :
35 |
36 |         let newTask = Task<Value, Error> {
37 |             return try await producer()
   |                              `- warning: non-sendable result type 'Value' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
38 |         }
39 |
/host/spi-builder-workspace/Sources/InFlightValue/InFlightValueProvider.swift:43:26: warning: non-sendable type 'Task<Value, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
 8 |
 9 | /// Provides access to in-flight calls to values of a producer.
10 | public actor InFlightValueProvider<Value> {
   |                                    `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
11 |
12 |     /// Provides a `Value` or throws an `Error`.
   :
41 |         activeTask = newTask
42 |
43 |         return try await newTask.value
   |                          `- warning: non-sendable type 'Task<Value, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
44 |     }
45 |
/host/spi-builder-workspace/Sources/InFlightValue/InFlightValueProvider.swift:43:34: warning: non-sendable type 'Value' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
 8 |
 9 | /// Provides access to in-flight calls to values of a producer.
10 | public actor InFlightValueProvider<Value> {
   |                                    `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
11 |
12 |     /// Provides a `Value` or throws an `Error`.
   :
41 |         activeTask = newTask
42 |
43 |         return try await newTask.value
   |                                  `- warning: non-sendable type 'Value' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
44 |     }
45 |
Build complete! (3.08s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "InFlightValue",
  "name" : "InFlightValue",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "InFlightValue",
      "targets" : [
        "InFlightValue"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "InFlightValueTests",
      "module_type" : "SwiftTarget",
      "name" : "InFlightValueTests",
      "path" : "Tests/InFlightValueTests",
      "sources" : [
        "InFlightValueTests.swift"
      ],
      "target_dependencies" : [
        "InFlightValue"
      ],
      "type" : "test"
    },
    {
      "c99name" : "InFlightValue",
      "module_type" : "SwiftTarget",
      "name" : "InFlightValue",
      "path" : "Sources/InFlightValue",
      "product_memberships" : [
        "InFlightValue"
      ],
      "sources" : [
        "InFlightValueProvider.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.