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 FanboyKit, reference 9.0.0 (8b71a7), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 11:21:35 UTC.

Swift 6 data race errors: 1

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/michaelnisi/fanboy-kit.git
Reference: 9.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/michaelnisi/fanboy-kit
 * tag               9.0.0      -> FETCH_HEAD
HEAD is now at 8b71a75 Refine package
Cloned https://github.com/michaelnisi/fanboy-kit.git
Revision (git rev-parse @):
8b71a756e59fb1e91a3aaf05c0aa3ec7d1b66c65
SUCCESS checkout https://github.com/michaelnisi/fanboy-kit.git at 9.0.0
Fetching https://github.com/michaelnisi/patron
[1/6532] Fetching patron
Fetched https://github.com/michaelnisi/patron from cache (3.03s)
Computing version for https://github.com/michaelnisi/patron
Computed https://github.com/michaelnisi/patron at 11.0.0 (0.80s)
Creating working copy for https://github.com/michaelnisi/patron
Working copy of https://github.com/michaelnisi/patron resolved at 11.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": "fanboy-kit",
      "name": "FanboyKit",
      "url": "https://github.com/michaelnisi/fanboy-kit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/fanboy-kit",
      "dependencies": [
        {
          "identity": "patron",
          "name": "Patron",
          "url": "https://github.com/michaelnisi/patron",
          "version": "11.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/patron",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/michaelnisi/fanboy-kit.git
[1/229] Fetching fanboy-kit
Fetched https://github.com/michaelnisi/fanboy-kit.git from cache (0.65s)
Fetching https://github.com/michaelnisi/patron from cache
Fetched https://github.com/michaelnisi/patron from cache (0.48s)
Computing version for https://github.com/michaelnisi/patron
Computed https://github.com/michaelnisi/patron at 11.0.0 (0.03s)
Creating working copy for https://github.com/michaelnisi/patron
Working copy of https://github.com/michaelnisi/patron resolved at 11.0.0
Creating working copy for https://github.com/michaelnisi/fanboy-kit.git
Working copy of https://github.com/michaelnisi/fanboy-kit.git resolved at 9.0.0 (8b71a75)
warning: '.resolve-product-dependencies': dependency 'fanboy-kit' is not used by any target
Found 1 product dependencies
  - Patron
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/michaelnisi/fanboy-kit.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/5] Emitting module Patron
[5/5] Compiling Patron Patron.swift
[6/7] Compiling FanboyKit FanboyKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/FanboyKit/FanboyKit.swift:15:8: warning: associated value 'unexpectedResult(result:)' of 'Sendable'-conforming enum 'FanboyError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
 13 |
 14 | public enum FanboyError: Error {
 15 |   case unexpectedResult(result: AnyObject?)
    |        `- warning: associated value 'unexpectedResult(result:)' of 'Sendable'-conforming enum 'FanboyError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
 16 |   case cancelledByUser
 17 |   case invalidTerm
[7/7] Emitting module FanboyKit
/Users/admin/builder/spi-builder-workspace/Sources/FanboyKit/FanboyKit.swift:15:8: warning: associated value 'unexpectedResult(result:)' of 'Sendable'-conforming enum 'FanboyError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
 13 |
 14 | public enum FanboyError: Error {
 15 |   case unexpectedResult(result: AnyObject?)
    |        `- warning: associated value 'unexpectedResult(result:)' of 'Sendable'-conforming enum 'FanboyError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
 16 |   case cancelledByUser
 17 |   case invalidTerm
Build complete! (6.85s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "patron",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "11.0.0",
            "upper_bound" : "12.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/michaelnisi/patron"
    }
  ],
  "manifest_display_name" : "FanboyKit",
  "name" : "FanboyKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "FanboyKit",
      "targets" : [
        "FanboyKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FanboyKitTests",
      "module_type" : "SwiftTarget",
      "name" : "FanboyKitTests",
      "path" : "Tests/FanboyKitTests",
      "sources" : [
        "FanboyKitTests.swift"
      ],
      "target_dependencies" : [
        "FanboyKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FanboyKit",
      "module_type" : "SwiftTarget",
      "name" : "FanboyKit",
      "path" : "Sources/FanboyKit",
      "product_dependencies" : [
        "Patron"
      ],
      "product_memberships" : [
        "FanboyKit"
      ],
      "sources" : [
        "FanboyKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.