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

Failed to build CheckBoxSwiftUI, reference 1.0.0 (4f6e92), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 06:57:23 UTC.

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 -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MahinMuhammad/CheckBoxSwiftUI.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MahinMuhammad/CheckBoxSwiftUI
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 4f6e922 initializer access fix
Cloned https://github.com/MahinMuhammad/CheckBoxSwiftUI.git
Revision (git rev-parse @):
4f6e922ebbd3388dea1878f1a1a507ef4263df36
SUCCESS checkout https://github.com/MahinMuhammad/CheckBoxSwiftUI.git at 1.0.0
========================================
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": "checkboxswiftui",
      "name": "CheckBoxSwiftUI",
      "url": "https://github.com/MahinMuhammad/CheckBoxSwiftUI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CheckBoxSwiftUI",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/MahinMuhammad/CheckBoxSwiftUI.git
[1/51] Fetching checkboxswiftui
Fetched https://github.com/MahinMuhammad/CheckBoxSwiftUI.git from cache (0.68s)
Creating working copy for https://github.com/MahinMuhammad/CheckBoxSwiftUI.git
Working copy of https://github.com/MahinMuhammad/CheckBoxSwiftUI.git resolved at 1.0.0 (4f6e922)
warning: '.resolve-product-dependencies': dependency 'checkboxswiftui' 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/MahinMuhammad/CheckBoxSwiftUI.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CheckBoxSwiftUI",
  "name" : "CheckBoxSwiftUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "CheckBoxSwiftUI",
      "targets" : [
        "CheckBoxSwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CheckBoxSwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "CheckBoxSwiftUI",
      "path" : "Sources/CheckBoxSwiftUI",
      "product_memberships" : [
        "CheckBoxSwiftUI"
      ],
      "sources" : [
        "CheckBox.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
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 -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--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module CheckBoxSwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 5 |     var title:String?
 6 |     var checkBoxColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:6:24: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
 6 |     var checkBoxColor: Color?
   |                        `- error: 'Color' is only available in macOS 10.15 or newer
 7 |     var titleColor: Color?
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:7:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
 6 |     var checkBoxColor: Color?
 7 |     var titleColor: Color?
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
 8 |
 9 |     var uncheckedSymbolName = "square"
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:12:28: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
10 |     var checkedSymbolName = "checkmark.square.fill"
11 |
12 |     public init(isChecked: Binding<Bool>, title: String? = nil, checkBoxColor: Color? = nil, titleColor: Color? = nil) {
   |            |               `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
13 |         self._isChecked = isChecked
14 |         self.title = title
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:12:80: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
10 |     var checkedSymbolName = "checkmark.square.fill"
11 |
12 |     public init(isChecked: Binding<Bool>, title: String? = nil, checkBoxColor: Color? = nil, titleColor: Color? = nil) {
   |            |                                                                   `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
13 |         self._isChecked = isChecked
14 |         self.title = title
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:12:106: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
10 |     var checkedSymbolName = "checkmark.square.fill"
11 |
12 |     public init(isChecked: Binding<Bool>, title: String? = nil, checkBoxColor: Color? = nil, titleColor: Color? = nil) {
   |            |                                                                                             `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
13 |         self._isChecked = isChecked
14 |         self.title = title
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
17 |     }
18 |
19 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
20 |         HStack {
21 |             Button {
[4/4] Compiling CheckBoxSwiftUI CheckBox.swift
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 5 |     var title:String?
 6 |     var checkBoxColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:6:24: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
 6 |     var checkBoxColor: Color?
   |                        `- error: 'Color' is only available in macOS 10.15 or newer
 7 |     var titleColor: Color?
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:7:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
 6 |     var checkBoxColor: Color?
 7 |     var titleColor: Color?
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
 8 |
 9 |     var uncheckedSymbolName = "square"
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:12:28: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
10 |     var checkedSymbolName = "checkmark.square.fill"
11 |
12 |     public init(isChecked: Binding<Bool>, title: String? = nil, checkBoxColor: Color? = nil, titleColor: Color? = nil) {
   |            |               `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
13 |         self._isChecked = isChecked
14 |         self.title = title
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:12:80: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
10 |     var checkedSymbolName = "checkmark.square.fill"
11 |
12 |     public init(isChecked: Binding<Bool>, title: String? = nil, checkBoxColor: Color? = nil, titleColor: Color? = nil) {
   |            |                                                                   `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
13 |         self._isChecked = isChecked
14 |         self.title = title
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:12:106: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
10 |     var checkedSymbolName = "checkmark.square.fill"
11 |
12 |     public init(isChecked: Binding<Bool>, title: String? = nil, checkBoxColor: Color? = nil, titleColor: Color? = nil) {
   |            |                                                                                             `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
13 |         self._isChecked = isChecked
14 |         self.title = title
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CheckBox: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     @Binding var isChecked:Bool
 5 |     var title:String?
   :
17 |     }
18 |
19 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
20 |         HStack {
21 |             Button {
/Users/admin/builder/spi-builder-workspace/Sources/CheckBoxSwiftUI/CheckBox.swift:30:54: error: cannot find 'UIColor' in scope
28 |
29 |             Text(title ?? "")
30 |                 .foregroundColor(titleColor ?? Color(UIColor.label))
   |                                                      `- error: cannot find 'UIColor' in scope
31 |         }
32 |     }
BUILD FAILURE 6.0 macosSpm