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 GampKit, reference 0.2.0 (2d4fd0), with Swift 6.0 for Linux on 28 Nov 2024 08:42:09 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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 -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/GampKit.git
Reference: 0.2.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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/brightdigit/GampKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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 -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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/38] Emitting module GampKit
[4/42] Compiling GampKit AnalyticsTiming.swift
[5/42] Compiling GampKit AnalyticsURLs.swift
[6/42] Compiling GampKit AnalyticsValidation.swift
[7/42] Compiling GampKit StringEncodingError.swift
[8/42] Compiling GampKit AnalyticsConfigurationProtocol.swift
[9/42] Compiling GampKit AnalyticsResultDecoderProtocol.swift
[10/42] Compiling GampKit AnalyticsSessionManagerProtocol.swift
[11/42] Compiling GampKit AnalyticsTimingProtocol.swift
[12/42] Compiling GampKit AnalyticsTrackable.swift
[13/42] Compiling GampKit AnalyticsTrackerProtocol.swift
[14/42] Compiling GampKit AnalyticsConfiguration.swift
[15/42] Compiling GampKit AnalyticsEvent.swift
[16/42] Compiling GampKit AnalyticsException.swift
[17/42] Compiling GampKit AnalyticsHitParserMessage.swift
[18/42] Compiling GampKit AnalyticsHitParserMessageType.swift
[19/42] Compiling GampKit AnalyticsHitParsingResult.swift
[20/42] Compiling GampKit AnalyticsHitType.swift
[21/42] Compiling GampKit AnalyticsParameterDictionary.swift
[22/42] Compiling GampKit AnalyticsParameterKey.swift
[23/42] Compiling GampKit AnalyticsResult.swift
[24/42] Compiling GampKit AnalyticsEventProtocol.swift
[25/42] Compiling GampKit AnalyticsExceptionProtocol.swift
[26/42] Compiling GampKit AnalyticsParameterEncoderProtocol.swift
[27/42] Compiling GampKit AnalyticsParameterable.swift
[28/42] Compiling GampKit AnalyticsRequestBuilderProtocol.swift
[29/42] Compiling GampKit AnalyticsURLSession.swift
/host/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 |   }
/host/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 |   }
/host/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 | }
[30/42] Compiling GampKit NSException.swift
/host/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 |   }
/host/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 |   }
/host/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 | }
[31/42] Compiling GampKit URLRequest.swift
/host/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 |   }
/host/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 |   }
/host/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 | }
[32/42] Compiling GampKit URLSession.swift
/host/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 |   }
/host/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 |   }
/host/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 | }
[33/42] Compiling GampKit URLSessionDataTask.swift
/host/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 |   }
/host/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 |   }
/host/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 | }
[34/42] Compiling GampKit AnalyticsParameterEncoder.swift
[35/42] Compiling GampKit AnalyticsRequestBuilder.swift
[36/42] Compiling GampKit AnalyticsResultDecoder.swift
[37/42] Compiling GampKit AnalyticsSessionManager.swift
[38/42] Compiling GampKit AnalyticsTracker.swift
[39/42] Compiling GampKit Request.swift
[40/42] Compiling GampKit Session.swift
[41/42] Compiling GampKit URLSessionable.swift
[42/42] Compiling GampKit URLSessionableDataTask.swift
Build complete! (23.51s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GampKit",
  "name" : "GampKit",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.