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 DSFSearchField, reference main (8f1184), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 06:01:22 UTC.

Swift 6 data race errors: 0

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/dagronf/DSFSearchField.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFSearchField
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8f11843 Added maxRecents setting on the SwiftUI interface as a modifier
Cloned https://github.com/dagronf/DSFSearchField.git
Revision (git rev-parse @):
8f118439e1e74b3afb8dc8cbdc049d7979aa045e
SUCCESS checkout https://github.com/dagronf/DSFSearchField.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": "dsfsearchfield",
      "name": "DSFSearchField",
      "url": "https://github.com/dagronf/DSFSearchField.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFSearchField",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dagronf/DSFSearchField.git
[1/183] Fetching dsfsearchfield
Fetched https://github.com/dagronf/DSFSearchField.git from cache (0.64s)
Creating working copy for https://github.com/dagronf/DSFSearchField.git
Working copy of https://github.com/dagronf/DSFSearchField.git resolved at main (8f11843)
warning: '.resolve-product-dependencies': dependency 'dsfsearchfield' 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/dagronf/DSFSearchField.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
Building for debugging...
[0/4] Write sources
[1/4] Copying Info.plist
[2/4] Copying Localizable.strings
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/10] Compiling DSFSearchField LocalizationHelpers.swift
[6/10] Compiling DSFSearchField resource_bundle_accessor.swift
[7/10] Compiling DSFSearchField SwiftUIHelpers.swift
[8/10] Emitting module DSFSearchField
[9/10] Compiling DSFSearchField DSFSearchField.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSearchField/DSFSearchField.swift:64:8: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 62 |
 63 | 	deinit {
 64 | 		self.delegate = nil
    |        `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 65 | 		self.unbind(.value)
 66 | 	}
AppKit.NSSearchField:19:30: note: mutation of this property is only permitted within the actor
17 |     open var sendsSearchStringImmediately: Bool { get set }
18 |     @available(macOS 10.11, *)
19 |     @MainActor weak open var delegate: (any NSSearchFieldDelegate)? { get set }
   |                              `- note: mutation of this property is only permitted within the actor
20 |     @MainActor public init(frame frameRect: NSRect)
21 |     @MainActor public init?(coder: NSCoder)
[10/10] Compiling DSFSearchField DSFSearchField+SwiftUI.swift
Build complete! (11.94s)
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFSearchField",
  "name" : "DSFSearchField",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "DSFSearchField",
      "targets" : [
        "DSFSearchField"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFSearchFieldTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFSearchFieldTests",
      "path" : "Tests/DSFSearchFieldTests",
      "sources" : [
        "DSFSearchFieldTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DSFSearchField"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFSearchField",
      "module_type" : "SwiftTarget",
      "name" : "DSFSearchField",
      "path" : "Sources/DSFSearchField",
      "product_memberships" : [
        "DSFSearchField"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/DSFSearchField/localizations/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        }
      ],
      "sources" : [
        "DSFSearchField+SwiftUI.swift",
        "DSFSearchField.swift",
        "private/LocalizationHelpers.swift",
        "private/SwiftUIHelpers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.