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 AppIcon, reference 1.0.6 (3c7757), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 05:25:55 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nonchalant/appicon.git
Reference: 1.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nonchalant/appicon
 * tag               1.0.6      -> FETCH_HEAD
HEAD is now at 3c7757b Merge pull request #81 from Nonchalant/update-1.0.6
Cloned https://github.com/nonchalant/appicon.git
Revision (git rev-parse @):
3c7757b9096872b273aa1bae61e8a0372b1eab25
SUCCESS checkout https://github.com/nonchalant/appicon.git at 1.0.6
Fetching https://github.com/akkyie/Tablier
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/apple/swift-argument-parser
[1/716] Fetching tablier
[37/5579] Fetching tablier, swiftshell
[1739/17974] Fetching tablier, swiftshell, swift-argument-parser
Fetched https://github.com/kareman/SwiftShell.git from cache (1.28s)
Fetched https://github.com/akkyie/Tablier from cache (1.28s)
[2232/12395] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.54s)
Computing version for https://github.com/akkyie/Tablier
Computed https://github.com/akkyie/Tablier at 0.3.3 (0.59s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 5.1.0 (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.1 (0.55s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.3.1
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 5.1.0
Creating working copy for https://github.com/akkyie/Tablier
Working copy of https://github.com/akkyie/Tablier resolved at 0.3.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": "appicon",
      "name": "AppIcon",
      "url": "https://github.com/nonchalant/appicon.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/appicon",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "0.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "swiftshell",
          "name": "SwiftShell",
          "url": "https://github.com/kareman/SwiftShell.git",
          "version": "5.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftShell",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/nonchalant/appicon.git
[1/529] Fetching appicon
Fetched https://github.com/nonchalant/appicon.git from cache (1.16s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/kareman/SwiftShell.git from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.56s)
Fetched https://github.com/kareman/SwiftShell.git from cache (0.56s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 5.1.0 (0.02s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.58s)
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 5.1.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/nonchalant/appicon.git
Working copy of https://github.com/nonchalant/appicon.git resolved at 1.0.6 (3c7757b)
Found 2 product dependencies
  - swift-argument-parser
  - SwiftShell
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nonchalant/appicon.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 -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
[4/9] Write AppIcon-entitlement.plist
[5/9] Write swift-version--7754E27361AE5C74.txt
[7/52] Emitting module ArgumentParser
[8/55] Compiling ArgumentParser CommandConfiguration.swift
[9/55] Compiling ArgumentParser EnumerableFlag.swift
[10/55] Compiling ArgumentParser ExpressibleByArgument.swift
[11/55] Compiling ArgumentParser ParsableArguments.swift
[12/55] Compiling ArgumentParser BashCompletionsGenerator.swift
[13/55] Compiling ArgumentParser CompletionsGenerator.swift
[14/55] Compiling ArgumentParser FishCompletionsGenerator.swift
[15/55] Compiling ArgumentParser ZshCompletionsGenerator.swift
[16/55] Compiling ArgumentParser Flag.swift
[17/55] Compiling ArgumentParser NameSpecification.swift
[18/55] Compiling ArgumentParser Option.swift
[19/55] Compiling ArgumentParser OptionGroup.swift
[20/55] Compiling ArgumentParser Argument.swift
[21/55] Compiling ArgumentParser ArgumentHelp.swift
[22/55] Compiling ArgumentParser CompletionKind.swift
[23/55] Compiling ArgumentParser Errors.swift
[24/55] Compiling ArgumentParser ArgumentSet.swift
[25/55] Compiling ArgumentParser CommandParser.swift
[26/55] Compiling ArgumentParser InputOrigin.swift
[27/55] Compiling ArgumentParser SequenceExtensions.swift
[28/55] Compiling ArgumentParser StringExtensions.swift
[29/55] Compiling ArgumentParser Tree.swift
[30/55] Compiling SwiftShell Lazy-split.swift
[31/55] Compiling SwiftShell String.swift
[32/55] Compiling SwiftShell Stream.swift
[33/55] Compiling SwiftShell Array.swift
[34/55] Compiling SwiftShell Files.swift
[35/55] Compiling SwiftShell Context.swift
[36/55] Compiling SwiftShell Process.swift
[37/55] Compiling SwiftShell Bash.swift
[38/55] Compiling SwiftShell Command.swift
[39/55] Emitting module SwiftShell
[40/55] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/55] Compiling ArgumentParser ParsableCommand.swift
[42/55] Compiling ArgumentParser ArgumentDecoder.swift
[43/55] Compiling ArgumentParser ArgumentDefinition.swift
[44/55] Compiling ArgumentParser Name.swift
[45/55] Compiling ArgumentParser Parsed.swift
[46/55] Compiling ArgumentParser ParsedValues.swift
[47/55] Compiling ArgumentParser HelpGenerator.swift
[48/55] Compiling ArgumentParser MessageInfo.swift
[49/55] Compiling ArgumentParser UsageGenerator.swift
[50/55] Compiling ArgumentParser ParserError.swift
[51/55] Compiling ArgumentParser SplitArguments.swift
[52/55] Compiling ArgumentParser HelpCommand.swift
[53/67] Compiling AppIconCore LocalError.swift
[54/68] Compiling AppIconCore ImageExtractor.swift
[55/68] Compiling AppIconCore Platform.swift
[56/68] Compiling AppIconCore Scale.swift
[57/68] Compiling AppIconCore WatchAppIconSet.swift
[58/68] Compiling AppIconCore MacAppIconSet.swift
[59/68] Compiling AppIconCore ContentsJson.swift
[60/68] Compiling AppIconCore AppIconSet.swift
[61/68] Compiling AppIconCore IosAppIconSet.swift
[62/68] Emitting module AppIconCore
[63/68] Compiling AppIconCore Command.swift
[64/68] Compiling AppIconCore AppIcon.swift
[65/68] Compiling AppIconCore JsonExtractor.swift
[66/70] Emitting module AppIcon
/Users/admin/builder/spi-builder-workspace/Sources/AppIcon/main.swift:6:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 | struct AppIcon: ParsableCommand {
 6 |     static let configuration = CommandConfiguration(
   |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |         commandName: "appicon",
 8 |         abstract: "AppIcon generates *.appiconset contains each resolution image for iOS",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/AppIcon/main.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 1 | import AppIconCore
 2 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 3 | import Foundation
 4 |
 5 | struct AppIcon: ParsableCommand {
 6 |     static let configuration = CommandConfiguration(
   |                |- note: annotate 'configuration' 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
 7 |         commandName: "appicon",
 8 |         abstract: "AppIcon generates *.appiconset contains each resolution image for iOS",
[67/70] Compiling AppIcon main.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppIcon/main.swift:6:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 | struct AppIcon: ParsableCommand {
 6 |     static let configuration = CommandConfiguration(
   |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |         commandName: "appicon",
 8 |         abstract: "AppIcon generates *.appiconset contains each resolution image for iOS",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/AppIcon/main.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 1 | import AppIconCore
 2 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 3 | import Foundation
 4 |
 5 | struct AppIcon: ParsableCommand {
 6 |     static let configuration = CommandConfiguration(
   |                |- note: annotate 'configuration' 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
 7 |         commandName: "appicon",
 8 |         abstract: "AppIcon generates *.appiconset contains each resolution image for iOS",
[67/70] Write Objects.LinkFileList
[68/70] Linking AppIcon
[69/70] Applying AppIcon
Build complete! (25.08s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swiftshell",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.1.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kareman/SwiftShell.git"
    },
    {
      "identity" : "tablier",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/akkyie/Tablier"
    }
  ],
  "manifest_display_name" : "AppIcon",
  "name" : "AppIcon",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AppIcon",
      "targets" : [
        "AppIcon"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppIconTests",
      "module_type" : "SwiftTarget",
      "name" : "AppIconTests",
      "path" : "Tests/AppIconTests",
      "product_dependencies" : [
        "Tablier"
      ],
      "sources" : [
        "AppIconTests.swift"
      ],
      "target_dependencies" : [
        "AppIconCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppIconCore",
      "module_type" : "SwiftTarget",
      "name" : "AppIconCore",
      "path" : "Sources/AppIconCore",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftShell"
      ],
      "product_memberships" : [
        "AppIcon"
      ],
      "sources" : [
        "Command/Command.swift",
        "Data/Icon/AppIcon.swift",
        "Data/Icon/AppIconSet.swift",
        "Data/Icon/IosAppIconSet.swift",
        "Data/Icon/MacAppIconSet.swift",
        "Data/Icon/Scale.swift",
        "Data/Icon/WatchAppIconSet.swift",
        "Data/Json/ContentsJson.swift",
        "Data/Platform.swift",
        "Error/LocalError.swift",
        "Extractor/ImageExtractor.swift",
        "Extractor/JsonExtractor.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppIcon",
      "module_type" : "SwiftTarget",
      "name" : "AppIcon",
      "path" : "Sources/AppIcon",
      "product_memberships" : [
        "AppIcon"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "AppIconCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
Done.