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 ICY, reference 1.2.2 (61ffd8), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 13:13:08 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/Bouke/ICY.git
Reference: 1.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Bouke/ICY
 * tag               1.2.2      -> FETCH_HEAD
HEAD is now at 61ffd86 Handle portal http errors
Cloned https://github.com/Bouke/ICY.git
Revision (git rev-parse @):
61ffd86fe9452c66440f8bb14a48ef5fb77fbfa0
SUCCESS checkout https://github.com/Bouke/ICY.git at 1.2.2
========================================
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": "icy",
      "name": "ICY",
      "url": "https://github.com/Bouke/ICY.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ICY",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Bouke/ICY.git
[1/30] Fetching icy
Fetched https://github.com/Bouke/ICY.git from cache (0.67s)
Creating working copy for https://github.com/Bouke/ICY.git
Working copy of https://github.com/Bouke/ICY.git resolved at 1.2.2 (61ffd86)
warning: '.resolve-product-dependencies': dependency 'icy' 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/Bouke/ICY.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/4] Emitting module ICY
[4/4] Compiling ICY ICY.swift
/Users/admin/builder/spi-builder-workspace/Sources/ICY.swift:163:20: warning: capture of 'completionHandler' with non-sendable type '(Result<[String : Any]>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |     let task = sharedURLSession.dataTask(with: request) { (data, response, error) in
162 |         if let error = error {
163 |             return completionHandler(.error(error))
    |                    |- warning: capture of 'completionHandler' with non-sendable type '(Result<[String : Any]>) -> ()' 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'
164 |         }
165 |         guard let httpResponse = response as? HTTPURLResponse else {
Build complete! (6.01s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ICY",
  "name" : "ICY",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ICY",
      "targets" : [
        "ICY"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ICY",
      "module_type" : "SwiftTarget",
      "name" : "ICY",
      "path" : "Sources",
      "product_memberships" : [
        "ICY"
      ],
      "sources" : [
        "ICY.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.