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 swiftui-hosting, reference main (975f25), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 23:17:37 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FluidGroup/swiftui-Hosting.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FluidGroup/swiftui-Hosting
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 975f256 Add ignoresKeyboard option (#18)
Cloned https://github.com/FluidGroup/swiftui-Hosting.git
Revision (git rev-parse @):
975f2565cff7625f610c36cd7c146d8ab104a1dc
SUCCESS checkout https://github.com/FluidGroup/swiftui-Hosting.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/FluidGroup/swiftui-Hosting.git
https://github.com/FluidGroup/swiftui-Hosting.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swiftui-hosting",
  "name" : "swiftui-hosting",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUIHosting",
      "targets" : [
        "SwiftUIHosting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5",
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SwiftUIHostingTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIHostingTests",
      "path" : "Tests/SwiftUIHostingTests",
      "sources" : [
        "MyLibraryTests.swift"
      ],
      "target_dependencies" : [
        "SwiftUIHosting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUIHosting",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIHosting",
      "path" : "Sources/SwiftUIHosting",
      "product_memberships" : [
        "SwiftUIHosting"
      ],
      "sources" : [
        "BaseModifier.swift",
        "HostingController.swift",
        "SwiftUIHostingView.swift",
        "SwiftUIHostingViewController.swift",
        "UIResponder+.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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
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/8] Emitting module SwiftUIHosting
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | extension UIResponder {
[4/8] Compiling SwiftUIHosting BaseModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | extension UIResponder {
[5/8] Compiling SwiftUIHosting HostingController.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | extension UIResponder {
[6/8] Compiling SwiftUIHosting SwiftUIHostingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | extension UIResponder {
[7/8] Compiling SwiftUIHosting SwiftUIHostingViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | extension UIResponder {
[8/8] Compiling SwiftUIHosting UIResponder+.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | extension UIResponder {
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
[2/7] Compiling SwiftUIHosting UIResponder+.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | extension UIResponder {
[3/7] Compiling SwiftUIHosting SwiftUIHostingViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | extension UIResponder {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module SwiftUIHosting
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | extension UIResponder {
[5/7] Compiling SwiftUIHosting HostingController.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | extension UIResponder {
[6/7] Compiling SwiftUIHosting SwiftUIHostingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | extension UIResponder {
[7/7] Compiling SwiftUIHosting BaseModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIHosting/UIResponder+.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | extension UIResponder {
BUILD FAILURE 6.1 macosSpm