The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SFSymbolsPicker, reference master (1a03f3), with Swift 6.1 for macOS (SPM) on 17 May 2025 21:19:07 UTC.

Swift 6 data race errors: 0

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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1a03f38 Updated README
Cloned https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git
Revision (git rev-parse @):
1a03f38818c454aacb3a7183c9aa6fe14ce5cde7
SUCCESS checkout https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git at master
========================================
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": "sfsymbolspickerforswiftui",
      "name": "SFSymbolsPicker",
      "url": "https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SFSymbolsPickerForSwiftUI",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git
[1/234] Fetching sfsymbolspickerforswiftui
Fetched https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git from cache (1.29s)
Creating working copy for https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git
Working copy of https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git resolved at master (1a03f38)
warning: '.resolve-product-dependencies': dependency 'sfsymbolspickerforswiftui' 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/alessiorubicini/SFSymbolsPickerForSwiftUI.git
https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SFSymbolsPicker",
  "name" : "SFSymbolsPicker",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SFSymbolsPicker",
      "targets" : [
        "SFSymbolsPicker"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SFSymbolsPickerTests",
      "module_type" : "SwiftTarget",
      "name" : "SFSymbolsPickerTests",
      "path" : "Tests/SFSymbolsPickerTests",
      "sources" : [
        "SFSymbolsPickerTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SFSymbolsPicker"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SFSymbolsPicker",
      "module_type" : "SwiftTarget",
      "name" : "SFSymbolsPicker",
      "path" : "Sources/SFSymbolsPicker",
      "product_memberships" : [
        "SFSymbolsPicker"
      ],
      "sources" : [
        "Examples/UsageExample.swift",
        "SymbolIcon.swift",
        "SymbolLoader.swift",
        "SymbolsPicker.swift",
        "SymbolsPickerVM.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/8] Compiling SFSymbolsPicker SymbolsPickerVM.swift
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPickerVM.swift:57:30: warning: capture of 'self' with non-sendable type 'SymbolsPickerViewModel?' in a '@Sendable' closure
 9 | import SwiftUI
10 |
11 | public class SymbolsPickerViewModel: ObservableObject {
   |              `- note: class 'SymbolsPickerViewModel' does not conform to the 'Sendable' protocol
12 |
13 |     let title: String
   :
55 |
56 |         DispatchQueue.global(qos: .userInitiated).async { [weak self] in
57 |             guard let self = self else { return }
   |                              `- warning: capture of 'self' with non-sendable type 'SymbolsPickerViewModel?' in a '@Sendable' closure
58 |             let newSymbols = self.symbolLoader.loadNextPage()
59 |
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPickerVM.swift:47:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
45 |     public func loadSymbols() {
46 |         DispatchQueue.main.async {
47 |             self.symbols = self.symbolLoader.getSymbols()
   |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
48 |             self.isLoading = false
49 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPickerVM.swift:36:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
34 |     @objc private func updateSymbols() {
35 |         DispatchQueue.main.async {
36 |             self.symbols = self.symbolLoader.getSymbols()
   |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
37 |             self.isLoading = false
38 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPickerVM.swift:74:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
72 |
73 |         // Create a new search task with debounce
74 |         searchTask = Task {
   |                           `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
75 |             try? await Task.sleep(nanoseconds: 300_000_000) // 300ms debounce
76 |             guard !Task.isCancelled else { return }
77 |
78 |             isSearching = true
   |             `- note: closure captures 'self' which is accessible to code in the current task
79 |             DispatchQueue.main.async {
80 |                 self.symbols = self.symbolLoader.getSymbols(named: name)
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPickerVM.swift:80:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
78 |             isSearching = true
79 |             DispatchQueue.main.async {
80 |                 self.symbols = self.symbolLoader.getSymbols(named: name)
   |                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
81 |                 self.isLoading = false
82 |             }
[4/8] Compiling SFSymbolsPicker SymbolLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolLoader.swift:43:13: warning: capture of 'self' with non-sendable type 'SymbolLoader?' in a '@Sendable' closure
 31 |
 32 | // This class is responsible for loading symbols from system
 33 | public class SymbolLoader {
    |              `- note: class 'SymbolLoader' does not conform to the 'Sendable' protocol
 34 |     private let symbolsPerPage = 100
 35 |     private var currentPage = 0
    :
 41 |         // Load symbols asynchronously
 42 |         DispatchQueue.global(qos: .userInitiated).async { [weak self] in
 43 |             self?.loadAllSymbols()
    |             `- warning: capture of 'self' with non-sendable type 'SymbolLoader?' in a '@Sendable' closure
 44 |         }
 45 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolLoader.swift:95:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 93 |                 retryCount += 1
 94 |                 DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
 95 |                     self.loadAllSymbols() // Retry loading
    |                     |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 96 |                 }
 97 |             }
[5/8] Compiling SFSymbolsPicker SymbolIcon.swift
[6/8] Compiling SFSymbolsPicker UsageExample.swift
[7/8] Emitting module SFSymbolsPicker
[8/8] Compiling SFSymbolsPicker SymbolsPicker.swift
Build complete! (8.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SFSymbolsPicker",
  "name" : "SFSymbolsPicker",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SFSymbolsPicker",
      "targets" : [
        "SFSymbolsPicker"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SFSymbolsPickerTests",
      "module_type" : "SwiftTarget",
      "name" : "SFSymbolsPickerTests",
      "path" : "Tests/SFSymbolsPickerTests",
      "sources" : [
        "SFSymbolsPickerTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SFSymbolsPicker"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SFSymbolsPicker",
      "module_type" : "SwiftTarget",
      "name" : "SFSymbolsPicker",
      "path" : "Sources/SFSymbolsPicker",
      "product_memberships" : [
        "SFSymbolsPicker"
      ],
      "sources" : [
        "Examples/UsageExample.swift",
        "SymbolIcon.swift",
        "SymbolLoader.swift",
        "SymbolsPicker.swift",
        "SymbolsPickerVM.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.