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 PillboxView, reference main (971e78), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 00:04:28 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Awesomeplayer165/PillboxView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Awesomeplayer165/PillboxView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 971e784 Add support for macOS (AppKit) using the NSUI package (#29)
Cloned https://github.com/Awesomeplayer165/PillboxView.git
Revision (git rev-parse @):
971e78430704047d57d66cd0ad788e2092464558
SUCCESS checkout https://github.com/Awesomeplayer165/PillboxView.git at main
Fetching https://github.com/mattmassicotte/nsui
[1/464] Fetching nsui
Fetched https://github.com/mattmassicotte/nsui from cache (0.73s)
Creating working copy for https://github.com/mattmassicotte/nsui
Working copy of https://github.com/mattmassicotte/nsui resolved at main (ef682ed)
========================================
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": "pillboxview",
      "name": "PillboxView",
      "url": "https://github.com/Awesomeplayer165/PillboxView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PillboxView",
      "dependencies": [
        {
          "identity": "nsui",
          "name": "NSUI",
          "url": "https://github.com/mattmassicotte/nsui",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/nsui",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Awesomeplayer165/PillboxView.git
[6/571] Fetching pillboxview
Fetched https://github.com/Awesomeplayer165/PillboxView.git from cache (0.90s)
Fetching https://github.com/mattmassicotte/nsui from cache
Fetched https://github.com/mattmassicotte/nsui from cache (0.43s)
Creating working copy for https://github.com/Awesomeplayer165/PillboxView.git
Working copy of https://github.com/Awesomeplayer165/PillboxView.git resolved at main (971e784)
Creating working copy for https://github.com/mattmassicotte/nsui
Working copy of https://github.com/mattmassicotte/nsui resolved at main (ef682ed)
warning: '.resolve-product-dependencies': dependency 'pillboxview' is not used by any target
Found 1 product dependencies
  - NSUI
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Awesomeplayer165/PillboxView.git
https://github.com/Awesomeplayer165/PillboxView.git
{
  "dependencies" : [
    {
      "identity" : "nsui",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattmassicotte/nsui"
    }
  ],
  "manifest_display_name" : "PillboxView",
  "name" : "PillboxView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "PillboxView",
      "targets" : [
        "PillboxView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PillboxViewTests",
      "module_type" : "SwiftTarget",
      "name" : "PillboxViewTests",
      "path" : "Tests/PillboxViewTests",
      "sources" : [
        "PillboxViewTests.swift"
      ],
      "target_dependencies" : [
        "PillboxView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PillboxView",
      "module_type" : "SwiftTarget",
      "name" : "PillboxView",
      "path" : "Sources",
      "product_dependencies" : [
        "NSUI"
      ],
      "product_memberships" : [
        "PillboxView"
      ],
      "sources" : [
        "PillboxView/Conformance.swift",
        "PillboxView/NSUI+Extensions.swift",
        "PillboxView/PillColors.swift",
        "PillboxView/PillPosition.swift",
        "PillboxView/PillShowType.swift",
        "PillboxView/PillTransitions.swift",
        "PillboxView/PillView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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/16] Compiling NSUI TextView.swift
[5/17] Compiling NSUI Views.swift
[6/17] Compiling NSUI Label.swift
[7/17] Compiling NSUI Font.swift
[8/17] Compiling NSUI Image.swift
[9/17] Compiling NSUI ViewRepresentable.swift
[10/17] Compiling NSUI ImageView.swift
[11/17] Compiling NSUI PlatformKit.swift
[12/17] Compiling NSUI ViewControllerRepresentable.swift
[13/17] Compiling NSUI Aliases.swift
[14/17] Compiling NSUI BezierPath.swift
[15/17] Emitting module NSUI
[16/17] Compiling NSUI Color.swift
[17/17] Compiling NSUI ControlActiveState.swift
[18/25] Compiling PillboxView PillTransitions.swift
[19/25] Compiling PillboxView PillShowType.swift
[20/25] Compiling PillboxView PillColors.swift
/Users/admin/builder/spi-builder-workspace/Sources/PillboxView/PillColors.swift:15:44: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
13 |     #if os(macOS)
14 |     @available(OSX 10.14, *)
15 |     static var isLightModeOn: Bool { NSApp.effectiveAppearance.name == NSAppearance.Name.aqua }
   |                                            `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 |
17 |     @available(OSX 10.14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:342:44: note: property declared here
340 | #pragma clang diagnostic ignored "-Wavailability"
341 | @property (nullable, strong) NSAppearance *appearance API_AVAILABLE(macos(10.14));
342 | @property (readonly, strong) NSAppearance *effectiveAppearance API_AVAILABLE(macos(10.14));
    |                                            `- note: property declared here
343 | #pragma clang diagnostic pop
344 | @end
/Users/admin/builder/spi-builder-workspace/Sources/PillboxView/PillColors.swift:15:38: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
13 |     #if os(macOS)
14 |     @available(OSX 10.14, *)
15 |     static var isLightModeOn: Bool { NSApp.effectiveAppearance.name == NSAppearance.Name.aqua }
   |                                      `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 |
17 |     @available(OSX 10.14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
    |                                                          `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/PillboxView/PillColors.swift:18:43: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 |
17 |     @available(OSX 10.14, *)
18 |     static var isDarkModeOn: Bool { NSApp.effectiveAppearance.name == NSAppearance.Name.darkAqua }
   |                                           `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
19 |     #endif
20 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:342:44: note: property declared here
340 | #pragma clang diagnostic ignored "-Wavailability"
341 | @property (nullable, strong) NSAppearance *appearance API_AVAILABLE(macos(10.14));
342 | @property (readonly, strong) NSAppearance *effectiveAppearance API_AVAILABLE(macos(10.14));
    |                                            `- note: property declared here
343 | #pragma clang diagnostic pop
344 | @end
/Users/admin/builder/spi-builder-workspace/Sources/PillboxView/PillColors.swift:18:37: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 |
17 |     @available(OSX 10.14, *)
18 |     static var isDarkModeOn: Bool { NSApp.effectiveAppearance.name == NSAppearance.Name.darkAqua }
   |                                     `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
19 |     #endif
20 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
    |                                                          `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
[21/25] Compiling PillboxView PillView.swift
[22/25] Emitting module PillboxView
[23/25] Compiling PillboxView NSUI+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PillboxView/NSUI+Extensions.swift:42:38: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |     #if os(macOS)
41 |     @available(OSX 10.14, *)
42 |     static var isLight: Bool { NSApp.effectiveAppearance.name == NSAppearance.Name.aqua }
   |                                      `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 |
44 |     @available(OSX 10.14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:342:44: note: property declared here
340 | #pragma clang diagnostic ignored "-Wavailability"
341 | @property (nullable, strong) NSAppearance *appearance API_AVAILABLE(macos(10.14));
342 | @property (readonly, strong) NSAppearance *effectiveAppearance API_AVAILABLE(macos(10.14));
    |                                            `- note: property declared here
343 | #pragma clang diagnostic pop
344 | @end
/Users/admin/builder/spi-builder-workspace/Sources/PillboxView/NSUI+Extensions.swift:42:32: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |     #if os(macOS)
41 |     @available(OSX 10.14, *)
42 |     static var isLight: Bool { NSApp.effectiveAppearance.name == NSAppearance.Name.aqua }
   |                                `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 |
44 |     @available(OSX 10.14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
    |                                                          `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/PillboxView/NSUI+Extensions.swift:45:37: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 |
44 |     @available(OSX 10.14, *)
45 |     static var isDark: Bool { NSApp.effectiveAppearance.name == NSAppearance.Name.darkAqua }
   |                                     `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 |     #endif
47 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:342:44: note: property declared here
340 | #pragma clang diagnostic ignored "-Wavailability"
341 | @property (nullable, strong) NSAppearance *appearance API_AVAILABLE(macos(10.14));
342 | @property (readonly, strong) NSAppearance *effectiveAppearance API_AVAILABLE(macos(10.14));
    |                                            `- note: property declared here
343 | #pragma clang diagnostic pop
344 | @end
/Users/admin/builder/spi-builder-workspace/Sources/PillboxView/NSUI+Extensions.swift:45:31: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 |
44 |     @available(OSX 10.14, *)
45 |     static var isDark: Bool { NSApp.effectiveAppearance.name == NSAppearance.Name.darkAqua }
   |                               `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 |     #endif
47 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
    |                                                          `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
[24/25] Compiling PillboxView Conformance.swift
[25/25] Compiling PillboxView PillPosition.swift
Build complete! (14.37s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "nsui",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattmassicotte/nsui"
    }
  ],
  "manifest_display_name" : "PillboxView",
  "name" : "PillboxView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "PillboxView",
      "targets" : [
        "PillboxView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PillboxViewTests",
      "module_type" : "SwiftTarget",
      "name" : "PillboxViewTests",
      "path" : "Tests/PillboxViewTests",
      "sources" : [
        "PillboxViewTests.swift"
      ],
      "target_dependencies" : [
        "PillboxView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PillboxView",
      "module_type" : "SwiftTarget",
      "name" : "PillboxView",
      "path" : "Sources",
      "product_dependencies" : [
        "NSUI"
      ],
      "product_memberships" : [
        "PillboxView"
      ],
      "sources" : [
        "PillboxView/Conformance.swift",
        "PillboxView/NSUI+Extensions.swift",
        "PillboxView/PillColors.swift",
        "PillboxView/PillPosition.swift",
        "PillboxView/PillShowType.swift",
        "PillboxView/PillTransitions.swift",
        "PillboxView/PillView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.