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 AppIconSetGen, reference 0.0.2 (858437), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 10:11:19 UTC.

Swift 6 data race errors: 3

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/abeintopalo/appiconsetgen.git
Reference: 0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/abeintopalo/appiconsetgen
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 858437d Bump up version -> 0.0.2
Cloned https://github.com/abeintopalo/appiconsetgen.git
Revision (git rev-parse @):
858437d3f84bdb3858eb41e267c7cea5de42e506
SUCCESS checkout https://github.com/abeintopalo/appiconsetgen.git at 0.0.2
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[185/2999] Fetching pathkit, commander
Fetched https://github.com/kylef/PathKit.git from cache (0.90s)
Fetched https://github.com/kylef/Commander.git from cache (0.90s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.53s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.99s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.88s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (2.51s)
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
========================================
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": "appiconsetgen",
      "name": "AppIconSetGen",
      "url": "https://github.com/abeintopalo/appiconsetgen.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/appiconsetgen",
      "dependencies": [
        {
          "identity": "commander",
          "name": "Commander",
          "url": "https://github.com/kylef/Commander.git",
          "version": "0.9.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Commander",
          "dependencies": [
            {
              "identity": "spectre",
              "name": "Spectre",
              "url": "https://github.com/kylef/Spectre.git",
              "version": "0.10.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "pathkit",
          "name": "PathKit",
          "url": "https://github.com/kylef/PathKit.git",
          "version": "1.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
          "dependencies": [
            {
              "identity": "spectre",
              "name": "Spectre",
              "url": "https://github.com/kylef/Spectre.git",
              "version": "0.10.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/abeintopalo/appiconsetgen.git
[1/92] Fetching appiconsetgen
Fetched https://github.com/abeintopalo/appiconsetgen.git from cache (0.67s)
Fetching https://github.com/kylef/Commander.git from cache
Fetching https://github.com/kylef/PathKit.git from cache
Fetched https://github.com/kylef/Commander.git from cache (0.49s)
Fetched https://github.com/kylef/PathKit.git from cache (0.49s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.03s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.46s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.03s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (0.02s)
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/abeintopalo/appiconsetgen.git
Working copy of https://github.com/abeintopalo/appiconsetgen.git resolved at 0.0.2 (858437d)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.2
Found 2 product dependencies
  - Commander
  - PathKit
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/abeintopalo/appiconsetgen.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/9] Write sources
[4/9] Write AppIconSetGen-entitlement.plist
[5/9] Write swift-version--7754E27361AE5C74.txt
[7/21] Compiling Commander CommandType.swift
[8/21] Compiling Commander ArgumentConvertible.swift
[9/21] Emitting module Commander
[10/21] Compiling Commander Command.swift
[11/21] Compiling Commander ArgumentParser.swift
[12/21] Compiling Commander Commands.swift
[13/21] Compiling Commander CommandRunner.swift
[14/21] Compiling Commander ArgumentDescription.swift
[15/21] Compiling Commander Group.swift
[16/21] Compiling Commander Error.swift
[17/21] Emitting module PathKit
[18/21] Compiling PathKit PathKit.swift
[19/26] Compiling AppIconSetGenCore Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppIconSetGenCore/Utils.swift:12:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension String: Error {}
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
13 |
14 | extension CGFloat {
[20/26] Compiling AppIconSetGenCore NSImage+Extensions.swift
[21/26] Compiling AppIconSetGenCore IconInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppIconSetGenCore/IconInfo.swift:97:12: warning: let 'iconInfoItemsIOS' is not concurrency-safe because non-'Sendable' type '[IconInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
 70 | // MARK: - IconInfo
 71 |
 72 | public struct IconInfo {
    |               `- note: consider making struct 'IconInfo' conform to the 'Sendable' protocol
 73 |     let idiom: Idiom
 74 |     // size in points
    :
 95 | // MARK: - Icon sets for platforms
 96 |
 97 | public let iconInfoItemsIOS = [
    |            |- warning: let 'iconInfoItemsIOS' is not concurrency-safe because non-'Sendable' type '[IconInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'iconInfoItemsIOS' 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
 98 |     IconInfo(idiom: .iPhone, size: 20, scale: 2),
 99 |     IconInfo(idiom: .iPhone, size: 20, scale: 3),
/Users/admin/builder/spi-builder-workspace/Sources/AppIconSetGenCore/IconInfo.swift:118:12: warning: let 'iconInfoItemsWatchOS' is not concurrency-safe because non-'Sendable' type '[IconInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
 70 | // MARK: - IconInfo
 71 |
 72 | public struct IconInfo {
    |               `- note: consider making struct 'IconInfo' conform to the 'Sendable' protocol
 73 |     let idiom: Idiom
 74 |     // size in points
    :
116 | ]
117 |
118 | public let iconInfoItemsWatchOS = [
    |            |- warning: let 'iconInfoItemsWatchOS' is not concurrency-safe because non-'Sendable' type '[IconInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'iconInfoItemsWatchOS' 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
119 |     IconInfo(idiom: .watch, size: 24, role: .notificationCenter, subtype: .mm38, scale: 2),
120 |     IconInfo(idiom: .watch, size: 27.5, role: .notificationCenter, subtype: .mm42, scale: 2),
/Users/admin/builder/spi-builder-workspace/Sources/AppIconSetGenCore/IconInfo.swift:132:12: warning: let 'iconInfoItemsMacOS' is not concurrency-safe because non-'Sendable' type '[IconInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
 70 | // MARK: - IconInfo
 71 |
 72 | public struct IconInfo {
    |               `- note: consider making struct 'IconInfo' conform to the 'Sendable' protocol
 73 |     let idiom: Idiom
 74 |     // size in points
    :
130 | ]
131 |
132 | public let iconInfoItemsMacOS = [
    |            |- warning: let 'iconInfoItemsMacOS' is not concurrency-safe because non-'Sendable' type '[IconInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'iconInfoItemsMacOS' 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
133 |     IconInfo(idiom: .mac, size: 16, scale: 1),
134 |     IconInfo(idiom: .mac, size: 16, scale: 2),
[22/26] Compiling AppIconSetGenCore AppIconSet.swift
[23/26] Emitting module AppIconSetGenCore
/Users/admin/builder/spi-builder-workspace/Sources/AppIconSetGenCore/IconInfo.swift:97:12: warning: let 'iconInfoItemsIOS' is not concurrency-safe because non-'Sendable' type '[IconInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
 70 | // MARK: - IconInfo
 71 |
 72 | public struct IconInfo {
    |               `- note: consider making struct 'IconInfo' conform to the 'Sendable' protocol
 73 |     let idiom: Idiom
 74 |     // size in points
    :
 95 | // MARK: - Icon sets for platforms
 96 |
 97 | public let iconInfoItemsIOS = [
    |            |- warning: let 'iconInfoItemsIOS' is not concurrency-safe because non-'Sendable' type '[IconInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'iconInfoItemsIOS' 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
 98 |     IconInfo(idiom: .iPhone, size: 20, scale: 2),
 99 |     IconInfo(idiom: .iPhone, size: 20, scale: 3),
/Users/admin/builder/spi-builder-workspace/Sources/AppIconSetGenCore/IconInfo.swift:118:12: warning: let 'iconInfoItemsWatchOS' is not concurrency-safe because non-'Sendable' type '[IconInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
 70 | // MARK: - IconInfo
 71 |
 72 | public struct IconInfo {
    |               `- note: consider making struct 'IconInfo' conform to the 'Sendable' protocol
 73 |     let idiom: Idiom
 74 |     // size in points
    :
116 | ]
117 |
118 | public let iconInfoItemsWatchOS = [
    |            |- warning: let 'iconInfoItemsWatchOS' is not concurrency-safe because non-'Sendable' type '[IconInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'iconInfoItemsWatchOS' 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
119 |     IconInfo(idiom: .watch, size: 24, role: .notificationCenter, subtype: .mm38, scale: 2),
120 |     IconInfo(idiom: .watch, size: 27.5, role: .notificationCenter, subtype: .mm42, scale: 2),
/Users/admin/builder/spi-builder-workspace/Sources/AppIconSetGenCore/IconInfo.swift:132:12: warning: let 'iconInfoItemsMacOS' is not concurrency-safe because non-'Sendable' type '[IconInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
 70 | // MARK: - IconInfo
 71 |
 72 | public struct IconInfo {
    |               `- note: consider making struct 'IconInfo' conform to the 'Sendable' protocol
 73 |     let idiom: Idiom
 74 |     // size in points
    :
130 | ]
131 |
132 | public let iconInfoItemsMacOS = [
    |            |- warning: let 'iconInfoItemsMacOS' is not concurrency-safe because non-'Sendable' type '[IconInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'iconInfoItemsMacOS' 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
133 |     IconInfo(idiom: .mac, size: 16, scale: 1),
134 |     IconInfo(idiom: .mac, size: 16, scale: 2),
/Users/admin/builder/spi-builder-workspace/Sources/AppIconSetGenCore/Utils.swift:12:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension String: Error {}
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
13 |
14 | extension CGFloat {
[24/28] Compiling AppIconSetGen main.swift
[25/28] Emitting module AppIconSetGen
[25/28] Write Objects.LinkFileList
[26/28] Linking AppIconSetGen
[27/28] Applying AppIconSetGen
Build complete! (21.66s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "commander",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Commander.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    }
  ],
  "manifest_display_name" : "AppIconSetGen",
  "name" : "AppIconSetGen",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AppIconSetGen",
      "targets" : [
        "AppIconSetGen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "AppIconSetGenCore",
      "targets" : [
        "AppIconSetGenCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppIconSetGenCore",
      "module_type" : "SwiftTarget",
      "name" : "AppIconSetGenCore",
      "path" : "Sources/AppIconSetGenCore",
      "product_dependencies" : [
        "Commander",
        "PathKit"
      ],
      "product_memberships" : [
        "AppIconSetGen",
        "AppIconSetGenCore"
      ],
      "sources" : [
        "AppIconSet.swift",
        "IconInfo.swift",
        "NSImage+Extensions.swift",
        "Utils.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppIconSetGen",
      "module_type" : "SwiftTarget",
      "name" : "AppIconSetGen",
      "path" : "Sources/AppIconSetGen",
      "product_memberships" : [
        "AppIconSetGen"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "AppIconSetGenCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Done.