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 Linux on 29 Nov 2024 05:24:32 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nonchalant/appicon.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/akkyie/Tablier
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kareman/SwiftShell.git
[1/4863] Fetching swiftshell
[682/5579] Fetching swiftshell, tablier
Fetched https://github.com/akkyie/Tablier from cache (0.22s)
[3648/4863] Fetching swiftshell
[4864/17258] Fetching swiftshell, swift-argument-parser
Fetched https://github.com/kareman/SwiftShell.git from cache (0.68s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.69s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 5.1.0 (0.46s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.47s)
Computing version for https://github.com/akkyie/Tablier
Computed https://github.com/akkyie/Tablier at 0.5.2 (0.45s)
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.5.2
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
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/24] Emitting module SwiftShell
[8/25] Emitting module ArgumentParserToolInfo
[9/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/26] Compiling SwiftShell Lazy-split.swift
[11/26] Wrapping AST for ArgumentParserToolInfo for debugging
[13/60] Compiling ArgumentParser BashCompletionsGenerator.swift
[14/60] Compiling ArgumentParser CompletionsGenerator.swift
[15/60] Compiling ArgumentParser FishCompletionsGenerator.swift
[16/60] Compiling ArgumentParser ZshCompletionsGenerator.swift
[17/60] Compiling ArgumentParser Argument.swift
[18/60] Emitting module ArgumentParser
[19/60] Compiling ArgumentParser ArgumentHelp.swift
[20/60] Compiling ArgumentParser CompletionKind.swift
[21/60] Compiling ArgumentParser Errors.swift
[22/60] Compiling ArgumentParser Flag.swift
[23/60] Compiling ArgumentParser NameSpecification.swift
[24/64] Compiling SwiftShell Process.swift
[25/64] Compiling SwiftShell Stream.swift
[26/64] Compiling ArgumentParser ArgumentSet.swift
[27/64] Compiling ArgumentParser CommandParser.swift
[28/64] Compiling ArgumentParser InputOrigin.swift
[29/64] Compiling ArgumentParser Name.swift
[30/64] Compiling ArgumentParser Parsed.swift
[31/64] Compiling SwiftShell Array.swift
[32/64] Compiling SwiftShell Files.swift
[33/64] Compiling SwiftShell Context.swift
[36/64] Compiling SwiftShell String.swift
[38/65] Compiling ArgumentParser ParsableArguments.swift
[39/65] Compiling ArgumentParser ParsableArgumentsValidation.swift
[40/65] Compiling ArgumentParser ParsableCommand.swift
[41/65] Compiling ArgumentParser ArgumentDecoder.swift
[42/65] Compiling ArgumentParser ArgumentDefinition.swift
[43/65] Compiling ArgumentParser Option.swift
[44/65] Compiling ArgumentParser OptionGroup.swift
[45/65] Compiling ArgumentParser CommandConfiguration.swift
[46/65] Compiling ArgumentParser EnumerableFlag.swift
[47/65] Compiling ArgumentParser ExpressibleByArgument.swift
[47/65] Wrapping AST for SwiftShell for debugging
[49/65] Compiling ArgumentParser ParsedValues.swift
[50/65] Compiling ArgumentParser ParserError.swift
[51/65] Compiling ArgumentParser SplitArguments.swift
[52/65] Compiling ArgumentParser DumpHelpGenerator.swift
[53/65] Compiling ArgumentParser CollectionExtensions.swift
[54/65] Compiling ArgumentParser SequenceExtensions.swift
[55/65] Compiling ArgumentParser StringExtensions.swift
[56/65] Compiling ArgumentParser Tree.swift
[57/65] Compiling ArgumentParser HelpCommand.swift
[58/65] Compiling ArgumentParser HelpGenerator.swift
[59/65] Compiling ArgumentParser MessageInfo.swift
[60/65] Compiling ArgumentParser UsageGenerator.swift
[61/66] Wrapping AST for ArgumentParser for debugging
[63/78] Compiling AppIconCore LocalError.swift
[64/78] Compiling AppIconCore Platform.swift
[65/78] Compiling AppIconCore ImageExtractor.swift
[66/79] Compiling AppIconCore WatchAppIconSet.swift
[67/79] Compiling AppIconCore ContentsJson.swift
[68/79] Compiling AppIconCore MacAppIconSet.swift
[69/79] Compiling AppIconCore Scale.swift
[70/79] Compiling AppIconCore AppIconSet.swift
[71/79] Compiling AppIconCore IosAppIconSet.swift
[72/79] Emitting module AppIconCore
[73/79] Compiling AppIconCore Command.swift
[74/79] Compiling AppIconCore AppIcon.swift
[75/79] Compiling AppIconCore JsonExtractor.swift
[76/80] Wrapping AST for AppIconCore for debugging
[78/82] Emitting module AppIcon
/host/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",
/host/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 |   ///
/host/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",
[79/82] Compiling AppIcon main.swift
/host/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",
/host/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 |   ///
/host/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",
[80/83] Wrapping AST for AppIcon for debugging
[81/83] Write Objects.LinkFileList
[82/83] Linking AppIcon
Build complete! (19.39s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.