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 SFSymbols, reference main (1a239b), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 08:40:37 UTC.

Swift 6 data race errors: 3

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ActuallyTaylor/SFSymbols.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ActuallyTaylor/SFSymbols
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1a239b5 Merge pull request #6 from adamwulf/fix/maccatalyst
Cloned https://github.com/ActuallyTaylor/SFSymbols.git
Revision (git rev-parse @):
1a239b523b691dcba3adc42c5e0a504b838f1ef5
SUCCESS checkout https://github.com/ActuallyTaylor/SFSymbols.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ActuallyTaylor/SFSymbols.git
https://github.com/ActuallyTaylor/SFSymbols.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SFSymbols",
  "name" : "SFSymbols",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SFSymbols",
      "targets" : [
        "SFSymbols"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SFSymbolsTests",
      "module_type" : "SwiftTarget",
      "name" : "SFSymbolsTests",
      "path" : "Tests/SFSymbolsTests",
      "sources" : [
        "SFSymbolsTests.swift"
      ],
      "target_dependencies" : [
        "SFSymbols"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SFSymbols",
      "module_type" : "SwiftTarget",
      "name" : "SFSymbols",
      "path" : "Sources/SFSymbols",
      "product_memberships" : [
        "SFSymbols"
      ],
      "sources" : [
        "Extensions/AppKit/NSButton+SFSymbol.swift",
        "Extensions/AppKit/NSImage+SFSymbol.swift",
        "Extensions/SwiftUI/Button+SFSymbol.swift",
        "Extensions/SwiftUI/Image+SFSymbol.swift",
        "Extensions/SwiftUI/Label+SFSymbol.swift",
        "Extensions/SwiftUI/Menu+SFSymbol.swift",
        "Extensions/SwiftUI/Tab+SFSymbol.swift",
        "Extensions/UIKit/AppIntents+SFSymbol.swift",
        "Extensions/UIKit/UIApplicationShortcutIcon+SFSymbol.swift",
        "Extensions/UIKit/UIButton+SFSymbol.swift",
        "Extensions/UIKit/UIImage+SFSymbol.swift",
        "SFSymbol/SFSymbol+CaseIterable.swift",
        "SFSymbol/SFSymbol+Image.swift",
        "SFSymbol/SFSymbol+Name.swift",
        "SFSymbol/SFSymbol+Version4.swift",
        "SFSymbol/SFSymbol+Version5.swift",
        "SFSymbol/SFSymbol+Version6.swift",
        "SFSymbol/SFSymbol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7.1"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/20] Compiling SFSymbols SFSymbol+Version6.swift
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbols/SFSymbol/SFSymbol+Version6.swift:7:23: warning: static property 'sfSymbolsV6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   5 |     @available(tvOS, introduced: 18, message: "This symbol is only available in tvOS 18 and above")
   6 |     @available(visionOS, introduced: 2, message: "This symbol is only available in visionOS 2 and above")
   7 |     public static var sfSymbolsV6: [SFSymbol] = [
     |                       |- warning: static property 'sfSymbolsV6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'sfSymbolsV6' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: add '@MainActor' to make static property 'sfSymbolsV6' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
   8 |         .square_and_arrow_up_trianglebadge_exclamationmark_fill,
   9 |         .square_and_arrow_down_badge_clock,
[4/20] Compiling SFSymbols UIImage+SFSymbol.swift
[5/20] Compiling SFSymbols SFSymbol+CaseIterable.swift
[6/20] Compiling SFSymbols SFSymbol+Version4.swift
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbols/SFSymbol/SFSymbol+Version4.swift:2:23: warning: static property 'sfSymbolsV4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   1 | extension SFSymbol {
   2 |     public static var sfSymbolsV4: [SFSymbol] = [
     |                       |- warning: static property 'sfSymbolsV4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'sfSymbolsV4' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: add '@MainActor' to make static property 'sfSymbolsV4' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
   3 |         .square_and_arrow_up,
   4 |         .square_and_arrow_up_fill,
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbols/SFSymbol/SFSymbol+Version5.swift:7:23: warning: static property 'sfSymbolsV5' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 |     @available(tvOS, introduced: 17, message: "This symbol is only available in tvOS 15")
  6 |     @available(visionOS, introduced: 1, message: "This symbol is only available in visionOS 2 and above")
  7 |     public static var sfSymbolsV5: [SFSymbol] = [
    |                       |- warning: static property 'sfSymbolsV5' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'sfSymbolsV5' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'sfSymbolsV5' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |         .pencil_and_scribble,
  9 |         .pencil_tip_crop_circle_fill,
[7/20] Compiling SFSymbols SFSymbol+Version5.swift
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbols/SFSymbol/SFSymbol+Version4.swift:2:23: warning: static property 'sfSymbolsV4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   1 | extension SFSymbol {
   2 |     public static var sfSymbolsV4: [SFSymbol] = [
     |                       |- warning: static property 'sfSymbolsV4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'sfSymbolsV4' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: add '@MainActor' to make static property 'sfSymbolsV4' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
   3 |         .square_and_arrow_up,
   4 |         .square_and_arrow_up_fill,
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbols/SFSymbol/SFSymbol+Version5.swift:7:23: warning: static property 'sfSymbolsV5' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 |     @available(tvOS, introduced: 17, message: "This symbol is only available in tvOS 15")
  6 |     @available(visionOS, introduced: 1, message: "This symbol is only available in visionOS 2 and above")
  7 |     public static var sfSymbolsV5: [SFSymbol] = [
    |                       |- warning: static property 'sfSymbolsV5' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'sfSymbolsV5' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'sfSymbolsV5' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |         .pencil_and_scribble,
  9 |         .pencil_tip_crop_circle_fill,
[8/21] Compiling SFSymbols Label+SFSymbol.swift
[9/21] Compiling SFSymbols Menu+SFSymbol.swift
[10/21] Compiling SFSymbols Button+SFSymbol.swift
[11/21] Compiling SFSymbols Image+SFSymbol.swift
[12/21] Compiling SFSymbols UIApplicationShortcutIcon+SFSymbol.swift
[13/21] Compiling SFSymbols UIButton+SFSymbol.swift
[14/21] Compiling SFSymbols Tab+SFSymbol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbols/Extensions/SwiftUI/Tab+SFSymbol.swift:7:5: warning: 'public' modifier is redundant for type alias declared in a public extension
  5 | public extension Tab {
  6 |     /// The type used to drive selection for the containing tab view.
  7 |     public typealias TabValue = Value
    |     `- warning: 'public' modifier is redundant for type alias declared in a public extension
  8 |
  9 |     /// Creates a tab that the tab view presents when the tab view's selection
[15/21] Compiling SFSymbols AppIntents+SFSymbol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbols/Extensions/SwiftUI/Tab+SFSymbol.swift:7:5: warning: 'public' modifier is redundant for type alias declared in a public extension
  5 | public extension Tab {
  6 |     /// The type used to drive selection for the containing tab view.
  7 |     public typealias TabValue = Value
    |     `- warning: 'public' modifier is redundant for type alias declared in a public extension
  8 |
  9 |     /// Creates a tab that the tab view presents when the tab view's selection
[16/21] Compiling SFSymbols NSButton+SFSymbol.swift
[17/21] Compiling SFSymbols NSImage+SFSymbol.swift
[18/21] Emitting module SFSymbols
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbols/Extensions/SwiftUI/Tab+SFSymbol.swift:7:5: warning: 'public' modifier is redundant for type alias declared in a public extension
  5 | public extension Tab {
  6 |     /// The type used to drive selection for the containing tab view.
  7 |     public typealias TabValue = Value
    |     `- warning: 'public' modifier is redundant for type alias declared in a public extension
  8 |
  9 |     /// Creates a tab that the tab view presents when the tab view's selection
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbols/SFSymbol/SFSymbol+Version4.swift:2:23: warning: static property 'sfSymbolsV4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   1 | extension SFSymbol {
   2 |     public static var sfSymbolsV4: [SFSymbol] = [
     |                       |- warning: static property 'sfSymbolsV4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'sfSymbolsV4' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: add '@MainActor' to make static property 'sfSymbolsV4' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
   3 |         .square_and_arrow_up,
   4 |         .square_and_arrow_up_fill,
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbols/SFSymbol/SFSymbol+Version5.swift:7:23: warning: static property 'sfSymbolsV5' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 |     @available(tvOS, introduced: 17, message: "This symbol is only available in tvOS 15")
  6 |     @available(visionOS, introduced: 1, message: "This symbol is only available in visionOS 2 and above")
  7 |     public static var sfSymbolsV5: [SFSymbol] = [
    |                       |- warning: static property 'sfSymbolsV5' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'sfSymbolsV5' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'sfSymbolsV5' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |         .pencil_and_scribble,
  9 |         .pencil_tip_crop_circle_fill,
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbols/SFSymbol/SFSymbol+Version6.swift:7:23: warning: static property 'sfSymbolsV6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   5 |     @available(tvOS, introduced: 18, message: "This symbol is only available in tvOS 18 and above")
   6 |     @available(visionOS, introduced: 2, message: "This symbol is only available in visionOS 2 and above")
   7 |     public static var sfSymbolsV6: [SFSymbol] = [
     |                       |- warning: static property 'sfSymbolsV6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'sfSymbolsV6' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: add '@MainActor' to make static property 'sfSymbolsV6' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
   8 |         .square_and_arrow_up_trianglebadge_exclamationmark_fill,
   9 |         .square_and_arrow_down_badge_clock,
[19/21] Compiling SFSymbols SFSymbol+Image.swift
[20/21] Compiling SFSymbols SFSymbol+Name.swift
[21/21] Compiling SFSymbols SFSymbol.swift
Build complete! (35.24s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SFSymbols",
  "name" : "SFSymbols",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SFSymbols",
      "targets" : [
        "SFSymbols"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SFSymbolsTests",
      "module_type" : "SwiftTarget",
      "name" : "SFSymbolsTests",
      "path" : "Tests/SFSymbolsTests",
      "sources" : [
        "SFSymbolsTests.swift"
      ],
      "target_dependencies" : [
        "SFSymbols"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SFSymbols",
      "module_type" : "SwiftTarget",
      "name" : "SFSymbols",
      "path" : "Sources/SFSymbols",
      "product_memberships" : [
        "SFSymbols"
      ],
      "sources" : [
        "Extensions/AppKit/NSButton+SFSymbol.swift",
        "Extensions/AppKit/NSImage+SFSymbol.swift",
        "Extensions/SwiftUI/Button+SFSymbol.swift",
        "Extensions/SwiftUI/Image+SFSymbol.swift",
        "Extensions/SwiftUI/Label+SFSymbol.swift",
        "Extensions/SwiftUI/Menu+SFSymbol.swift",
        "Extensions/SwiftUI/Tab+SFSymbol.swift",
        "Extensions/UIKit/AppIntents+SFSymbol.swift",
        "Extensions/UIKit/UIApplicationShortcutIcon+SFSymbol.swift",
        "Extensions/UIKit/UIButton+SFSymbol.swift",
        "Extensions/UIKit/UIImage+SFSymbol.swift",
        "SFSymbol/SFSymbol+CaseIterable.swift",
        "SFSymbol/SFSymbol+Image.swift",
        "SFSymbol/SFSymbol+Name.swift",
        "SFSymbol/SFSymbol+Version4.swift",
        "SFSymbol/SFSymbol+Version5.swift",
        "SFSymbol/SFSymbol+Version6.swift",
        "SFSymbol/SFSymbol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7.1"
}
Done.