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 PListKit, reference 2.0.3 (30cd42), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 10:57:01 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orchetect/PListKit.git
Reference: 2.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/orchetect/PListKit
 * tag               2.0.3      -> FETCH_HEAD
HEAD is now at 30cd429 Updated GitHub CI
Cloned https://github.com/orchetect/PListKit.git
Revision (git rev-parse @):
30cd4292468bcf040496591a870cdb3e1acf9854
SUCCESS checkout https://github.com/orchetect/PListKit.git at 2.0.3
========================================
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": "plistkit",
      "name": "PListKit",
      "url": "https://github.com/orchetect/PListKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PListKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/orchetect/PListKit.git
[1/1628] Fetching plistkit
Fetched https://github.com/orchetect/PListKit.git from cache (0.92s)
Creating working copy for https://github.com/orchetect/PListKit.git
Working copy of https://github.com/orchetect/PListKit.git resolved at 2.0.3 (30cd429)
warning: '.resolve-product-dependencies': dependency 'plistkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/orchetect/PListKit.git
https://github.com/orchetect/PListKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PListKit",
  "name" : "PListKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "PListKit",
      "targets" : [
        "PListKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PListKitTests",
      "module_type" : "SwiftTarget",
      "name" : "PListKitTests",
      "path" : "Tests/PListKitTests",
      "sources" : [
        "AnyPList/AnyPList Tests.swift",
        "ArrayPList/ArrayPList init Tests.swift",
        "ArrayPList/ArrayPList rawData Tests.swift",
        "DictionaryPList/DictionaryPList Init Tests.swift",
        "DictionaryPList/DictionaryPList NSCopying Tests.swift",
        "DictionaryPList/DictionaryPList rawData Tests.swift",
        "DictionaryPList/DictionaryPList save Tests.swift",
        "DictionaryPList/Node/DictionaryPList Array Set Tests.swift",
        "DictionaryPList/Node/DictionaryPList Node Tests.swift",
        "DictionaryPList/Subscript/Subscript Basic Tests.swift",
        "PList/PList init Tests.swift",
        "PList/PList rawData Tests.swift",
        "PListArray/PListArray Tests.swift",
        "PListDictionary/PListDictionary Tests.swift",
        "Test Constants/kSamplePList Verify.swift",
        "Test Constants/kSamplePList/ArrayRootBasicValues.swift",
        "Test Constants/kSamplePList/DictRootAllValues.swift",
        "Test Constants/kSamplePList/StringRoot.swift",
        "Test Constants/kSamplePList/kSamplePList.swift",
        "Test Utilities.swift"
      ],
      "target_dependencies" : [
        "PListKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PListKit",
      "module_type" : "SwiftTarget",
      "name" : "PListKit",
      "path" : "Sources/PListKit",
      "product_memberships" : [
        "PListKit"
      ],
      "sources" : [
        "Errors/PListLoadError.swift",
        "PList/AnyPList.swift",
        "PList/ArrayPList.swift",
        "PList/DictionaryPList.swift",
        "PList/PList.swift",
        "PListArray/PListArray Subscripts.swift",
        "PListArray/PListArray.swift",
        "PListDictionary/PListDictionary Keys.swift",
        "PListDictionary/PListDictionary PListNode.swift",
        "PListDictionary/PListDictionary Subscripts.swift",
        "PListDictionary/PListDictionary.swift",
        "PListProtocol/PListProtocol init.swift",
        "PListProtocol/PListProtocol rawData.swift",
        "PListProtocol/PListProtocol read.swift",
        "PListProtocol/PListProtocol save.swift",
        "PListProtocol/PListProtocol.swift",
        "PListValue/PListValue.swift",
        "Raw Types/PListFormat.swift",
        "Raw Types/RawPListArray.swift",
        "Raw Types/RawPListDictionary.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/22] Compiling PListKit DictionaryPList.swift
[4/22] Compiling PListKit PList.swift
[5/22] Emitting module PListKit
/Users/admin/builder/spi-builder-workspace/Sources/PListKit/Utilities.swift:10:5: warning: let 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 | /// Global file manager
10 | let fileManager = FileManager.default
   |     |- warning: let 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'fileManager' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Convenience method to form an `NSError`.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:96:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
 94 | extern NSNotificationName const NSUbiquityIdentityDidChangeNotification API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
 95 |
 96 | @interface NSFileManager : NSObject
    |            `- note: class 'FileManager' does not conform to the 'Sendable' protocol
 97 |
 98 | /* Returns the default singleton instance.
[6/24] Compiling PListKit PListProtocol read.swift
[7/24] Compiling PListKit PListProtocol save.swift
[8/24] Compiling PListKit PListDictionary Keys.swift
[9/24] Compiling PListKit PListDictionary PListNode.swift
[10/24] Compiling PListKit PListFormat.swift
[11/24] Compiling PListKit RawPListArray.swift
[12/24] Compiling PListKit PListDictionary Subscripts.swift
[13/24] Compiling PListKit PListDictionary.swift
[14/24] Compiling PListKit PListProtocol init.swift
[15/24] Compiling PListKit PListProtocol rawData.swift
[16/24] Compiling PListKit PListArray Subscripts.swift
[17/24] Compiling PListKit PListArray.swift
[18/24] Compiling PListKit PListLoadError.swift
[19/24] Compiling PListKit AnyPList.swift
[20/24] Compiling PListKit ArrayPList.swift
[21/24] Compiling PListKit PListProtocol.swift
[22/24] Compiling PListKit PListValue.swift
[23/24] Compiling PListKit RawPListDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/PListKit/Utilities.swift:10:5: warning: let 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 | /// Global file manager
10 | let fileManager = FileManager.default
   |     |- warning: let 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'fileManager' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Convenience method to form an `NSError`.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:96:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
 94 | extern NSNotificationName const NSUbiquityIdentityDidChangeNotification API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
 95 |
 96 | @interface NSFileManager : NSObject
    |            `- note: class 'FileManager' does not conform to the 'Sendable' protocol
 97 |
 98 | /* Returns the default singleton instance.
[24/24] Compiling PListKit Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/PListKit/Utilities.swift:10:5: warning: let 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 | /// Global file manager
10 | let fileManager = FileManager.default
   |     |- warning: let 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'fileManager' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Convenience method to form an `NSError`.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:96:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
 94 | extern NSNotificationName const NSUbiquityIdentityDidChangeNotification API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
 95 |
 96 | @interface NSFileManager : NSObject
    |            `- note: class 'FileManager' does not conform to the 'Sendable' protocol
 97 |
 98 | /* Returns the default singleton instance.
Build complete! (5.91s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PListKit",
  "name" : "PListKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "PListKit",
      "targets" : [
        "PListKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PListKitTests",
      "module_type" : "SwiftTarget",
      "name" : "PListKitTests",
      "path" : "Tests/PListKitTests",
      "sources" : [
        "AnyPList/AnyPList Tests.swift",
        "ArrayPList/ArrayPList init Tests.swift",
        "ArrayPList/ArrayPList rawData Tests.swift",
        "DictionaryPList/DictionaryPList Init Tests.swift",
        "DictionaryPList/DictionaryPList NSCopying Tests.swift",
        "DictionaryPList/DictionaryPList rawData Tests.swift",
        "DictionaryPList/DictionaryPList save Tests.swift",
        "DictionaryPList/Node/DictionaryPList Array Set Tests.swift",
        "DictionaryPList/Node/DictionaryPList Node Tests.swift",
        "DictionaryPList/Subscript/Subscript Basic Tests.swift",
        "PList/PList init Tests.swift",
        "PList/PList rawData Tests.swift",
        "PListArray/PListArray Tests.swift",
        "PListDictionary/PListDictionary Tests.swift",
        "Test Constants/kSamplePList Verify.swift",
        "Test Constants/kSamplePList/ArrayRootBasicValues.swift",
        "Test Constants/kSamplePList/DictRootAllValues.swift",
        "Test Constants/kSamplePList/StringRoot.swift",
        "Test Constants/kSamplePList/kSamplePList.swift",
        "Test Utilities.swift"
      ],
      "target_dependencies" : [
        "PListKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PListKit",
      "module_type" : "SwiftTarget",
      "name" : "PListKit",
      "path" : "Sources/PListKit",
      "product_memberships" : [
        "PListKit"
      ],
      "sources" : [
        "Errors/PListLoadError.swift",
        "PList/AnyPList.swift",
        "PList/ArrayPList.swift",
        "PList/DictionaryPList.swift",
        "PList/PList.swift",
        "PListArray/PListArray Subscripts.swift",
        "PListArray/PListArray.swift",
        "PListDictionary/PListDictionary Keys.swift",
        "PListDictionary/PListDictionary PListNode.swift",
        "PListDictionary/PListDictionary Subscripts.swift",
        "PListDictionary/PListDictionary.swift",
        "PListProtocol/PListProtocol init.swift",
        "PListProtocol/PListProtocol rawData.swift",
        "PListProtocol/PListProtocol read.swift",
        "PListProtocol/PListProtocol save.swift",
        "PListProtocol/PListProtocol.swift",
        "PListValue/PListValue.swift",
        "Raw Types/PListFormat.swift",
        "Raw Types/RawPListArray.swift",
        "Raw Types/RawPListDictionary.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.