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 ParkKit, reference main (91290a), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 10:22:51 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/ParkKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/ParkKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 91290af Merge branch 'refactor-api'
Cloned https://github.com/kiliankoe/ParkKit.git
Revision (git rev-parse @):
91290afd7e7467561d2e34d9d7cf67028608198a
SUCCESS checkout https://github.com/kiliankoe/ParkKit.git at main
========================================
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": "parkkit",
      "name": "ParkKit",
      "url": "https://github.com/kiliankoe/ParkKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ParkKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/kiliankoe/ParkKit.git
[1/436] Fetching parkkit
Fetched https://github.com/kiliankoe/ParkKit.git from cache (0.75s)
Creating working copy for https://github.com/kiliankoe/ParkKit.git
Working copy of https://github.com/kiliankoe/ParkKit.git resolved at main (91290af)
warning: '.resolve-product-dependencies': dependency 'parkkit' 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/kiliankoe/ParkKit.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/11] Compiling ParkKit ParkError.swift
[4/11] Compiling ParkKit Response.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParkKit/Response.swift:43:18: warning: TODO: Decode forecast data
41 |         self.version = try container.decode(Double.self, forKey: .version)
42 |
43 |         #warning("TODO: Decode forecast data")
   |                  `- warning: TODO: Decode forecast data
44 |         self.forecast = []
45 |     }
[5/11] Compiling ParkKit ParkKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParkKit/ParkKit.swift:226:17: warning: capture of 'completion' with non-sendable type '(Result<T, ParkError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
224 |                 let response = response as? HTTPURLResponse
225 |             else {
226 |                 completion(.failure(.request(error)))
    |                 |- warning: capture of 'completion' with non-sendable type '(Result<T, ParkError>) -> Void' 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'
227 |                 return
228 |             }
[6/11] Compiling ParkKit Lot.swift
[7/11] Compiling ParkKit City.swift
[8/11] Compiling ParkKit WGSCoordinate.swift
[9/11] Compiling ParkKit DateFormatter+format.swift
[10/11] Compiling ParkKit Date+startOfToday.swift
[11/11] Emitting module ParkKit
Build complete! (11.83s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ParkKit",
  "name" : "ParkKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "ParkKit",
      "targets" : [
        "ParkKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ParkKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ParkKitTests",
      "path" : "Tests/ParkKitTests",
      "sources" : [
        "LotTests.swift",
        "ParkKitTests.swift"
      ],
      "target_dependencies" : [
        "ParkKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ParkKit",
      "module_type" : "SwiftTarget",
      "name" : "ParkKit",
      "path" : "Sources/ParkKit",
      "product_memberships" : [
        "ParkKit"
      ],
      "sources" : [
        "City.swift",
        "Date+startOfToday.swift",
        "DateFormatter+format.swift",
        "Lot.swift",
        "ParkError.swift",
        "ParkKit.swift",
        "Response.swift",
        "WGSCoordinate.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.