This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/abeintopalo/appiconsetgen.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/abeintopalo/appiconsetgen
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/abeintopalo/appiconsetgen.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[7/21] Compiling Commander CommandType.swift
[8/21] Compiling Commander CommandRunner.swift
[9/21] Compiling Commander ArgumentParser.swift
[10/21] Compiling Commander Command.swift
[11/21] Compiling Commander ArgumentDescription.swift
[12/21] Emitting module Commander
[13/21] Compiling Commander ArgumentConvertible.swift
[14/21] Compiling PathKit PathKit.swift
[15/21] Emitting module PathKit
[16/21] Compiling Commander Commands.swift
[17/21] Compiling Commander Group.swift
[18/21] Compiling Commander Error.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 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),
[21/26] Compiling AppIconSetGenCore NSImage+Extensions.swift
[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
/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),
[25/28] Emitting module AppIconSetGen
/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),
[25/28] Write Objects.LinkFileList
[26/28] Linking AppIconSetGen
[27/28] Applying AppIconSetGen
Build complete! (42.18s)
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[16/2999] Fetching pathkit, commander
Fetched https://github.com/kylef/Commander.git from cache (0.97s)
Fetched https://github.com/kylef/PathKit.git from cache (0.97s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.63s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (1.11s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.67s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (2.36s)
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/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.