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 Frisbee, reference 1.0.0 (32fe11), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 00:20:25 UTC.

Swift 6 data race errors: 0

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/ronanrodrigo/Frisbee.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ronanrodrigo/Frisbee
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 32fe11f Merge branch 'master' of github.com:ronanrodrigo/Frisbee
Cloned https://github.com/ronanrodrigo/Frisbee.git
Revision (git rev-parse @):
32fe11fe455760321c1ae41b201b9d4981ab988b
SUCCESS checkout https://github.com/ronanrodrigo/Frisbee.git at 1.0.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": "frisbee",
      "name": "Frisbee",
      "url": "https://github.com/ronanrodrigo/Frisbee.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Frisbee",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ronanrodrigo/Frisbee.git
[1/1505] Fetching frisbee
Fetched https://github.com/ronanrodrigo/Frisbee.git from cache (0.89s)
Creating working copy for https://github.com/ronanrodrigo/Frisbee.git
Working copy of https://github.com/ronanrodrigo/Frisbee.git resolved at 1.0.0 (32fe11f)
warning: '.resolve-product-dependencies': dependency 'frisbee' 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/ronanrodrigo/Frisbee.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/34] Emitting module Frisbee
[4/37] Compiling Frisbee EncodableAdapterFactory.swift
[5/37] Compiling Frisbee SerializableAdapterFactory.swift
[6/37] Compiling Frisbee URLQueriableAdapterFactory.swift
[7/37] Compiling Frisbee DecoderDataAdapter.swift
[8/37] Compiling Frisbee DecoderJSONAdapter.swift
[9/37] Compiling Frisbee EncodableAdapter.swift
[10/37] Compiling Frisbee EncoderJSONAdapter.swift
[11/37] Compiling Frisbee OnComplete.swift
[12/37] Compiling Frisbee Postable.swift
[13/37] Compiling Frisbee Putable.swift
[14/37] Compiling Frisbee ResultGeneratorFactory.swift
[15/37] Compiling Frisbee URLRequestFactory.swift
[16/37] Compiling Frisbee URLSessionFactory.swift
[17/37] Compiling Frisbee Result.swift
[18/37] Compiling Frisbee BodyAdapterFactory.swift
[19/37] Compiling Frisbee DecodableAdapterFactory.swift
[20/37] Compiling Frisbee DataTaskRunner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:8:13: warning: capture of 'onComplete' with non-sendable type 'OnComplete<T>' (aka '(Result<T>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 6 |                                   onComplete: @escaping OnComplete<T>) -> Cancellable {
 7 |         let task = urlSession.dataTask(with: request) { data, _, error in
 8 |             onComplete(ResultGeneratorFactory.make().generate(data: data, error: error))
   |             |- warning: capture of 'onComplete' with non-sendable type 'OnComplete<T>' (aka '(Result<T>) -> ()') 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'
 9 |         }
10 |         task.resume()
[21/37] Compiling Frisbee ResultGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:8:13: warning: capture of 'onComplete' with non-sendable type 'OnComplete<T>' (aka '(Result<T>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 6 |                                   onComplete: @escaping OnComplete<T>) -> Cancellable {
 7 |         let task = urlSession.dataTask(with: request) { data, _, error in
 8 |             onComplete(ResultGeneratorFactory.make().generate(data: data, error: error))
   |             |- warning: capture of 'onComplete' with non-sendable type 'OnComplete<T>' (aka '(Result<T>) -> ()') 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'
 9 |         }
10 |         task.resume()
[22/37] Compiling Frisbee Getable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:8:13: warning: capture of 'onComplete' with non-sendable type 'OnComplete<T>' (aka '(Result<T>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 6 |                                   onComplete: @escaping OnComplete<T>) -> Cancellable {
 7 |         let task = urlSession.dataTask(with: request) { data, _, error in
 8 |             onComplete(ResultGeneratorFactory.make().generate(data: data, error: error))
   |             |- warning: capture of 'onComplete' with non-sendable type 'OnComplete<T>' (aka '(Result<T>) -> ()') 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'
 9 |         }
10 |         task.resume()
[23/37] Compiling Frisbee BodiableAdapter.swift
[24/37] Compiling Frisbee BodyAdapter.swift
[25/37] Compiling Frisbee Cancellable.swift
[26/37] Compiling Frisbee DecodableAdapter.swift
[27/37] Compiling Frisbee QueryItemAdapter.swift
[28/37] Compiling Frisbee SerializableAdapter.swift
[29/37] Compiling Frisbee SerializerJSONAdapter.swift
[30/37] Compiling Frisbee URLQueriableAdapter.swift
[31/37] Compiling Frisbee NetworkGet.swift
[32/37] Compiling Frisbee NetworkPost.swift
[33/37] Compiling Frisbee NetworkPut.swift
[34/37] Compiling Frisbee URLQueryAdapter.swift
[35/37] Compiling Frisbee URLSessionTaskAdapter.swift
[36/37] Compiling Frisbee FrisbeeError.swift
[37/37] Compiling Frisbee HTTPMethod.swift
Build complete! (17.61s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Frisbee",
  "name" : "Frisbee",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Frisbee",
      "targets" : [
        "Frisbee"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FrisbeeTests",
      "module_type" : "SwiftTarget",
      "name" : "FrisbeeTests",
      "path" : "Tests/FrisbeeTests",
      "sources" : [
        "Adapters/BodyAdapterTests.swift",
        "Adapters/DecoderDataAdapterTests.swift",
        "Adapters/QueryItemAdapterTests.swift",
        "Adapters/URLQueryAdapterTests.swift",
        "Adapters/URLSessionTaskAdapterTests.swift",
        "Entities/FrisbeeErrorTests.swift",
        "Entities/ResultTests.swift",
        "Factories/URLRequestFactoryTests.swift",
        "Factories/URLSessionFactoryTests.swift",
        "Interactors/ResultGeneratorTests.swift",
        "Requestables/IntegrationNetworkGetTests.swift",
        "Requestables/IntegrationNetworkPostTests.swift",
        "Requestables/IntegrationNetworkPutTests.swift",
        "Requestables/NetworkGetTests.swift",
        "Requestables/NetworkPostTests.swift",
        "Requestables/NetworkPutTests.swift",
        "Support/Doubles/BodyThrowErrorFakeAdapter.swift",
        "Support/Doubles/DecoderThrowErrorFakeAdapter.swift",
        "Support/Doubles/EncoderThrowErrorFakeAdapter.swift",
        "Support/Doubles/MockURLSession.swift",
        "Support/Doubles/SerializerThrowErrorFakeAdapter.swift",
        "Support/Doubles/URLWithQueryTrhrowErrorFakeBuildable.swift",
        "Support/Entities/Empty.swift",
        "Support/Entities/Fake.swift",
        "Support/Entities/Movie.swift",
        "Support/Entities/MovieQuery.swift",
        "Support/Entities/SomeEntity.swift",
        "Support/Entities/SomeError.swift",
        "Support/Extensions/FrisbeeError+All.swift",
        "Support/Extensions/SequenceExtensions.swift",
        "Support/Extensions/XCTestCase+AssertContains.swift"
      ],
      "target_dependencies" : [
        "Frisbee"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Frisbee",
      "module_type" : "SwiftTarget",
      "name" : "Frisbee",
      "path" : "Sources/Frisbee",
      "product_memberships" : [
        "Frisbee"
      ],
      "sources" : [
        "Adapters/BodiableAdapter.swift",
        "Adapters/BodyAdapter.swift",
        "Adapters/Cancellable.swift",
        "Adapters/DecodableAdapter.swift",
        "Adapters/DecoderDataAdapter.swift",
        "Adapters/DecoderJSONAdapter.swift",
        "Adapters/EncodableAdapter.swift",
        "Adapters/EncoderJSONAdapter.swift",
        "Adapters/QueryItemAdapter.swift",
        "Adapters/SerializableAdapter.swift",
        "Adapters/SerializerJSONAdapter.swift",
        "Adapters/URLQueriableAdapter.swift",
        "Adapters/URLQueryAdapter.swift",
        "Adapters/URLSessionTaskAdapter.swift",
        "Entities/FrisbeeError.swift",
        "Entities/HTTPMethod.swift",
        "Entities/Result.swift",
        "Factories/Adapters/BodyAdapterFactory.swift",
        "Factories/Adapters/DecodableAdapterFactory.swift",
        "Factories/Adapters/EncodableAdapterFactory.swift",
        "Factories/Adapters/SerializableAdapterFactory.swift",
        "Factories/Adapters/URLQueriableAdapterFactory.swift",
        "Factories/ResultGeneratorFactory.swift",
        "Factories/URLRequestFactory.swift",
        "Factories/URLSessionFactory.swift",
        "Interactors/DataTaskRunner.swift",
        "Interactors/ResultGenerator.swift",
        "Requestables/Getable.swift",
        "Requestables/NetworkGet.swift",
        "Requestables/NetworkPost.swift",
        "Requestables/NetworkPut.swift",
        "Requestables/OnComplete.swift",
        "Requestables/Postable.swift",
        "Requestables/Putable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.