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 Checkbox, reference main (7276e6), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 05:22:29 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/Checkbox.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bradhowes/Checkbox
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7276e6a Serialize value updates
Cloned https://github.com/bradhowes/Checkbox.git
Revision (git rev-parse @):
7276e6ade2040d6163588084fda32f7e85d6b0d4
SUCCESS checkout https://github.com/bradhowes/Checkbox.git at main
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/12447] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.31s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.17.6 (0.63s)
Fetching https://github.com/swiftlang/swift-syntax
[1/66683] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.27s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.67s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.17.6
========================================
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": "checkbox",
      "name": "Checkbox",
      "url": "https://github.com/bradhowes/Checkbox.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Checkbox",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/bradhowes/Checkbox.git
[1/53] Fetching checkbox
Fetched https://github.com/bradhowes/Checkbox.git from cache (0.72s)
Creating working copy for https://github.com/bradhowes/Checkbox.git
Working copy of https://github.com/bradhowes/Checkbox.git resolved at main (7276e6a)
warning: '.resolve-product-dependencies': dependency 'checkbox' 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/bradhowes/Checkbox.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 -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 Checkbox
/Users/admin/builder/spi-builder-workspace/Sources/Checkbox/Checkbox.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2018 Brad Howes. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 | import os
  5 |
[4/4] Compiling Checkbox Checkbox.swift
/Users/admin/builder/spi-builder-workspace/Sources/Checkbox/Checkbox.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2018 Brad Howes. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 | import os
  5 |
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/Checkbox/Checkbox.playground': File not found.
BUILD FAILURE 6.0 macosSpm