Build Information
Successful build of GampKit, reference 0.2.0 (2d4fd0
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 02:01:42 UTC.
Swift 6 data race errors: 1
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/brightdigit/GampKit.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/brightdigit/GampKit
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 2d4fd07 Version 0.2.0
Cloned https://github.com/brightdigit/GampKit.git
Revision (git rev-parse @):
2d4fd07d18173507d8c48a2927b47a7671328ffe
SUCCESS checkout https://github.com/brightdigit/GampKit.git at 0.2.0
========================================
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": "gampkit",
"name": "GampKit",
"url": "https://github.com/brightdigit/GampKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GampKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/brightdigit/GampKit.git
[1/1204] Fetching gampkit
Fetched https://github.com/brightdigit/GampKit.git from cache (2.18s)
Creating working copy for https://github.com/brightdigit/GampKit.git
Working copy of https://github.com/brightdigit/GampKit.git resolved at 0.2.0 (2d4fd07)
warning: '.resolve-product-dependencies': dependency 'gampkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/brightdigit/GampKit.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/39] Emitting module GampKit
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:3: warning: extension declares a conformance of imported type 'NSException' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
2 |
3 | #if !os(Linux)
4 | extension NSException: AnalyticsExceptionProtocol, Error {
| |- warning: extension declares a conformance of imported type 'NSException' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public var error: Error {
6 | self
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:3: warning: conformance to 'Sendable' must occur in the same source file as class 'NSException'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
2 |
3 | #if !os(Linux)
4 | extension NSException: AnalyticsExceptionProtocol, Error {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'NSException'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
5 | public var error: Error {
6 | self
[4/42] Compiling GampKit AnalyticsException.swift
[5/42] Compiling GampKit AnalyticsHitParserMessage.swift
[6/42] Compiling GampKit AnalyticsHitParserMessageType.swift
[7/42] Compiling GampKit AnalyticsHitParsingResult.swift
[8/42] Compiling GampKit AnalyticsTimingProtocol.swift
[9/42] Compiling GampKit AnalyticsTrackable.swift
[10/42] Compiling GampKit AnalyticsTrackerProtocol.swift
[11/42] Compiling GampKit Request.swift
[12/42] Compiling GampKit AnalyticsHitType.swift
[13/42] Compiling GampKit AnalyticsParameterDictionary.swift
[14/42] Compiling GampKit AnalyticsParameterKey.swift
[15/42] Compiling GampKit AnalyticsResult.swift
[16/42] Compiling GampKit AnalyticsParameterable.swift
[17/42] Compiling GampKit AnalyticsRequestBuilderProtocol.swift
[18/42] Compiling GampKit AnalyticsResultDecoderProtocol.swift
[19/42] Compiling GampKit AnalyticsSessionManagerProtocol.swift
[20/42] Compiling GampKit Session.swift
[21/42] Compiling GampKit URLSessionable.swift
[22/42] Compiling GampKit URLSessionableDataTask.swift
[23/42] Compiling GampKit AnalyticsConfigurationProtocol.swift
[24/42] Compiling GampKit AnalyticsEventProtocol.swift
[25/42] Compiling GampKit AnalyticsExceptionProtocol.swift
[26/42] Compiling GampKit AnalyticsParameterEncoderProtocol.swift
[27/42] Compiling GampKit AnalyticsParameterEncoder.swift
[28/42] Compiling GampKit AnalyticsRequestBuilder.swift
[29/42] Compiling GampKit AnalyticsResultDecoder.swift
[30/42] Compiling GampKit AnalyticsSessionManager.swift
[31/42] Compiling GampKit AnalyticsTracker.swift
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:3: warning: extension declares a conformance of imported type 'NSException' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
2 |
3 | #if !os(Linux)
4 | extension NSException: AnalyticsExceptionProtocol, Error {
| |- warning: extension declares a conformance of imported type 'NSException' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public var error: Error {
6 | self
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:3: warning: conformance to 'Sendable' must occur in the same source file as class 'NSException'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
2 |
3 | #if !os(Linux)
4 | extension NSException: AnalyticsExceptionProtocol, Error {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'NSException'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
5 | public var error: Error {
6 | self
[32/42] Compiling GampKit AnalyticsURLSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:3: warning: extension declares a conformance of imported type 'NSException' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
2 |
3 | #if !os(Linux)
4 | extension NSException: AnalyticsExceptionProtocol, Error {
| |- warning: extension declares a conformance of imported type 'NSException' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public var error: Error {
6 | self
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:3: warning: conformance to 'Sendable' must occur in the same source file as class 'NSException'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
2 |
3 | #if !os(Linux)
4 | extension NSException: AnalyticsExceptionProtocol, Error {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'NSException'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
5 | public var error: Error {
6 | self
[33/42] Compiling GampKit NSException.swift
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:3: warning: extension declares a conformance of imported type 'NSException' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
2 |
3 | #if !os(Linux)
4 | extension NSException: AnalyticsExceptionProtocol, Error {
| |- warning: extension declares a conformance of imported type 'NSException' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public var error: Error {
6 | self
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:3: warning: conformance to 'Sendable' must occur in the same source file as class 'NSException'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
2 |
3 | #if !os(Linux)
4 | extension NSException: AnalyticsExceptionProtocol, Error {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'NSException'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
5 | public var error: Error {
6 | self
[34/42] Compiling GampKit URLRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:3: warning: extension declares a conformance of imported type 'NSException' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
2 |
3 | #if !os(Linux)
4 | extension NSException: AnalyticsExceptionProtocol, Error {
| |- warning: extension declares a conformance of imported type 'NSException' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public var error: Error {
6 | self
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:3: warning: conformance to 'Sendable' must occur in the same source file as class 'NSException'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
2 |
3 | #if !os(Linux)
4 | extension NSException: AnalyticsExceptionProtocol, Error {
| `- warning: conformance to 'Sendable' must occur in the same source file as class 'NSException'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
5 | public var error: Error {
6 | self
[35/42] Compiling GampKit URLSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:11:7: warning: capture of 'completion' with non-sendable type '(AnalyticsResult) -> Void' (aka '(Result<Optional<AnalyticsValidation>, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
10 | dataTask(with: request) { data, _, error in
11 | completion(decoder.decode(data, error))
| |- warning: capture of 'completion' with non-sendable type '(AnalyticsResult) -> Void' (aka '(Result<Optional<AnalyticsValidation>, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
12 | }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:11:18: warning: capture of 'decoder' with non-sendable type 'any AnalyticsResultDecoderProtocol' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
10 | dataTask(with: request) { data, _, error in
11 | completion(decoder.decode(data, error))
| `- warning: capture of 'decoder' with non-sendable type 'any AnalyticsResultDecoderProtocol' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 | }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Protocols/AnalyticsResultDecoderProtocol.swift:2:17: note: protocol 'AnalyticsResultDecoderProtocol' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol AnalyticsResultDecoderProtocol {
| `- note: protocol 'AnalyticsResultDecoderProtocol' does not conform to the 'Sendable' protocol
3 | func decode(_ data: Data) -> AnalyticsResult
4 | }
[36/42] Compiling GampKit URLSessionDataTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:11:7: warning: capture of 'completion' with non-sendable type '(AnalyticsResult) -> Void' (aka '(Result<Optional<AnalyticsValidation>, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
10 | dataTask(with: request) { data, _, error in
11 | completion(decoder.decode(data, error))
| |- warning: capture of 'completion' with non-sendable type '(AnalyticsResult) -> Void' (aka '(Result<Optional<AnalyticsValidation>, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
12 | }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:11:18: warning: capture of 'decoder' with non-sendable type 'any AnalyticsResultDecoderProtocol' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
10 | dataTask(with: request) { data, _, error in
11 | completion(decoder.decode(data, error))
| `- warning: capture of 'decoder' with non-sendable type 'any AnalyticsResultDecoderProtocol' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 | }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Protocols/AnalyticsResultDecoderProtocol.swift:2:17: note: protocol 'AnalyticsResultDecoderProtocol' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol AnalyticsResultDecoderProtocol {
| `- note: protocol 'AnalyticsResultDecoderProtocol' does not conform to the 'Sendable' protocol
3 | func decode(_ data: Data) -> AnalyticsResult
4 | }
[37/42] Compiling GampKit AnalyticsConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:11:7: warning: capture of 'completion' with non-sendable type '(AnalyticsResult) -> Void' (aka '(Result<Optional<AnalyticsValidation>, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
10 | dataTask(with: request) { data, _, error in
11 | completion(decoder.decode(data, error))
| |- warning: capture of 'completion' with non-sendable type '(AnalyticsResult) -> Void' (aka '(Result<Optional<AnalyticsValidation>, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
12 | }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:11:18: warning: capture of 'decoder' with non-sendable type 'any AnalyticsResultDecoderProtocol' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
10 | dataTask(with: request) { data, _, error in
11 | completion(decoder.decode(data, error))
| `- warning: capture of 'decoder' with non-sendable type 'any AnalyticsResultDecoderProtocol' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 | }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Protocols/AnalyticsResultDecoderProtocol.swift:2:17: note: protocol 'AnalyticsResultDecoderProtocol' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol AnalyticsResultDecoderProtocol {
| `- note: protocol 'AnalyticsResultDecoderProtocol' does not conform to the 'Sendable' protocol
3 | func decode(_ data: Data) -> AnalyticsResult
4 | }
[38/42] Compiling GampKit AnalyticsEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:11:7: warning: capture of 'completion' with non-sendable type '(AnalyticsResult) -> Void' (aka '(Result<Optional<AnalyticsValidation>, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
10 | dataTask(with: request) { data, _, error in
11 | completion(decoder.decode(data, error))
| |- warning: capture of 'completion' with non-sendable type '(AnalyticsResult) -> Void' (aka '(Result<Optional<AnalyticsValidation>, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
12 | }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:11:18: warning: capture of 'decoder' with non-sendable type 'any AnalyticsResultDecoderProtocol' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
10 | dataTask(with: request) { data, _, error in
11 | completion(decoder.decode(data, error))
| `- warning: capture of 'decoder' with non-sendable type 'any AnalyticsResultDecoderProtocol' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 | }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/GampKit/Protocols/AnalyticsResultDecoderProtocol.swift:2:17: note: protocol 'AnalyticsResultDecoderProtocol' does not conform to the 'Sendable' protocol
1 | import Foundation
2 | public protocol AnalyticsResultDecoderProtocol {
| `- note: protocol 'AnalyticsResultDecoderProtocol' does not conform to the 'Sendable' protocol
3 | func decode(_ data: Data) -> AnalyticsResult
4 | }
[39/42] Compiling GampKit AnalyticsTiming.swift
[40/42] Compiling GampKit AnalyticsURLs.swift
[41/42] Compiling GampKit AnalyticsValidation.swift
[42/42] Compiling GampKit StringEncodingError.swift
Build complete! (14.65s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "GampKit",
"name" : "GampKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "GampKit",
"targets" : [
"GampKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GampKitTests",
"module_type" : "SwiftTarget",
"name" : "GampKitTests",
"path" : "Tests/GampKitTests",
"sources" : [
"Extensions/AnalyticsHitParserMessageBuilder.swift",
"Extensions/AnalyticsParameterDictionary.swift",
"Extensions/AnalyticsParameterKey.swift",
"Extensions/Randomizable.swift",
"Extensions/Randoms.swift",
"Extensions/String.swift",
"Mocks/MockError.swift",
"Mocks/MockParameterEncoder.swift",
"Mocks/MockRequest.swift",
"Mocks/MockRequestBuilder.swift",
"Mocks/MockSession.swift",
"Mocks/MockSessionManager.swift",
"Mocks/MockTrackable.swift",
"Tests/AnalyticsHitParserMessageTests.swift",
"Tests/AnalyticsHitTypeTests.swift",
"Tests/AnalyticsParameterEncoderTests.swift",
"Tests/AnalyticsRequestBuilderTests.swift",
"Tests/AnalyticsResultDecoderTests.swift",
"Tests/AnalyticsSessionManagerTests.swift",
"Tests/AnalyticsTrackerTests.swift",
"Tests/AnalyticsURLSessionTests.swift",
"Tests/AnalyticsURLsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"GampKit"
],
"type" : "test"
},
{
"c99name" : "GampKit",
"module_type" : "SwiftTarget",
"name" : "GampKit",
"path" : "Sources/GampKit",
"product_memberships" : [
"GampKit"
],
"sources" : [
"Controllers/AnalyticsParameterEncoder.swift",
"Controllers/AnalyticsRequestBuilder.swift",
"Controllers/AnalyticsResultDecoder.swift",
"Controllers/AnalyticsSessionManager.swift",
"Controllers/AnalyticsTracker.swift",
"Controllers/AnalyticsURLSession.swift",
"Extensions/NSException.swift",
"Extensions/URLRequest.swift",
"Extensions/URLSession.swift",
"Extensions/URLSessionDataTask.swift",
"Models/AnalyticsConfiguration.swift",
"Models/AnalyticsEvent.swift",
"Models/AnalyticsException.swift",
"Models/AnalyticsHitParserMessage.swift",
"Models/AnalyticsHitParserMessageType.swift",
"Models/AnalyticsHitParsingResult.swift",
"Models/AnalyticsHitType.swift",
"Models/AnalyticsParameterDictionary.swift",
"Models/AnalyticsParameterKey.swift",
"Models/AnalyticsResult.swift",
"Models/AnalyticsTiming.swift",
"Models/AnalyticsURLs.swift",
"Models/AnalyticsValidation.swift",
"Models/StringEncodingError.swift",
"Protocols/AnalyticsConfigurationProtocol.swift",
"Protocols/AnalyticsEventProtocol.swift",
"Protocols/AnalyticsExceptionProtocol.swift",
"Protocols/AnalyticsParameterEncoderProtocol.swift",
"Protocols/AnalyticsParameterable.swift",
"Protocols/AnalyticsRequestBuilderProtocol.swift",
"Protocols/AnalyticsResultDecoderProtocol.swift",
"Protocols/AnalyticsSessionManagerProtocol.swift",
"Protocols/AnalyticsTimingProtocol.swift",
"Protocols/AnalyticsTrackable.swift",
"Protocols/AnalyticsTrackerProtocol.swift",
"Protocols/Request.swift",
"Protocols/Session.swift",
"Protocols/URLSessionable.swift",
"Protocols/URLSessionableDataTask.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.