The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NetTrace, reference main (f202c5), with Swift 6.0 for macOS (SPM) on 22 Feb 2026 21:54:29 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/theCodingDJ/NetTrace.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/theCodingDJ/NetTrace
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f202c53 Added LICENSE.md file
Cloned https://github.com/theCodingDJ/NetTrace.git
Revision (git rev-parse @):
f202c5338ef57cea19f94dd30fb46ed171a64855
SUCCESS checkout https://github.com/theCodingDJ/NetTrace.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/theCodingDJ/NetTrace.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/15] Compiling NetTrace RequestListViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetTrace/Core/NetTrace.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | @MainActor
[4/16] Compiling NetTrace OverlayWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetTrace/Core/NetTrace.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | @MainActor
[5/16] Compiling NetTrace JSONTreeViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetTrace/Core/NetTrace.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | @MainActor
[6/16] Compiling NetTrace NetRecorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetTrace/Core/NetTrace.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | @MainActor
[7/16] Compiling NetTrace NetTrace.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetTrace/Core/NetTrace.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | @MainActor
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/16] Emitting module NetTrace
/Users/admin/builder/spi-builder-workspace/Sources/NetTrace/Core/NetTrace.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | @MainActor
[9/16] Compiling NetTrace HTTPRequestLog.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetTrace/Core/NetTrace.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | @MainActor
[10/16] Compiling NetTrace HTTPResponseLog.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetTrace/Core/NetTrace.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | @MainActor
[11/16] Compiling NetTrace ErrorLog.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetTrace/Core/NetTrace.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | @MainActor
[12/16] Compiling NetTrace HARExporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetTrace/Core/NetTrace.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | @MainActor
[13/16] Compiling NetTrace JSONNodeType.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetTrace/Core/NetTrace.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | @MainActor
[14/16] Compiling NetTrace JSONTreeCell.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetTrace/Core/NetTrace.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | @MainActor
[15/16] Compiling NetTrace RequestDetailViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetTrace/Core/NetTrace.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | @MainActor
[16/16] Compiling NetTrace URLSession+Interception.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetTrace/Core/NetTrace.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | @MainActor
BUILD FAILURE 6.0 macosSpm