This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

Swift 6 data race errors: 1

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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.0
Building package at path:  $workDir
https://github.com/sgade/InFlightValue.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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 2>&1
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>' exiting actor-isolated context in call to non-isolated property 'value' cannot cross actor boundary; 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>' exiting actor-isolated context in call to non-isolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to non-isolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to non-isolated property 'value' cannot cross actor boundary; 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 type 'Value' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Value' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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>' exiting actor-isolated context in call to non-isolated property 'value' cannot cross actor boundary; 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>' exiting actor-isolated context in call to non-isolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to non-isolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to non-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
44 |     }
45 |
Build complete! (8.14s)
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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.