The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LeavesDiagram, reference main (e6771c), with Swift 6.1 for macOS (SPM) on 21 Jan 2026 12:53:08 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/josshad/LeavesDiagram.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/josshad/LeavesDiagram
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e6771ce Update README.md
Cloned https://github.com/josshad/LeavesDiagram.git
Revision (git rev-parse @):
e6771ce838dd174db06406fe13c3b82fdde1ebc4
SUCCESS checkout https://github.com/josshad/LeavesDiagram.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/josshad/LeavesDiagram.git
https://github.com/josshad/LeavesDiagram.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LeavesDiagram",
  "name" : "LeavesDiagram",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LeavesDiagram",
      "targets" : [
        "LeavesDiagram"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LeavesDiagram",
      "module_type" : "SwiftTarget",
      "name" : "LeavesDiagram",
      "path" : "Sources/LeavesDiagram",
      "product_memberships" : [
        "LeavesDiagram"
      ],
      "sources" : [
        "CGFloat+Ext.swift",
        "LeafLayer.swift",
        "LeafView.swift",
        "LeavesDiagramView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
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
[3/7] Compiling LeavesDiagram LeafView.swift
/Users/admin/builder/spi-builder-workspace/Sources/LeavesDiagram/LeafLayer.swift:6:8: error: no such module 'UIKit'
  4 | import Foundation
  5 | import QuartzCore
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | final class LeafLayer: CALayer {
[4/7] Compiling LeavesDiagram LeavesDiagramView.swift
/Users/admin/builder/spi-builder-workspace/Sources/LeavesDiagram/LeafLayer.swift:6:8: error: no such module 'UIKit'
  4 | import Foundation
  5 | import QuartzCore
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | final class LeafLayer: CALayer {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module LeavesDiagram
/Users/admin/builder/spi-builder-workspace/Sources/LeavesDiagram/LeafLayer.swift:6:8: error: no such module 'UIKit'
  4 | import Foundation
  5 | import QuartzCore
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | final class LeafLayer: CALayer {
[6/7] Compiling LeavesDiagram CGFloat+Ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/LeavesDiagram/LeafLayer.swift:6:8: error: no such module 'UIKit'
  4 | import Foundation
  5 | import QuartzCore
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | final class LeafLayer: CALayer {
[7/7] Compiling LeavesDiagram LeafLayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/LeavesDiagram/LeafLayer.swift:6:8: error: no such module 'UIKit'
  4 | import Foundation
  5 | import QuartzCore
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | final class LeafLayer: CALayer {
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/6] Emitting module LeavesDiagram
/Users/admin/builder/spi-builder-workspace/Sources/LeavesDiagram/LeafLayer.swift:6:8: error: no such module 'UIKit'
  4 | import Foundation
  5 | import QuartzCore
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | final class LeafLayer: CALayer {
[3/6] Compiling LeavesDiagram LeafView.swift
/Users/admin/builder/spi-builder-workspace/Sources/LeavesDiagram/LeafLayer.swift:6:8: error: no such module 'UIKit'
  4 | import Foundation
  5 | import QuartzCore
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | final class LeafLayer: CALayer {
[4/6] Compiling LeavesDiagram LeavesDiagramView.swift
/Users/admin/builder/spi-builder-workspace/Sources/LeavesDiagram/LeafLayer.swift:6:8: error: no such module 'UIKit'
  4 | import Foundation
  5 | import QuartzCore
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | final class LeafLayer: CALayer {
[5/6] Compiling LeavesDiagram LeafLayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/LeavesDiagram/LeafLayer.swift:6:8: error: no such module 'UIKit'
  4 | import Foundation
  5 | import QuartzCore
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | final class LeafLayer: CALayer {
[6/6] Compiling LeavesDiagram CGFloat+Ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/LeavesDiagram/LeafLayer.swift:6:8: error: no such module 'UIKit'
  4 | import Foundation
  5 | import QuartzCore
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | final class LeafLayer: CALayer {
BUILD FAILURE 6.1 macosSpm