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 MangerKit, reference master (d92043), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 11:23:25 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/manger-kit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/michaelnisi/manger-kit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d92043d Add changelog
Cloned https://github.com/michaelnisi/manger-kit.git
Revision (git rev-parse @):
d92043d0c392e1e00d2ff51d3e38655993c42b6a
SUCCESS checkout https://github.com/michaelnisi/manger-kit.git at master
Fetching https://github.com/michaelnisi/patron
[1/6532] Fetching patron
Fetched https://github.com/michaelnisi/patron from cache (3.50s)
Computing version for https://github.com/michaelnisi/patron
Computed https://github.com/michaelnisi/patron at 11.0.0 (0.77s)
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": "manger-kit",
      "name": "MangerKit",
      "url": "https://github.com/michaelnisi/manger-kit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/manger-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/manger-kit.git
[7/312] Fetching manger-kit
Fetched https://github.com/michaelnisi/manger-kit.git from cache (0.78s)
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/patron
Working copy of https://github.com/michaelnisi/patron resolved at 11.0.0
Creating working copy for https://github.com/michaelnisi/manger-kit.git
Working copy of https://github.com/michaelnisi/manger-kit.git resolved at master (d92043d)
warning: '.resolve-product-dependencies': dependency 'manger-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/manger-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] Emitting module MangerKit
/Users/admin/builder/spi-builder-workspace/Sources/MangerKit/MangerKit.swift:15:8: warning: associated value 'unexpectedResult(result:)' of 'Sendable'-conforming enum 'MangerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 13 |
 14 | public enum MangerError: Error {
 15 |   case unexpectedResult(result: Any?)
    |        `- warning: associated value 'unexpectedResult(result:)' of 'Sendable'-conforming enum 'MangerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 16 |   case cancelledByUser
 17 |   case noQueries
[7/7] Compiling MangerKit MangerKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/MangerKit/MangerKit.swift:15:8: warning: associated value 'unexpectedResult(result:)' of 'Sendable'-conforming enum 'MangerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 13 |
 14 | public enum MangerError: Error {
 15 |   case unexpectedResult(result: Any?)
    |        `- warning: associated value 'unexpectedResult(result:)' of 'Sendable'-conforming enum 'MangerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 16 |   case cancelledByUser
 17 |   case noQueries
Build complete! (6.82s)
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" : "MangerKit",
  "name" : "MangerKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "MangerKit",
      "targets" : [
        "MangerKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MangerKitTests",
      "module_type" : "SwiftTarget",
      "name" : "MangerKitTests",
      "path" : "Tests/MangerKitTests",
      "sources" : [
        "MangerKitTests.swift"
      ],
      "target_dependencies" : [
        "MangerKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MangerKit",
      "module_type" : "SwiftTarget",
      "name" : "MangerKit",
      "path" : "Sources/MangerKit",
      "product_dependencies" : [
        "Patron"
      ],
      "product_memberships" : [
        "MangerKit"
      ],
      "sources" : [
        "MangerKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.