This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 (beta) for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/kiliankoe/ParkKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/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 |     }
[4/11] Compiling ParkKit ParkError.swift
[5/11] Compiling ParkKit WGSCoordinate.swift
[6/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 |             }
[7/11] Compiling ParkKit Date+startOfToday.swift
[8/11] Compiling ParkKit DateFormatter+format.swift
[9/11] Compiling ParkKit Lot.swift
[10/11] Emitting module ParkKit
[11/11] Compiling ParkKit City.swift
Build complete! (21.78s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.