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.1 for macOS (SPM) on 24 Apr 2025 23:02:30 UTC.

Swift 6 data race errors: 3

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/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/PathKit.git
Fetching https://github.com/kylef/Commander.git
[1/1588] Fetching commander
[192/2999] Fetching commander, pathkit
Fetched https://github.com/kylef/Commander.git from cache (0.85s)
Fetched https://github.com/kylef/PathKit.git from cache (0.85s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.75s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.95s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.53s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (0.63s)
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.56s)
Fetching https://github.com/kylef/PathKit.git from cache
Fetching https://github.com/kylef/Commander.git from cache
Fetched https://github.com/kylef/Commander.git from cache (0.42s)
Fetched https://github.com/kylef/PathKit.git from cache (0.45s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.50s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.43s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.49s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (0.03s)
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
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/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.1
Building package at path:  $PWD
https://github.com/abeintopalo/appiconsetgen.git
https://github.com/abeintopalo/appiconsetgen.git
{
  "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"
}
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/9] Write sources
[1/9] Write AppIconSetGen-entitlement.plist
[1/9] Write sources
[5/9] Write swift-version-2F0A5646E1D333AE.txt
[7/21] Compiling Commander ArgumentParser.swift
[8/21] Emitting module Commander
[9/21] Compiling Commander ArgumentConvertible.swift
[10/21] Compiling Commander CommandRunner.swift
[11/21] Compiling Commander Command.swift
[12/21] Compiling Commander CommandType.swift
[13/21] Compiling Commander Commands.swift
[14/21] Compiling Commander Group.swift
[15/21] Compiling Commander Error.swift
[16/21] Compiling Commander ArgumentDescription.swift
[17/21] Emitting module PathKit
[18/21] Compiling PathKit PathKit.swift
[19/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: add '@MainActor' to make let 'iconInfoItemsIOS' part of global actor 'MainActor'
    |            `- 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: add '@MainActor' to make let 'iconInfoItemsWatchOS' part of global actor 'MainActor'
    |            `- 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: add '@MainActor' to make let 'iconInfoItemsMacOS' part of global actor 'MainActor'
    |            `- 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),
[20/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 {
[21/26] Compiling AppIconSetGenCore NSImage+Extensions.swift
[22/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: add '@MainActor' to make let 'iconInfoItemsIOS' part of global actor 'MainActor'
    |            `- 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: add '@MainActor' to make let 'iconInfoItemsWatchOS' part of global actor 'MainActor'
    |            `- 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: add '@MainActor' to make let 'iconInfoItemsMacOS' part of global actor 'MainActor'
    |            `- 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 {
[23/26] Compiling AppIconSetGenCore AppIconSet.swift
[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! (11.41s)
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.