The Swift Package Index logo.Swift Package Index

Build Information

Successful build of XPKit, reference 1.0.0 (08b328), with Swift 6.1 for Wasm on 27 May 2025 10:00:39 UTC.

Swift 6 data race errors: 6

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/exceptionalprogramming/xp-swift.git
Reference: 1.0.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/exceptionalprogramming/xp-swift
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 08b3281 Swift 5.0 update
Cloned https://github.com/exceptionalprogramming/xp-swift.git
Revision (git rev-parse @):
08b3281a9c7052791422f0074126ed072beff014
SUCCESS checkout https://github.com/exceptionalprogramming/xp-swift.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/exceptionalprogramming/xp-swift.git
https://github.com/exceptionalprogramming/xp-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XPKit",
  "name" : "XPKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XPKit",
      "targets" : [
        "XPKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XPKitTests",
      "module_type" : "SwiftTarget",
      "name" : "XPKitTests",
      "path" : "Tests/XPKitTests",
      "sources" : [
        "XCTestManifests.swift",
        "XPKitTests.swift"
      ],
      "target_dependencies" : [
        "XPKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XPKit",
      "module_type" : "SwiftTarget",
      "name" : "XPKit",
      "path" : "Sources/XPKit",
      "product_memberships" : [
        "XPKit"
      ],
      "sources" : [
        "Arithmetic/Add.swift",
        "Exceptions/Exception.swift",
        "Exceptions/FatalException.swift",
        "Exceptions/ProgramTerminated.swift",
        "Exceptions/RuntimeException.swift",
        "Exceptions/ValueException.swift",
        "XPKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling XPKit FatalException.swift
/host/spi-builder-workspace/Sources/XPKit/Exceptions/FatalException.swift:6:14: warning: non-final class 'FatalException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 | //
 5 |
 6 | public class FatalException: RuntimeException {
   |              `- warning: non-final class 'FatalException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 7 | 	convenience init(_ file: String = #file, _ line: Int = #line) {
 8 | 		self.init("FatalException thrown in \(file) line \(line)")
[4/10] Compiling XPKit XPKit.swift
[5/10] Compiling XPKit ValueException.swift
/host/spi-builder-workspace/Sources/XPKit/Exceptions/ValueException.swift:6:14: warning: non-final class 'ValueException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 | //
 5 |
 6 | public class ValueException<T>: Exception {
   |              `- warning: non-final class 'ValueException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 7 | 	public let value: T
 8 |
/host/spi-builder-workspace/Sources/XPKit/Exceptions/ValueException.swift:7:13: warning: stored property 'value' of 'Sendable'-conforming generic class 'ValueException' has non-sendable type 'T'; this is an error in the Swift 6 language mode
 4 | //
 5 |
 6 | public class ValueException<T>: Exception {
   |                             `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 7 | 	public let value: T
   |             `- warning: stored property 'value' of 'Sendable'-conforming generic class 'ValueException' has non-sendable type 'T'; this is an error in the Swift 6 language mode
 8 |
 9 | 	public init(_ value: T) {
[6/10] Compiling XPKit RuntimeException.swift
/host/spi-builder-workspace/Sources/XPKit/Exceptions/RuntimeException.swift:6:12: warning: non-final class 'RuntimeException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 | //
 5 |
 6 | open class RuntimeException: Exception {
   |            `- warning: non-final class 'RuntimeException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 7 | 	public let message: String
 8 |
[7/10] Compiling XPKit ProgramTerminated.swift
/host/spi-builder-workspace/Sources/XPKit/Exceptions/ProgramTerminated.swift:6:14: warning: non-final class 'ProgramTerminated' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
4 | //
5 |
6 | public class ProgramTerminated: Exception {}
  |              `- warning: non-final class 'ProgramTerminated' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
7 |
[8/10] Emitting module XPKit
/host/spi-builder-workspace/Sources/XPKit/Exceptions/Exception.swift:6:12: warning: non-final class 'Exception' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
4 | //
5 |
6 | open class Exception: Error {}
  |            `- warning: non-final class 'Exception' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
7 |
/host/spi-builder-workspace/Sources/XPKit/Exceptions/FatalException.swift:6:14: warning: non-final class 'FatalException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 | //
 5 |
 6 | public class FatalException: RuntimeException {
   |              `- warning: non-final class 'FatalException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 7 | 	convenience init(_ file: String = #file, _ line: Int = #line) {
 8 | 		self.init("FatalException thrown in \(file) line \(line)")
/host/spi-builder-workspace/Sources/XPKit/Exceptions/ProgramTerminated.swift:6:14: warning: non-final class 'ProgramTerminated' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
4 | //
5 |
6 | public class ProgramTerminated: Exception {}
  |              `- warning: non-final class 'ProgramTerminated' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
7 |
/host/spi-builder-workspace/Sources/XPKit/Exceptions/RuntimeException.swift:6:12: warning: non-final class 'RuntimeException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 | //
 5 |
 6 | open class RuntimeException: Exception {
   |            `- warning: non-final class 'RuntimeException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 7 | 	public let message: String
 8 |
/host/spi-builder-workspace/Sources/XPKit/Exceptions/ValueException.swift:6:14: warning: non-final class 'ValueException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 | //
 5 |
 6 | public class ValueException<T>: Exception {
   |              `- warning: non-final class 'ValueException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 7 | 	public let value: T
 8 |
/host/spi-builder-workspace/Sources/XPKit/Exceptions/ValueException.swift:7:13: warning: stored property 'value' of 'Sendable'-conforming generic class 'ValueException' has non-sendable type 'T'; this is an error in the Swift 6 language mode
 4 | //
 5 |
 6 | public class ValueException<T>: Exception {
   |                             `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 7 | 	public let value: T
   |             `- warning: stored property 'value' of 'Sendable'-conforming generic class 'ValueException' has non-sendable type 'T'; this is an error in the Swift 6 language mode
 8 |
 9 | 	public init(_ value: T) {
[9/10] Compiling XPKit Exception.swift
/host/spi-builder-workspace/Sources/XPKit/Exceptions/Exception.swift:6:12: warning: non-final class 'Exception' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
4 | //
5 |
6 | open class Exception: Error {}
  |            `- warning: non-final class 'Exception' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
7 |
[10/10] Compiling XPKit Add.swift
Build complete! (3.65s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XPKit",
  "name" : "XPKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XPKit",
      "targets" : [
        "XPKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XPKitTests",
      "module_type" : "SwiftTarget",
      "name" : "XPKitTests",
      "path" : "Tests/XPKitTests",
      "sources" : [
        "XCTestManifests.swift",
        "XPKitTests.swift"
      ],
      "target_dependencies" : [
        "XPKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XPKit",
      "module_type" : "SwiftTarget",
      "name" : "XPKit",
      "path" : "Sources/XPKit",
      "product_memberships" : [
        "XPKit"
      ],
      "sources" : [
        "Arithmetic/Add.swift",
        "Exceptions/Exception.swift",
        "Exceptions/FatalException.swift",
        "Exceptions/ProgramTerminated.swift",
        "Exceptions/RuntimeException.swift",
        "Exceptions/ValueException.swift",
        "XPKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.