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.0 for macOS (SPM) on 2 Nov 2024 10:59:27 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/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/446] Fetching nsui
Fetched https://github.com/mattmassicotte/nsui from cache (2.00s)
Creating working copy for https://github.com/mattmassicotte/nsui
Working copy of https://github.com/mattmassicotte/nsui resolved at main (8792b2f)
========================================
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
[1/571] Fetching pillboxview
Fetched https://github.com/Awesomeplayer165/PillboxView.git from cache (1.37s)
Fetching https://github.com/mattmassicotte/nsui from cache
Fetched https://github.com/mattmassicotte/nsui from cache (0.83s)
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 (8792b2f)
warning: '.resolve-product-dependencies': dependency 'pillboxview' is not used by any target
Found 1 product dependencies
  - NSUI
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Awesomeplayer165/PillboxView.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/16] Compiling NSUI ViewRepresentable.swift
[5/16] Compiling NSUI TextView.swift
[6/16] Compiling NSUI Label.swift
[7/16] Compiling NSUI ImageView.swift
[8/16] Compiling NSUI Font.swift
[9/16] Compiling NSUI Image.swift
[10/16] Compiling NSUI ViewControllerRepresentable.swift
[11/16] Compiling NSUI PlatformKit.swift
[12/17] Compiling NSUI Color.swift
[13/17] Compiling NSUI ControlActiveState.swift
[14/17] Emitting module NSUI
[15/17] Compiling NSUI Aliases.swift
[16/17] Compiling NSUI BezierPath.swift
[17/17] Compiling NSUI Views.swift
[18/25] Emitting module PillboxView
[19/25] Compiling PillboxView PillTransitions.swift
[20/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, *)
AppKit.NSApplication:5:25: note: property declared here
3 |     open var appearance: NSAppearance? { get set }
4 |     @available(macOS 10.14, *)
5 |     @MainActor open var effectiveAppearance: NSAppearance { get }
  |                         `- note: property declared here
6 | }
/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, *)
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
  |                       `- note: var declared here
/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 | }
AppKit.NSApplication:5:25: note: property declared here
3 |     open var appearance: NSAppearance? { get set }
4 |     @available(macOS 10.14, *)
5 |     @MainActor open var effectiveAppearance: NSAppearance { get }
  |                         `- note: property declared here
6 | }
/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 | }
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
  |                       `- note: var declared here
[21/25] Compiling PillboxView PillShowType.swift
[22/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, *)
AppKit.NSApplication:5:25: note: property declared here
3 |     open var appearance: NSAppearance? { get set }
4 |     @available(macOS 10.14, *)
5 |     @MainActor open var effectiveAppearance: NSAppearance { get }
  |                         `- note: property declared here
6 | }
/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, *)
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
  |                       `- note: var declared here
/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 |
AppKit.NSApplication:5:25: note: property declared here
3 |     open var appearance: NSAppearance? { get set }
4 |     @available(macOS 10.14, *)
5 |     @MainActor open var effectiveAppearance: NSAppearance { get }
  |                         `- note: property declared here
6 | }
/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 |
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
  |                       `- note: var declared here
[23/25] Compiling PillboxView Conformance.swift
[24/25] Compiling PillboxView PillView.swift
[25/25] Compiling PillboxView PillPosition.swift
Build complete! (23.26s)
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.