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 master (858437), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 10:11:27 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: 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
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/kylef/PathKit.git
[1/1588] Fetching commander
[208/2999] Fetching commander, pathkit
Fetched https://github.com/kylef/Commander.git from cache (0.92s)
Fetched https://github.com/kylef/PathKit.git from cache (0.92s)
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.97s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.63s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (2.69s)
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
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.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.68s)
Fetching https://github.com/kylef/Commander.git from cache
Fetching https://github.com/kylef/PathKit.git from cache
Fetched https://github.com/kylef/PathKit.git from cache (0.50s)
Fetched https://github.com/kylef/Commander.git from cache (0.50s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.02s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.47s)
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/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
Creating working copy for https://github.com/abeintopalo/appiconsetgen.git
Working copy of https://github.com/abeintopalo/appiconsetgen.git resolved at master (858437d)
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
[3/9] Write AppIconSetGen-entitlement.plist
[5/9] Write swift-version--7754E27361AE5C74.txt
[7/21] Emitting module PathKit
[8/21] Compiling Commander CommandType.swift
[9/21] Compiling Commander Group.swift
[10/21] Emitting module Commander
[11/21] Compiling Commander ArgumentParser.swift
[12/21] Compiling Commander ArgumentDescription.swift
[13/21] Compiling Commander CommandRunner.swift
[14/21] Compiling Commander ArgumentConvertible.swift
[15/21] Compiling Commander Commands.swift
[16/21] Compiling Commander Command.swift
[17/21] Compiling Commander Error.swift
[18/21] Compiling PathKit PathKit.swift
[19/26] Compiling AppIconSetGenCore NSImage+Extensions.swift
[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 AppIconSet.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: 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 {
[23/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),
[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! (20.59s)
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.