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 master (880252), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 00:20:31 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ronanrodrigo/Frisbee
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8802523 Update Frisbee.podspec to 0.2.5 [skip ci]
Cloned https://github.com/ronanrodrigo/Frisbee.git
Revision (git rev-parse @):
8802523a47f63201c2e65c6a28a0f2da5aa3f6f5
SUCCESS checkout https://github.com/ronanrodrigo/Frisbee.git at master
========================================
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.87s)
Creating working copy for https://github.com/ronanrodrigo/Frisbee.git
Working copy of https://github.com/ronanrodrigo/Frisbee.git resolved at master (8802523)
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] Compiling Frisbee EncodableAdapterFactory.swift
[4/34] Compiling Frisbee SerializableAdapterFactory.swift
[5/34] Compiling Frisbee URLQueriableAdapterFactory.swift
[6/37] Compiling Frisbee OnComplete.swift
[7/37] Compiling Frisbee Postable.swift
[8/37] Compiling Frisbee Putable.swift
[9/37] Emitting module Frisbee
[10/37] Compiling Frisbee NetworkGet.swift
[11/37] Compiling Frisbee NetworkPost.swift
[12/37] Compiling Frisbee NetworkPut.swift
[13/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()
[14/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()
[15/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()
[16/37] Compiling Frisbee QueryItemAdapter.swift
[17/37] Compiling Frisbee SerializableAdapter.swift
[18/37] Compiling Frisbee SerializerJSONAdapter.swift
[19/37] Compiling Frisbee URLQueriableAdapter.swift
[20/37] Compiling Frisbee BodiableAdapter.swift
[21/37] Compiling Frisbee BodyAdapter.swift
[22/37] Compiling Frisbee Cancellable.swift
[23/37] Compiling Frisbee DecodableAdapter.swift
[24/37] Compiling Frisbee ResultGeneratorFactory.swift
[25/37] Compiling Frisbee URLRequestFactory.swift
[26/37] Compiling Frisbee URLSessionFactory.swift
[27/37] Compiling Frisbee URLQueryAdapter.swift
[28/37] Compiling Frisbee URLSessionTaskAdapter.swift
[29/37] Compiling Frisbee FrisbeeError.swift
[30/37] Compiling Frisbee HTTPMethod.swift
[31/37] Compiling Frisbee Result.swift
[32/37] Compiling Frisbee BodyAdapterFactory.swift
[33/37] Compiling Frisbee DecodableAdapterFactory.swift
[34/37] Compiling Frisbee DecoderDataAdapter.swift
[35/37] Compiling Frisbee DecoderJSONAdapter.swift
[36/37] Compiling Frisbee EncodableAdapter.swift
[37/37] Compiling Frisbee EncoderJSONAdapter.swift
Build complete! (13.05s)
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.