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

Failed to build UnicodeEmoji, reference main (cf5568), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 15:35:35 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rootstrap/UnicodeEmoji.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rootstrap/UnicodeEmoji
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cf55686 Merge pull request #4 from rootstrap/update/emoji-15.1
Cloned https://github.com/rootstrap/UnicodeEmoji.git
Revision (git rev-parse @):
cf556865f32b6938bc9c8f2218bc0e1395d74634
SUCCESS checkout https://github.com/rootstrap/UnicodeEmoji.git at main
========================================
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": "unicodeemoji",
      "name": "UnicodeEmoji",
      "url": "https://github.com/rootstrap/UnicodeEmoji.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UnicodeEmoji",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/rootstrap/UnicodeEmoji.git
[1/109] Fetching unicodeemoji
Fetched https://github.com/rootstrap/UnicodeEmoji.git from cache (0.57s)
Creating working copy for https://github.com/rootstrap/UnicodeEmoji.git
Working copy of https://github.com/rootstrap/UnicodeEmoji.git resolved at main (cf55686)
warning: '.resolve-product-dependencies': dependency 'unicodeemoji' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rootstrap/UnicodeEmoji.git
https://github.com/rootstrap/UnicodeEmoji.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UnicodeEmoji",
  "name" : "UnicodeEmoji",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "UnicodeEmoji",
      "targets" : [
        "UnicodeEmoji"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UnicodeEmojiExample",
      "module_type" : "SwiftTarget",
      "name" : "UnicodeEmojiExample",
      "path" : "UnicodeEmojiExample",
      "sources" : [
        "AppDelegate.swift",
        "ViewController.swift"
      ],
      "target_dependencies" : [
        "UnicodeEmoji"
      ],
      "type" : "library"
    },
    {
      "c99name" : "UnicodeEmoji",
      "module_type" : "SwiftTarget",
      "name" : "UnicodeEmoji",
      "path" : "Sources",
      "product_memberships" : [
        "UnicodeEmoji"
      ],
      "sources" : [
        "Emoji.swift",
        "EmojiCollection.swift",
        "EmojiGroup.swift",
        "EmojiLoader.swift",
        "Extensions/CGPoint+UnicodeEmoji.swift",
        "Extensions/UILabel+UnicodeEmoji.swift",
        "Extensions/UIView+UnicodeEmoji.swift",
        "Extensions/UserDefaults+UnicodeEmoji.swift",
        "Views/EmojiVariantsView/EmojiVariantsView.swift",
        "Views/StickerCollectionCell.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/13] Compiling UnicodeEmoji EmojiVariantsView.swift
[5/13] Compiling UnicodeEmoji UIView+UnicodeEmoji.swift
[6/14] Compiling UnicodeEmoji StickerCollectionCell.swift
[7/14] Compiling UnicodeEmoji UILabel+UnicodeEmoji.swift
[8/14] Compiling UnicodeEmoji UserDefaults+UnicodeEmoji.swift
[9/14] Compiling UnicodeEmoji CGPoint+UnicodeEmoji.swift
[10/14] Compiling UnicodeEmoji EmojiGroup.swift
[11/14] Compiling UnicodeEmoji EmojiCollection.swift
[12/14] Compiling UnicodeEmoji Emoji.swift
/Users/admin/builder/spi-builder-workspace/Sources/Emoji.swift:32:24: warning: static property 'genderIdentifiers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |     public var variants: [Emoji] = []
31 |
32 |     private static var genderIdentifiers = ["2642", "2640"]
   |                        |- warning: static property 'genderIdentifiers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'genderIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'genderIdentifiers' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     private static var skinToneIdentifiers = ["1F3FB", "1F3FC", "1F3FD", "1F3FE", "1F3FF"]
34 |     private static var joinersAndSelectors = ["200D", "FE0F"]
/Users/admin/builder/spi-builder-workspace/Sources/Emoji.swift:33:24: warning: static property 'skinToneIdentifiers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 |     private static var genderIdentifiers = ["2642", "2640"]
33 |     private static var skinToneIdentifiers = ["1F3FB", "1F3FC", "1F3FD", "1F3FE", "1F3FF"]
   |                        |- warning: static property 'skinToneIdentifiers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'skinToneIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'skinToneIdentifiers' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |     private static var joinersAndSelectors = ["200D", "FE0F"]
35 |
/Users/admin/builder/spi-builder-workspace/Sources/Emoji.swift:34:24: warning: static property 'joinersAndSelectors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |     private static var genderIdentifiers = ["2642", "2640"]
33 |     private static var skinToneIdentifiers = ["1F3FB", "1F3FC", "1F3FD", "1F3FE", "1F3FF"]
34 |     private static var joinersAndSelectors = ["200D", "FE0F"]
   |                        |- warning: static property 'joinersAndSelectors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'joinersAndSelectors' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'joinersAndSelectors' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |     var prettyPrinted: String {
[13/14] Compiling UnicodeEmoji EmojiLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmojiLoader.swift:37:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EmojiLoader' may have shared mutable state; this is an error in the Swift 6 language mode
 33 | }
 34 |
 35 | public class EmojiLoader {
    |              `- note: class 'EmojiLoader' does not conform to the 'Sendable' protocol
 36 |
 37 |     public static let shared = EmojiLoader()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EmojiLoader' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     private let unicodePublicFolder = "https://unicode.org/Public/emoji/"
/Users/admin/builder/spi-builder-workspace/Sources/EmojiLoader.swift:120:17: warning: capture of 'completion' with non-sendable type '(String?, (any Error)?) -> Void' in a '@Sendable' closure
118 |                 error == nil
119 |             else {
120 |                 completion(nil, error!)
    |                 |- warning: capture of 'completion' with non-sendable type '(String?, (any Error)?) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
121 |                 return
122 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EmojiLoader.swift:74:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
 72 |         load(unicodeVersion: UnicodeEmojiVersion.current, reload: forceReload) { (emojis, error) in
 73 |             DispatchQueue.main.async {
 74 |                 completion?(emojis, error)
    |                 |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 75 |             }
 76 |         }
/Users/admin/builder/spi-builder-workspace/Sources/EmojiLoader.swift:74:29: warning: sending 'emojis' risks causing data races; this is an error in the Swift 6 language mode
 72 |         load(unicodeVersion: UnicodeEmojiVersion.current, reload: forceReload) { (emojis, error) in
 73 |             DispatchQueue.main.async {
 74 |                 completion?(emojis, error)
    |                             |- warning: sending 'emojis' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: task-isolated 'emojis' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 75 |             }
 76 |         }
[14/14] Emitting module UnicodeEmoji
/Users/admin/builder/spi-builder-workspace/Sources/Emoji.swift:32:24: warning: static property 'genderIdentifiers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |     public var variants: [Emoji] = []
31 |
32 |     private static var genderIdentifiers = ["2642", "2640"]
   |                        |- warning: static property 'genderIdentifiers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'genderIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'genderIdentifiers' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     private static var skinToneIdentifiers = ["1F3FB", "1F3FC", "1F3FD", "1F3FE", "1F3FF"]
34 |     private static var joinersAndSelectors = ["200D", "FE0F"]
/Users/admin/builder/spi-builder-workspace/Sources/Emoji.swift:33:24: warning: static property 'skinToneIdentifiers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 |     private static var genderIdentifiers = ["2642", "2640"]
33 |     private static var skinToneIdentifiers = ["1F3FB", "1F3FC", "1F3FD", "1F3FE", "1F3FF"]
   |                        |- warning: static property 'skinToneIdentifiers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'skinToneIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'skinToneIdentifiers' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |     private static var joinersAndSelectors = ["200D", "FE0F"]
35 |
/Users/admin/builder/spi-builder-workspace/Sources/Emoji.swift:34:24: warning: static property 'joinersAndSelectors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |     private static var genderIdentifiers = ["2642", "2640"]
33 |     private static var skinToneIdentifiers = ["1F3FB", "1F3FC", "1F3FD", "1F3FE", "1F3FF"]
34 |     private static var joinersAndSelectors = ["200D", "FE0F"]
   |                        |- warning: static property 'joinersAndSelectors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'joinersAndSelectors' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'joinersAndSelectors' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |     var prettyPrinted: String {
/Users/admin/builder/spi-builder-workspace/Sources/EmojiLoader.swift:37:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EmojiLoader' may have shared mutable state; this is an error in the Swift 6 language mode
 33 | }
 34 |
 35 | public class EmojiLoader {
    |              `- note: class 'EmojiLoader' does not conform to the 'Sendable' protocol
 36 |
 37 |     public static let shared = EmojiLoader()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EmojiLoader' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |
 39 |     private let unicodePublicFolder = "https://unicode.org/Public/emoji/"
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/17] Emitting module UnicodeEmojiExample
/Users/admin/builder/spi-builder-workspace/UnicodeEmojiExample/AppDelegate.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import UnicodeEmoji
11 |
[16/17] Compiling UnicodeEmojiExample ViewController.swift
/Users/admin/builder/spi-builder-workspace/UnicodeEmojiExample/AppDelegate.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import UnicodeEmoji
11 |
[17/17] Compiling UnicodeEmojiExample AppDelegate.swift
/Users/admin/builder/spi-builder-workspace/UnicodeEmojiExample/AppDelegate.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import UnicodeEmoji
11 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/11] Compiling UnicodeEmoji UILabel+UnicodeEmoji.swift
[3/11] Compiling UnicodeEmoji EmojiVariantsView.swift
[4/11] Compiling UnicodeEmoji UserDefaults+UnicodeEmoji.swift
[5/11] Compiling UnicodeEmoji CGPoint+UnicodeEmoji.swift
[6/11] Compiling UnicodeEmoji UIView+UnicodeEmoji.swift
[7/11] Compiling UnicodeEmoji EmojiLoader.swift
[8/12] Compiling UnicodeEmoji EmojiCollection.swift
[9/12] Compiling UnicodeEmoji EmojiGroup.swift
[10/12] Emitting module UnicodeEmoji
[11/12] Compiling UnicodeEmoji Emoji.swift
[12/12] Compiling UnicodeEmoji StickerCollectionCell.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/15] Emitting module UnicodeEmojiExample
/Users/admin/builder/spi-builder-workspace/UnicodeEmojiExample/AppDelegate.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import UnicodeEmoji
11 |
[14/15] Compiling UnicodeEmojiExample AppDelegate.swift
/Users/admin/builder/spi-builder-workspace/UnicodeEmojiExample/AppDelegate.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import UnicodeEmoji
11 |
[15/15] Compiling UnicodeEmojiExample ViewController.swift
/Users/admin/builder/spi-builder-workspace/UnicodeEmojiExample/AppDelegate.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import UnicodeEmoji
11 |
BUILD FAILURE 6.1 macosSpm