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 master (e78f71), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 11:22:03 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/michaelnisi/fanboy-kit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e78f717 Fix example
Cloned https://github.com/michaelnisi/fanboy-kit.git
Revision (git rev-parse @):
e78f717b403c5af2bc4837a8fb0e02dbb6081721
SUCCESS checkout https://github.com/michaelnisi/fanboy-kit.git at master
Fetching https://github.com/michaelnisi/patron
[1/6532] Fetching patron
Fetched https://github.com/michaelnisi/patron from cache (2.96s)
Computing version for https://github.com/michaelnisi/patron
Computed https://github.com/michaelnisi/patron at 11.0.0 (0.63s)
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.67s)
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.02s)
Creating working copy for https://github.com/michaelnisi/fanboy-kit.git
Working copy of https://github.com/michaelnisi/fanboy-kit.git resolved at master (e78f717)
Creating working copy for https://github.com/michaelnisi/patron
Working copy of https://github.com/michaelnisi/patron resolved at 11.0.0
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] Compiling Patron Patron.swift
[5/5] Emitting module Patron
[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.47s)
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.