The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CoronaErrors, reference master (14b345), with Swift 6.1 for Android on 27 May 2025 18:25:55 UTC.

Swift 6 data race errors: 9

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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/CooperCorona/CoronaErrors.git
Reference: master
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/CooperCorona/CoronaErrors
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 14b3459 Merge pull request #4 from CooperCorona/Swift5
Cloned https://github.com/CooperCorona/CoronaErrors.git
Revision (git rev-parse @):
14b3459de494f16dbd09b9bf3f732312587a0472
SUCCESS checkout https://github.com/CooperCorona/CoronaErrors.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/CooperCorona/CoronaErrors.git
https://github.com/CooperCorona/CoronaErrors.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CoronaErrors",
  "name" : "CoronaErrors",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CoronaErrors",
      "targets" : [
        "CoronaErrors"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CoronaErrorsTestHooks",
      "targets" : [
        "CoronaErrorsTestHooks"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CoronaErrorsTests",
      "module_type" : "SwiftTarget",
      "name" : "CoronaErrorsTests",
      "path" : "Tests/CoronaErrorsTests",
      "sources" : [
        "CoronaErrorsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CoronaErrors",
        "CoronaErrorsTestHooks"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CoronaErrorsTestHooks",
      "module_type" : "SwiftTarget",
      "name" : "CoronaErrorsTestHooks",
      "path" : "Sources/CoronaErrorsTestHooks",
      "product_memberships" : [
        "CoronaErrorsTestHooks"
      ],
      "sources" : [
        "Exception+XCTest.swift"
      ],
      "target_dependencies" : [
        "CoronaErrors"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoronaErrors",
      "module_type" : "SwiftTarget",
      "name" : "CoronaErrors",
      "path" : "Sources/CoronaErrors",
      "product_memberships" : [
        "CoronaErrors",
        "CoronaErrorsTestHooks"
      ],
      "sources" : [
        "CoronaErrors.swift",
        "Exception.swift",
        "FileNotFoundException.swift",
        "IOError.swift",
        "IOException.swift",
        "NilException.swift",
        "OperationError.swift",
        "OperationException.swift",
        "ParseError.swift",
        "ParseException.swift",
        "ValueError.swift",
        "ValueException.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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/15] Compiling CoronaErrors IOException.swift
/host/spi-builder-workspace/Sources/CoronaErrors/IOException.swift:11:12: warning: non-final class 'IOException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 9 |
10 | ///An exception thrown due to an issue with program input or output.
11 | open class IOException: Exception {
   |            `- warning: non-final class 'IOException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 |
13 |     ///Initializes an Exception instance.
/host/spi-builder-workspace/Sources/CoronaErrors/NilException.swift:13:12: warning: non-final class 'AnyNilException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | ///Catch this exception when you only care about a nil value and
12 | ///not what type the value should have been.
13 | open class AnyNilException: Exception {
   |            `- warning: non-final class 'AnyNilException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 |     fileprivate override init(error:Error, message:String?, stackTrace:[String]? = nil) {
15 |         super.init(error: error, message: message, stackTrace: stackTrace)
/host/spi-builder-workspace/Sources/CoronaErrors/NilException.swift:22:12: warning: non-final class 'NilException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
20 | ///is accessed. Catch this exception when you care about the specific
21 | ///type a nil value should have been.
22 | open class NilException<T>: AnyNilException {
   |            `- warning: non-final class 'NilException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
23 |
24 |     ///Initializes a NilException.
[5/15] Compiling CoronaErrors NilException.swift
/host/spi-builder-workspace/Sources/CoronaErrors/IOException.swift:11:12: warning: non-final class 'IOException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 9 |
10 | ///An exception thrown due to an issue with program input or output.
11 | open class IOException: Exception {
   |            `- warning: non-final class 'IOException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 |
13 |     ///Initializes an Exception instance.
/host/spi-builder-workspace/Sources/CoronaErrors/NilException.swift:13:12: warning: non-final class 'AnyNilException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | ///Catch this exception when you only care about a nil value and
12 | ///not what type the value should have been.
13 | open class AnyNilException: Exception {
   |            `- warning: non-final class 'AnyNilException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 |     fileprivate override init(error:Error, message:String?, stackTrace:[String]? = nil) {
15 |         super.init(error: error, message: message, stackTrace: stackTrace)
/host/spi-builder-workspace/Sources/CoronaErrors/NilException.swift:22:12: warning: non-final class 'NilException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
20 | ///is accessed. Catch this exception when you care about the specific
21 | ///type a nil value should have been.
22 | open class NilException<T>: AnyNilException {
   |            `- warning: non-final class 'NilException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
23 |
24 |     ///Initializes a NilException.
[6/16] Compiling CoronaErrors ValueError.swift
[7/16] Compiling CoronaErrors ParseException.swift
/host/spi-builder-workspace/Sources/CoronaErrors/ParseException.swift:11:12: warning: non-final class 'ParseException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 9 |
10 | ///An exception thrown when failing to parse an object.
11 | open class ParseException: Exception {
   |            `- warning: non-final class 'ParseException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 |
13 |     ///Initializes an Exception instance.
[8/16] Compiling CoronaErrors FileNotFoundException.swift
/host/spi-builder-workspace/Sources/CoronaErrors/FileNotFoundException.swift:12:12: warning: non-final class 'FileNotFoundException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
10 | ///An exception thrown when a file or directory on the file system
11 | ///cannot be found.
12 | open class FileNotFoundException: IOException {
   |            `- warning: non-final class 'FileNotFoundException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
13 |
14 |     ///The path of the file attempted to be accessed.
[9/16] Compiling CoronaErrors IOError.swift
/host/spi-builder-workspace/Sources/CoronaErrors/FileNotFoundException.swift:12:12: warning: non-final class 'FileNotFoundException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
10 | ///An exception thrown when a file or directory on the file system
11 | ///cannot be found.
12 | open class FileNotFoundException: IOException {
   |            `- warning: non-final class 'FileNotFoundException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
13 |
14 |     ///The path of the file attempted to be accessed.
[10/16] Emitting module CoronaErrors
/host/spi-builder-workspace/Sources/CoronaErrors/Exception.swift:12:12: warning: non-final class 'Exception' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
10 | ///An error that can be thrown. Encapsulates the type of
11 | ///error, the description, and any additional metadata.
12 | open class Exception: Error, CustomStringConvertible {
   |            `- warning: non-final class 'Exception' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
13 |
14 |     ///The error that caused the exception.
/host/spi-builder-workspace/Sources/CoronaErrors/FileNotFoundException.swift:12:12: warning: non-final class 'FileNotFoundException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
10 | ///An exception thrown when a file or directory on the file system
11 | ///cannot be found.
12 | open class FileNotFoundException: IOException {
   |            `- warning: non-final class 'FileNotFoundException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
13 |
14 |     ///The path of the file attempted to be accessed.
/host/spi-builder-workspace/Sources/CoronaErrors/IOException.swift:11:12: warning: non-final class 'IOException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 9 |
10 | ///An exception thrown due to an issue with program input or output.
11 | open class IOException: Exception {
   |            `- warning: non-final class 'IOException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 |
13 |     ///Initializes an Exception instance.
/host/spi-builder-workspace/Sources/CoronaErrors/NilException.swift:13:12: warning: non-final class 'AnyNilException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | ///Catch this exception when you only care about a nil value and
12 | ///not what type the value should have been.
13 | open class AnyNilException: Exception {
   |            `- warning: non-final class 'AnyNilException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 |     fileprivate override init(error:Error, message:String?, stackTrace:[String]? = nil) {
15 |         super.init(error: error, message: message, stackTrace: stackTrace)
/host/spi-builder-workspace/Sources/CoronaErrors/NilException.swift:22:12: warning: non-final class 'NilException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
20 | ///is accessed. Catch this exception when you care about the specific
21 | ///type a nil value should have been.
22 | open class NilException<T>: AnyNilException {
   |            `- warning: non-final class 'NilException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
23 |
24 |     ///Initializes a NilException.
/host/spi-builder-workspace/Sources/CoronaErrors/OperationException.swift:11:12: warning: non-final class 'OperationException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 9 |
10 | ///An exception thrown when an operation cannot be completed.
11 | open class OperationException: Exception {
   |            `- warning: non-final class 'OperationException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 |
13 |     ///Initializes an Exception instance.
/host/spi-builder-workspace/Sources/CoronaErrors/ParseException.swift:11:12: warning: non-final class 'ParseException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 9 |
10 | ///An exception thrown when failing to parse an object.
11 | open class ParseException: Exception {
   |            `- warning: non-final class 'ParseException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 |
13 |     ///Initializes an Exception instance.
/host/spi-builder-workspace/Sources/CoronaErrors/ValueException.swift:11:12: warning: non-final class 'ValueException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 9 |
10 | ///An exception caused by an incorrect value.
11 | open 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
12 |
13 |     ///The value that caused the exception.
/host/spi-builder-workspace/Sources/CoronaErrors/ValueException.swift:14:16: warning: stored property 'actualValue' of 'Sendable'-conforming generic class 'ValueException' has non-sendable type 'T'; this is an error in the Swift 6 language mode
 9 |
10 | ///An exception caused by an incorrect value.
11 | open class ValueException<T>: Exception {
   |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 |
13 |     ///The value that caused the exception.
14 |     public let actualValue:T
   |                `- warning: stored property 'actualValue' of 'Sendable'-conforming generic class 'ValueException' has non-sendable type 'T'; this is an error in the Swift 6 language mode
15 |
16 |     ///Initializes an Exception instance.
[11/16] Compiling CoronaErrors CoronaErrors.swift
/host/spi-builder-workspace/Sources/CoronaErrors/Exception.swift:12:12: warning: non-final class 'Exception' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
10 | ///An error that can be thrown. Encapsulates the type of
11 | ///error, the description, and any additional metadata.
12 | open class Exception: Error, CustomStringConvertible {
   |            `- warning: non-final class 'Exception' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
13 |
14 |     ///The error that caused the exception.
[12/16] Compiling CoronaErrors Exception.swift
/host/spi-builder-workspace/Sources/CoronaErrors/Exception.swift:12:12: warning: non-final class 'Exception' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
10 | ///An error that can be thrown. Encapsulates the type of
11 | ///error, the description, and any additional metadata.
12 | open class Exception: Error, CustomStringConvertible {
   |            `- warning: non-final class 'Exception' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
13 |
14 |     ///The error that caused the exception.
[13/16] Compiling CoronaErrors OperationError.swift
/host/spi-builder-workspace/Sources/CoronaErrors/OperationException.swift:11:12: warning: non-final class 'OperationException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 9 |
10 | ///An exception thrown when an operation cannot be completed.
11 | open class OperationException: Exception {
   |            `- warning: non-final class 'OperationException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 |
13 |     ///Initializes an Exception instance.
[14/16] Compiling CoronaErrors OperationException.swift
/host/spi-builder-workspace/Sources/CoronaErrors/OperationException.swift:11:12: warning: non-final class 'OperationException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 9 |
10 | ///An exception thrown when an operation cannot be completed.
11 | open class OperationException: Exception {
   |            `- warning: non-final class 'OperationException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 |
13 |     ///Initializes an Exception instance.
[15/16] Compiling CoronaErrors ParseError.swift
[16/16] Compiling CoronaErrors ValueException.swift
/host/spi-builder-workspace/Sources/CoronaErrors/ValueException.swift:11:12: warning: non-final class 'ValueException' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 9 |
10 | ///An exception caused by an incorrect value.
11 | open 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
12 |
13 |     ///The value that caused the exception.
/host/spi-builder-workspace/Sources/CoronaErrors/ValueException.swift:14:16: warning: stored property 'actualValue' of 'Sendable'-conforming generic class 'ValueException' has non-sendable type 'T'; this is an error in the Swift 6 language mode
 9 |
10 | ///An exception caused by an incorrect value.
11 | open class ValueException<T>: Exception {
   |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 |
13 |     ///The value that caused the exception.
14 |     public let actualValue:T
   |                `- warning: stored property 'actualValue' of 'Sendable'-conforming generic class 'ValueException' has non-sendable type 'T'; this is an error in the Swift 6 language mode
15 |
16 |     ///Initializes an Exception instance.
[18/19] Emitting module CoronaErrorsTestHooks
[19/19] Compiling CoronaErrorsTestHooks Exception+XCTest.swift
Build complete! (10.96s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CoronaErrors",
  "name" : "CoronaErrors",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CoronaErrors",
      "targets" : [
        "CoronaErrors"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CoronaErrorsTestHooks",
      "targets" : [
        "CoronaErrorsTestHooks"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CoronaErrorsTests",
      "module_type" : "SwiftTarget",
      "name" : "CoronaErrorsTests",
      "path" : "Tests/CoronaErrorsTests",
      "sources" : [
        "CoronaErrorsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CoronaErrors",
        "CoronaErrorsTestHooks"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CoronaErrorsTestHooks",
      "module_type" : "SwiftTarget",
      "name" : "CoronaErrorsTestHooks",
      "path" : "Sources/CoronaErrorsTestHooks",
      "product_memberships" : [
        "CoronaErrorsTestHooks"
      ],
      "sources" : [
        "Exception+XCTest.swift"
      ],
      "target_dependencies" : [
        "CoronaErrors"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoronaErrors",
      "module_type" : "SwiftTarget",
      "name" : "CoronaErrors",
      "path" : "Sources/CoronaErrors",
      "product_memberships" : [
        "CoronaErrors",
        "CoronaErrorsTestHooks"
      ],
      "sources" : [
        "CoronaErrors.swift",
        "Exception.swift",
        "FileNotFoundException.swift",
        "IOError.swift",
        "IOException.swift",
        "NilException.swift",
        "OperationError.swift",
        "OperationException.swift",
        "ParseError.swift",
        "ParseException.swift",
        "ValueError.swift",
        "ValueException.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.