The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LeavesDiagram, reference main (e6771c), with Swift 6.0 for macOS (SPM) on 21 Jan 2026 12:49:00 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.0
Building package at path:  $PWD
https://github.com/josshad/LeavesDiagram.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/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 {
[4/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 {
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 {
BUILD FAILURE 6.0 macosSpm