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 Button, reference master (a1173a), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 01:19:59 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lipka/Button.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lipka/Button
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a1173a7 Add test workflow.
Cloned https://github.com/lipka/Button.git
Revision (git rev-parse @):
a1173a79168b32bb21ad90adfeb05e4890860d15
SUCCESS checkout https://github.com/lipka/Button.git at master
========================================
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": "button",
      "name": "Button",
      "url": "https://github.com/lipka/Button.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Button",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/lipka/Button.git
[1/33] Fetching button
Fetched https://github.com/lipka/Button.git from cache (0.50s)
Creating working copy for https://github.com/lipka/Button.git
Working copy of https://github.com/lipka/Button.git resolved at master (a1173a7)
warning: '.resolve-product-dependencies': dependency 'button' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/lipka/Button.git
https://github.com/lipka/Button.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Button",
  "name" : "Button",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "Button",
      "targets" : [
        "Button"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ButtonTests",
      "module_type" : "SwiftTarget",
      "name" : "ButtonTests",
      "path" : "Tests/ButtonTests",
      "sources" : [
        "ButtonTests.swift"
      ],
      "target_dependencies" : [
        "Button"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Button",
      "module_type" : "SwiftTarget",
      "name" : "Button",
      "path" : "Sources/Button",
      "product_memberships" : [
        "Button"
      ],
      "sources" : [
        "Button.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module Button
/Users/admin/builder/spi-builder-workspace/Sources/Button/Button.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class Button: UIButton {
[4/4] Compiling Button Button.swift
/Users/admin/builder/spi-builder-workspace/Sources/Button/Button.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class Button: UIButton {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Button
/Users/admin/builder/spi-builder-workspace/Sources/Button/Button.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class Button: UIButton {
[3/3] Compiling Button Button.swift
/Users/admin/builder/spi-builder-workspace/Sources/Button/Button.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class Button: UIButton {
BUILD FAILURE 6.1 macosSpm