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 master (ddc466), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 05:26:01 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nonchalant/appicon
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ddc4662 Merge pull request #83 from Nonchalant/remove-unused-options
Cloned https://github.com/nonchalant/appicon.git
Revision (git rev-parse @):
ddc4662a854dbd3f6f6b2159c914d90d2dfbbf51
SUCCESS checkout https://github.com/nonchalant/appicon.git at master
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/akkyie/Tablier
[1/716] Fetching tablier
[73/5579] Fetching tablier, swiftshell
[1398/17974] Fetching tablier, swiftshell, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.55s)
Fetched https://github.com/kareman/SwiftShell.git from cache (1.55s)
Fetched https://github.com/akkyie/Tablier from cache (1.55s)
Computing version for https://github.com/akkyie/Tablier
Computed https://github.com/akkyie/Tablier at 0.3.3 (0.56s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 5.1.0 (0.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.1 (0.56s)
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.19s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/kareman/SwiftShell.git from cache
Fetched https://github.com/kareman/SwiftShell.git from cache (0.53s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.53s)
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.54s)
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/nonchalant/appicon.git
Working copy of https://github.com/nonchalant/appicon.git resolved at master (ddc4662)
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
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
[3/9] Write AppIcon-entitlement.plist
[5/9] Write swift-version--7754E27361AE5C74.txt
[7/52] Emitting module ArgumentParser
[8/55] Compiling ArgumentParser Argument.swift
[9/55] Compiling ArgumentParser ArgumentHelp.swift
[10/55] Compiling ArgumentParser CompletionKind.swift
[11/55] Compiling ArgumentParser Errors.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 CommandConfiguration.swift
[17/55] Compiling ArgumentParser EnumerableFlag.swift
[18/55] Compiling ArgumentParser ExpressibleByArgument.swift
[19/55] Compiling ArgumentParser ParsableArguments.swift
[20/55] Compiling ArgumentParser SequenceExtensions.swift
[21/55] Compiling ArgumentParser StringExtensions.swift
[22/55] Compiling ArgumentParser Tree.swift
[23/55] Compiling SwiftShell String.swift
[24/55] Compiling SwiftShell Array.swift
[25/55] Compiling SwiftShell Lazy-split.swift
[26/55] Compiling SwiftShell Stream.swift
[27/55] Compiling SwiftShell Process.swift
[28/55] Compiling ArgumentParser ParserError.swift
[29/55] Compiling ArgumentParser SplitArguments.swift
[30/55] Compiling ArgumentParser HelpCommand.swift
[31/55] Compiling ArgumentParser Name.swift
[32/55] Compiling ArgumentParser Parsed.swift
[33/55] Compiling ArgumentParser ParsedValues.swift
[34/55] Compiling ArgumentParser ArgumentSet.swift
[35/55] Compiling ArgumentParser CommandParser.swift
[36/55] Compiling ArgumentParser InputOrigin.swift
[37/55] Compiling ArgumentParser Flag.swift
[38/55] Compiling ArgumentParser NameSpecification.swift
[39/55] Compiling ArgumentParser Option.swift
[40/55] Compiling ArgumentParser OptionGroup.swift
[41/55] Compiling ArgumentParser HelpGenerator.swift
[42/55] Compiling ArgumentParser MessageInfo.swift
[43/55] Compiling ArgumentParser UsageGenerator.swift
[44/55] Compiling ArgumentParser ParsableArgumentsValidation.swift
[45/55] Compiling ArgumentParser ParsableCommand.swift
[46/55] Compiling ArgumentParser ArgumentDecoder.swift
[47/55] Compiling ArgumentParser ArgumentDefinition.swift
[48/55] Compiling SwiftShell Files.swift
[49/55] Compiling SwiftShell Bash.swift
[50/55] Compiling SwiftShell Command.swift
[51/55] Compiling SwiftShell Context.swift
[52/55] Emitting module SwiftShell
[53/67] Compiling AppIconCore ImageExtractor.swift
[54/68] Compiling AppIconCore MacAppIconSet.swift
[55/68] Compiling AppIconCore Command.swift
[56/68] Compiling AppIconCore AppIcon.swift
[57/68] Emitting module AppIconCore
[58/68] Compiling AppIconCore AppIconSet.swift
[59/68] Compiling AppIconCore IosAppIconSet.swift
[60/68] Compiling AppIconCore LocalError.swift
[61/68] Compiling AppIconCore Platform.swift
[62/68] Compiling AppIconCore ContentsJson.swift
[63/68] Compiling AppIconCore WatchAppIconSet.swift
[64/68] Compiling AppIconCore Scale.swift
[65/68] Compiling AppIconCore JsonExtractor.swift
[66/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] 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] Write Objects.LinkFileList
[68/70] Linking AppIcon
[69/70] Applying AppIcon
Build complete! (25.86s)
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.