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.0 for macOS (SPM) on 1 Dec 2024 21:02:11 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 -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.1
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/1613] Fetching plistkit
Fetched https://github.com/orchetect/PListKit.git from cache (1.06s)
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.0
Building package at path:  $PWD
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.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/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: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Convenience method to form an `NSError`.
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
  1 | open class FileManager : NSObject {
    |            `- note: class 'FileManager' does not conform to the 'Sendable' protocol
  2 |     open class var `default`: FileManager { get }
  3 |     @available(swift, obsoleted: 3, renamed: "default")
[4/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: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Convenience method to form an `NSError`.
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
  1 | open class FileManager : NSObject {
    |            `- note: class 'FileManager' does not conform to the 'Sendable' protocol
  2 |     open class var `default`: FileManager { get }
  3 |     @available(swift, obsoleted: 3, renamed: "default")
[5/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: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Convenience method to form an `NSError`.
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
  1 | open class FileManager : NSObject {
    |            `- note: class 'FileManager' does not conform to the 'Sendable' protocol
  2 |     open class var `default`: FileManager { get }
  3 |     @available(swift, obsoleted: 3, renamed: "default")
[6/24] Compiling PListKit PListArray Subscripts.swift
[7/24] Compiling PListKit PListArray.swift
[8/24] Compiling PListKit PListDictionary Subscripts.swift
[9/24] Compiling PListKit PListDictionary.swift
[10/24] Compiling PListKit PListProtocol init.swift
[11/24] Compiling PListKit PListProtocol rawData.swift
[12/24] Compiling PListKit PListDictionary Keys.swift
[13/24] Compiling PListKit PListDictionary PListNode.swift
[14/24] Compiling PListKit PListFormat.swift
[15/24] Compiling PListKit RawPListArray.swift
[16/24] Compiling PListKit PListProtocol.swift
[17/24] Compiling PListKit PListValue.swift
[18/24] Compiling PListKit PListLoadError.swift
[19/24] Compiling PListKit AnyPList.swift
[20/24] Compiling PListKit ArrayPList.swift
[21/24] Compiling PListKit DictionaryPList.swift
[22/24] Compiling PListKit PList.swift
[23/24] Compiling PListKit PListProtocol read.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: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Convenience method to form an `NSError`.
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
  1 | open class FileManager : NSObject {
    |            `- note: class 'FileManager' does not conform to the 'Sendable' protocol
  2 |     open class var `default`: FileManager { get }
  3 |     @available(swift, obsoleted: 3, renamed: "default")
[24/24] Compiling PListKit PListProtocol save.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: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Convenience method to form an `NSError`.
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
  1 | open class FileManager : NSObject {
    |            `- note: class 'FileManager' does not conform to the 'Sendable' protocol
  2 |     open class var `default`: FileManager { get }
  3 |     @available(swift, obsoleted: 3, renamed: "default")
Build complete! (18.28s)
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.