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 DSFDropFilesView, reference main (3dd402), with Swift 6.0 for macOS (SPM) on 17 Apr 2025 03:37:49 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFDropFilesView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFDropFilesView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3dd402b Minor package resolution update
Cloned https://github.com/dagronf/DSFDropFilesView.git
Revision (git rev-parse @):
3dd402be74aa8da6617d114d48188b1b49312a67
SUCCESS checkout https://github.com/dagronf/DSFDropFilesView.git at main
Fetching https://github.com/dagronf/DSFAppearanceManager
[1/459] Fetching dsfappearancemanager
Fetched https://github.com/dagronf/DSFAppearanceManager from cache (0.96s)
Computing version for https://github.com/dagronf/DSFAppearanceManager
Computed https://github.com/dagronf/DSFAppearanceManager at 3.6.2 (0.58s)
Creating working copy for https://github.com/dagronf/DSFAppearanceManager
Working copy of https://github.com/dagronf/DSFAppearanceManager resolved at 3.6.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": "dsfdropfilesview",
      "name": "DSFDropFilesView",
      "url": "https://github.com/dagronf/DSFDropFilesView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFDropFilesView",
      "dependencies": [
        {
          "identity": "dsfappearancemanager",
          "name": "DSFAppearanceManager",
          "url": "https://github.com/dagronf/DSFAppearanceManager",
          "version": "3.6.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFAppearanceManager",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/dagronf/DSFDropFilesView.git
[1/248] Fetching dsfdropfilesview
Fetched https://github.com/dagronf/DSFDropFilesView.git from cache (0.71s)
Fetching https://github.com/dagronf/DSFAppearanceManager from cache
Fetched https://github.com/dagronf/DSFAppearanceManager from cache (0.48s)
Computing version for https://github.com/dagronf/DSFAppearanceManager
Computed https://github.com/dagronf/DSFAppearanceManager at 3.6.2 (0.03s)
Creating working copy for https://github.com/dagronf/DSFAppearanceManager
Working copy of https://github.com/dagronf/DSFAppearanceManager resolved at 3.6.2
Creating working copy for https://github.com/dagronf/DSFDropFilesView.git
Working copy of https://github.com/dagronf/DSFDropFilesView.git resolved at main (3dd402b)
warning: '.resolve-product-dependencies': dependency 'dsfdropfilesview' is not used by any target
Found 1 product dependencies
  - DSFAppearanceManager
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dagronf/DSFDropFilesView.git
https://github.com/dagronf/DSFDropFilesView.git
{
  "dependencies" : [
    {
      "identity" : "dsfappearancemanager",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.5.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dagronf/DSFAppearanceManager"
    }
  ],
  "manifest_display_name" : "DSFDropFilesView",
  "name" : "DSFDropFilesView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "DSFDropFilesView",
      "targets" : [
        "DSFDropFilesView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DSFDropFilesView-static",
      "targets" : [
        "DSFDropFilesView"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "DSFDropFilesView-shared",
      "targets" : [
        "DSFDropFilesView"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFDropFilesViewTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFDropFilesViewTests",
      "path" : "Tests/DSFDropFilesViewTests",
      "sources" : [
        "DSFDropFilesViewTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DSFDropFilesView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFDropFilesView",
      "module_type" : "SwiftTarget",
      "name" : "DSFDropFilesView",
      "path" : "Sources/DSFDropFilesView",
      "product_dependencies" : [
        "DSFAppearanceManager"
      ],
      "product_memberships" : [
        "DSFDropFilesView",
        "DSFDropFilesView-static",
        "DSFDropFilesView-shared"
      ],
      "sources" : [
        "DSFDropFilesView+SwiftUI.swift",
        "DSFDropFilesView+protocol.swift",
        "DSFDropFilesView.swift",
        "private/DSFDropFilesView+image.swift",
        "private/DSFDropFilesView+utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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/8] Write sources
[1/8] Copying PrivacyInfo.xcprivacy
[1/8] Write sources
[3/8] Write swift-version-5BDAB9E9C0126B9D.txt
[5/22] Compiling DSFAppearanceManager AutoplayAnimatedImages.swift
[6/22] Compiling DSFAppearanceManager DSFAppearanceManager+Listeners.swift
[7/22] Compiling DSFAppearanceManager DSFAppearanceManager+Hardware.swift
[8/22] Compiling DSFAppearanceManager DSFAppearanceManager.swift
[9/23] Compiling DSFAppearanceManager DSFSimpleLock.swift
[10/23] Compiling DSFAppearanceManager WeakBox.swift
[11/23] Compiling DSFAppearanceManager DSFDebounce.swift
[12/23] Compiling DSFAppearanceManager WeakBag.swift
[13/23] Compiling DSFAppearanceManager NSView+Appearance.swift
[14/23] Compiling DSFAppearanceManager NSWindow+Appearance.swift
[15/23] Compiling DSFAppearanceManager NSAppearance+extensions.swift
[16/23] Emitting module DSFAppearanceManager
[17/23] Compiling DSFAppearanceManager DSFAppearanceCache.swift
[18/23] Compiling DSFAppearanceManager DSFAppearanceManager+ChangeDetector.swift
[19/23] Compiling DSFAppearanceManager resource_bundle_accessor.swift
[20/29] Compiling DSFDropFilesView DSFDropFilesView+image.swift
[21/29] Compiling DSFDropFilesView DSFDropFilesView+utils.swift
[22/29] Compiling DSFDropFilesView DSFDropFilesView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFDropFilesView/DSFDropFilesView.swift:331:14: warning: main actor-isolated instance method 'appearanceDidChange()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
328 | }
329 |
330 | extension DSFDropFilesView: DSFAppearanceCacheNotifiable {
    |                             `- note: add '@preconcurrency' to the 'DSFAppearanceCacheNotifiable' conformance to defer isolation checking to run time
331 | 	public func appearanceDidChange() {
    |              |- warning: main actor-isolated instance method 'appearanceDidChange()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |              `- note: add 'nonisolated' to 'appearanceDidChange()' to make this instance method not isolated to the actor
332 | 		DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
333 | 			self.outerBoundary.strokeColor = self.backgroundStrokeColor()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFAppearanceManager/Sources/DSFAppearanceManager/DSFAppearanceCache.swift:31:13: note: mark the protocol requirement 'appearanceDidChange()' 'async' to allow actor-isolated conformances
 29 | /// A protocol for receiving appearance notifications
 30 | @objc public protocol DSFAppearanceCacheNotifiable: NSObjectProtocol {
 31 | 	@objc func appearanceDidChange()
    |             `- note: mark the protocol requirement 'appearanceDidChange()' 'async' to allow actor-isolated conformances
 32 | }
 33 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFDropFilesView/DSFDropFilesView.swift:242:8: warning: call to main actor-isolated instance method 'configureControl()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
240 | extension DSFDropFilesView {
241 | 	override public func prepareForInterfaceBuilder() {
242 | 		self.configureControl()
    |        `- warning: call to main actor-isolated instance method 'configureControl()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
243 | 	}
244 |
    :
292 | 	}
293 |
294 | 	private func configureControl() {
    |               `- note: calls to instance method 'configureControl()' from outside of its actor context are implicitly asynchronous
295 | 		self.wantsLayer = true
296 |
[23/29] Compiling DSFDropFilesView DSFDropFilesView+protocol.swift
[24/29] Emitting module DSFDropFilesView
/Users/admin/builder/spi-builder-workspace/Sources/DSFDropFilesView/DSFDropFilesView.swift:331:14: warning: main actor-isolated instance method 'appearanceDidChange()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
328 | }
329 |
330 | extension DSFDropFilesView: DSFAppearanceCacheNotifiable {
    |                             `- note: add '@preconcurrency' to the 'DSFAppearanceCacheNotifiable' conformance to defer isolation checking to run time
331 | 	public func appearanceDidChange() {
    |              |- warning: main actor-isolated instance method 'appearanceDidChange()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |              `- note: add 'nonisolated' to 'appearanceDidChange()' to make this instance method not isolated to the actor
332 | 		DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
333 | 			self.outerBoundary.strokeColor = self.backgroundStrokeColor()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFAppearanceManager/Sources/DSFAppearanceManager/DSFAppearanceCache.swift:31:13: note: mark the protocol requirement 'appearanceDidChange()' 'async' to allow actor-isolated conformances
 29 | /// A protocol for receiving appearance notifications
 30 | @objc public protocol DSFAppearanceCacheNotifiable: NSObjectProtocol {
 31 | 	@objc func appearanceDidChange()
    |             `- note: mark the protocol requirement 'appearanceDidChange()' 'async' to allow actor-isolated conformances
 32 | }
 33 |
[25/29] Compiling DSFDropFilesView DSFDropFilesView+SwiftUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFDropFilesView/DSFDropFilesView+SwiftUI.swift:132:34: warning: main actor-isolated static property 'StaticImage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | 			}
131 | 			else {
132 | 				self.icon = DSFDropFilesView.StaticImage
    |                                  `- warning: main actor-isolated static property 'StaticImage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
133 | 			}
134 | 			self.iconLabel = iconLabel
/Users/admin/builder/spi-builder-workspace/Sources/DSFDropFilesView/private/DSFDropFilesView+image.swift:28:13: note: static property declared here
 26 | internal extension DSFDropFilesView {
 27 |
 28 | 	static let StaticImage: NSImage = {
    |             `- note: static property declared here
 29 | 		let im = NSImage.init(size: NSSize(width: 64, height: 64), flipped: false) { rect in
 30 | 			let bezier = DSFDropFilesView.iconBezier()
[25/29] Write Objects.LinkFileList
[27/29] Archiving libDSFDropFilesView-static.a
[28/29] Linking libDSFDropFilesView-shared.dylib
Build complete! (22.29s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "dsfappearancemanager",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.5.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dagronf/DSFAppearanceManager"
    }
  ],
  "manifest_display_name" : "DSFDropFilesView",
  "name" : "DSFDropFilesView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "DSFDropFilesView",
      "targets" : [
        "DSFDropFilesView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DSFDropFilesView-static",
      "targets" : [
        "DSFDropFilesView"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "DSFDropFilesView-shared",
      "targets" : [
        "DSFDropFilesView"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFDropFilesViewTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFDropFilesViewTests",
      "path" : "Tests/DSFDropFilesViewTests",
      "sources" : [
        "DSFDropFilesViewTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DSFDropFilesView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFDropFilesView",
      "module_type" : "SwiftTarget",
      "name" : "DSFDropFilesView",
      "path" : "Sources/DSFDropFilesView",
      "product_dependencies" : [
        "DSFAppearanceManager"
      ],
      "product_memberships" : [
        "DSFDropFilesView",
        "DSFDropFilesView-static",
        "DSFDropFilesView-shared"
      ],
      "sources" : [
        "DSFDropFilesView+SwiftUI.swift",
        "DSFDropFilesView+protocol.swift",
        "DSFDropFilesView.swift",
        "private/DSFDropFilesView+image.swift",
        "private/DSFDropFilesView+utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.