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 EmojiKit, reference v1.2.1 (b57c28), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 08:49:08 UTC.

Swift 6 data race errors: 2

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/niklasamslgruber/EmojiKit.git
Reference: v1.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/niklasamslgruber/EmojiKit
 * tag               v1.2.1     -> FETCH_HEAD
HEAD is now at b57c289 Fix category names to match Apple categories (#5)
Cloned https://github.com/niklasamslgruber/EmojiKit.git
Revision (git rev-parse @):
b57c28995b8e398d31be0c8b07de0917b0ebb84b
SUCCESS checkout https://github.com/niklasamslgruber/EmojiKit.git at v1.2.1
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/3184] Fetching swiftsoup
[670/15537] Fetching swiftsoup, swift-argument-parser
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.18s)
[865/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.62s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.6.0 (3.36s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.2 (0.64s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.6.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.2.2
========================================
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": "emojikit",
      "name": "EmojiKit",
      "url": "https://github.com/niklasamslgruber/EmojiKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EmojiKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/niklasamslgruber/EmojiKit.git
[2/193] Fetching emojikit
Fetched https://github.com/niklasamslgruber/EmojiKit.git from cache (0.81s)
Creating working copy for https://github.com/niklasamslgruber/EmojiKit.git
Working copy of https://github.com/niklasamslgruber/EmojiKit.git resolved at v1.2.1 (b57c289)
warning: '.resolve-product-dependencies': dependency 'emojikit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/niklasamslgruber/EmojiKit.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/15] Write sources
[1/15] Write EmojiSourceKit-entitlement.plist
[3/15] Copying emojis_v15.0.json
[5/15] Write sources
[5/15] Copying emojis_v15.1.json
[8/15] Write sources
[9/15] Copying emojis_v13.1.json
[10/15] Copying emojis_v14.0.json
[11/15] Write swift-version--7754E27361AE5C74.txt
[13/76] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/76] Emitting module ArgumentParserToolInfo
[15/114] Compiling ArgumentParser AsyncParsableCommand.swift
[16/114] Compiling ArgumentParser CommandConfiguration.swift
[17/114] Compiling ArgumentParser EnumerableFlag.swift
[18/114] Compiling ArgumentParser ExpressibleByArgument.swift
[19/118] Compiling ArgumentParser Platform.swift
[20/118] Compiling ArgumentParser SequenceExtensions.swift
[21/118] Compiling ArgumentParser StringExtensions.swift
[22/118] Compiling ArgumentParser Tree.swift
[23/118] Emitting module ArgumentParser
[24/118] Emitting module SwiftSoup
[25/123] Compiling ArgumentParser ParsableArguments.swift
[26/123] Compiling ArgumentParser ParsableArgumentsValidation.swift
[27/123] Compiling ArgumentParser ParsableCommand.swift
[28/123] Compiling ArgumentParser ArgumentDecoder.swift
[29/123] Compiling ArgumentParser InputOrigin.swift
[30/123] Compiling ArgumentParser Name.swift
[31/123] Compiling ArgumentParser Parsed.swift
[32/123] Compiling ArgumentParser ParsedValues.swift
[33/123] Compiling ArgumentParser ArgumentHelp.swift
[34/123] Compiling ArgumentParser ArgumentVisibility.swift
[35/123] Compiling ArgumentParser CompletionKind.swift
[36/123] Compiling ArgumentParser Errors.swift
[37/123] Compiling ArgumentParser ArgumentDefinition.swift
[38/123] Compiling ArgumentParser ArgumentSet.swift
[39/123] Compiling ArgumentParser CommandParser.swift
[40/123] Compiling ArgumentParser InputKey.swift
[41/123] Compiling EmojiKit resource_bundle_accessor.swift
[42/123] Compiling EmojiKit EmojiManager.swift
[43/123] Emitting module EmojiKit
[44/123] Compiling EmojiKit UnicodeEmojiCategory.swift
[45/123] Compiling EmojiKit AppleEmojiCategory.swift
[46/123] Compiling ArgumentParser BashCompletionsGenerator.swift
[47/123] Compiling ArgumentParser CompletionsGenerator.swift
[48/123] Compiling ArgumentParser FishCompletionsGenerator.swift
[49/123] Compiling ArgumentParser ZshCompletionsGenerator.swift
[50/123] Compiling ArgumentParser Argument.swift
[51/123] Compiling ArgumentParser ParserError.swift
[52/123] Compiling ArgumentParser SplitArguments.swift
[53/123] Compiling ArgumentParser DumpHelpGenerator.swift
[54/123] Compiling ArgumentParser HelpCommand.swift
[62/123] Compiling ArgumentParser Flag.swift
[63/123] Compiling ArgumentParser NameSpecification.swift
[64/123] Compiling ArgumentParser Option.swift
[65/123] Compiling ArgumentParser OptionGroup.swift
[66/123] Compiling ArgumentParser HelpGenerator.swift
[68/123] Compiling ArgumentParser MessageInfo.swift
[69/123] Compiling ArgumentParser UsageGenerator.swift
[70/123] Compiling ArgumentParser CollectionExtensions.swift
[80/123] Compiling SwiftSoup Connection.swift
[99/123] Compiling SwiftSoup TokenQueue.swift
[100/123] Compiling SwiftSoup Tokeniser.swift
[101/123] Compiling SwiftSoup TokeniserState.swift
[102/123] Compiling SwiftSoup TreeBuilder.swift
[103/123] Compiling SwiftSoup UnfairLock.swift
[104/123] Compiling SwiftSoup HtmlTreeBuilderState.swift
[105/123] Compiling SwiftSoup HttpStatusException.swift
[106/123] Compiling SwiftSoup Mutex.swift
[107/123] Compiling SwiftSoup Node.swift
[108/123] Compiling SwiftSoup NodeTraversor.swift
[109/123] Compiling SwiftSoup NodeVisitor.swift
[116/123] Compiling SwiftSoup UnicodeScalar.swift
[117/123] Compiling SwiftSoup Validate.swift
[118/123] Compiling SwiftSoup Whitelist.swift
[119/123] Compiling SwiftSoup XmlDeclaration.swift
[120/123] Compiling SwiftSoup XmlTreeBuilder.swift
[121/128] Compiling EmojiSourceKit UnicodeParser.swift
[122/128] Compiling EmojiSourceKit EmojiDownloader.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmojiSourceKit/EmojiDownloader.swift:15: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
 13 | struct EmojiDownloader: ParsableCommand, AsyncParsableCommand {
 14 |
 15 |     static let configuration: CommandConfiguration = 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
 16 |         commandName: "download",
 17 |         abstract: "Downloads a list of all available emojis and their counts from unicode.rog for the respective unicode version"
/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/EmojiSourceKit/EmojiDownloader.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  7 |
  8 | import Foundation
  9 | import ArgumentParser
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 10 | import EmojiKit
 11 |
    :
 13 | struct EmojiDownloader: ParsableCommand, AsyncParsableCommand {
 14 |
 15 |     static let configuration: CommandConfiguration = 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
 16 |         commandName: "download",
 17 |         abstract: "Downloads a list of all available emojis and their counts from unicode.rog for the respective unicode version"
/Users/admin/builder/spi-builder-workspace/Sources/EmojiSourceKit/EmojiDownloader.swift:126:1: warning: extension declares a conformance of imported type 'Version' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'EmojiKit' introduce this conformance in the future
124 | }
125 | #endif
126 | extension EmojiManager.Version: ExpressibleByArgument {}
    | |- warning: extension declares a conformance of imported type 'Version' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'EmojiKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
127 |
[123/128] Emitting module EmojiSourceKit
/Users/admin/builder/spi-builder-workspace/Sources/EmojiSourceKit/EmojiDownloader.swift:15: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
 13 | struct EmojiDownloader: ParsableCommand, AsyncParsableCommand {
 14 |
 15 |     static let configuration: CommandConfiguration = 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
 16 |         commandName: "download",
 17 |         abstract: "Downloads a list of all available emojis and their counts from unicode.rog for the respective unicode version"
/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/EmojiSourceKit/EmojiDownloader.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  7 |
  8 | import Foundation
  9 | import ArgumentParser
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 10 | import EmojiKit
 11 |
    :
 13 | struct EmojiDownloader: ParsableCommand, AsyncParsableCommand {
 14 |
 15 |     static let configuration: CommandConfiguration = 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
 16 |         commandName: "download",
 17 |         abstract: "Downloads a list of all available emojis and their counts from unicode.rog for the respective unicode version"
/Users/admin/builder/spi-builder-workspace/Sources/EmojiSourceKit/EmojiDownloader.swift:126:1: warning: extension declares a conformance of imported type 'Version' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'EmojiKit' introduce this conformance in the future
124 | }
125 | #endif
126 | extension EmojiManager.Version: ExpressibleByArgument {}
    | |- warning: extension declares a conformance of imported type 'Version' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'EmojiKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
127 |
/Users/admin/builder/spi-builder-workspace/Sources/EmojiSourceKit/EmojiScripts.swift:15: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
13 |
14 |     #if os(macOS)
15 |     static let configuration: CommandConfiguration = 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
16 |         commandName: "emojis",
17 |         abstract: "Manage Emojis from Unicode",
/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/EmojiSourceKit/EmojiScripts.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 7 |
 8 | import Foundation
 9 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
10 |
11 | @main
   :
13 |
14 |     #if os(macOS)
15 |     static let configuration: CommandConfiguration = 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
16 |         commandName: "emojis",
17 |         abstract: "Manage Emojis from Unicode",
[124/128] Compiling EmojiSourceKit EmojiScripts.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmojiSourceKit/EmojiScripts.swift:15: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
13 |
14 |     #if os(macOS)
15 |     static let configuration: CommandConfiguration = 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
16 |         commandName: "emojis",
17 |         abstract: "Manage Emojis from Unicode",
/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/EmojiSourceKit/EmojiScripts.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 7 |
 8 | import Foundation
 9 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
10 |
11 | @main
   :
13 |
14 |     #if os(macOS)
15 |     static let configuration: CommandConfiguration = 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
16 |         commandName: "emojis",
17 |         abstract: "Manage Emojis from Unicode",
[125/128] Compiling EmojiSourceKit StringHelper.swift
[125/128] Write Objects.LinkFileList
[126/128] Linking EmojiSourceKit
[127/128] Applying EmojiSourceKit
Build complete! (20.63s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swiftsoup",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.6.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/scinfu/SwiftSoup.git"
    }
  ],
  "manifest_display_name" : "EmojiKit",
  "name" : "EmojiKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "EmojiKit",
      "targets" : [
        "EmojiKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "EmojiSourceKit",
      "targets" : [
        "EmojiSourceKit"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EmojiSourceKit",
      "module_type" : "SwiftTarget",
      "name" : "EmojiSourceKit",
      "path" : "Sources/EmojiSourceKit",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftSoup"
      ],
      "product_memberships" : [
        "EmojiSourceKit"
      ],
      "sources" : [
        "EmojiDownloader.swift",
        "EmojiScripts.swift",
        "StringHelper.swift",
        "UnicodeParser.swift"
      ],
      "target_dependencies" : [
        "EmojiKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "EmojiKit",
      "module_type" : "SwiftTarget",
      "name" : "EmojiKit",
      "path" : "Sources/EmojiKit",
      "product_memberships" : [
        "EmojiKit",
        "EmojiSourceKit"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/EmojiKit/Resources/emojis_v13.1.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/EmojiKit/Resources/emojis_v14.0.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/EmojiKit/Resources/emojis_v15.0.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/EmojiKit/Resources/emojis_v15.1.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AppleEmojiCategory.swift",
        "EmojiManager.swift",
        "UnicodeEmojiCategory.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.