The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build JSONPreview, reference 2.3.3 (259c8a), with Swift 5.9 for macOS (SPM) on 1 Apr 2025 10:38:21 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RakuyoKit/JSONPreview.git
Reference: 2.3.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RakuyoKit/JSONPreview
 * tag               2.3.3      -> FETCH_HEAD
HEAD is now at 259c8a5 Merge branch release/2.3.3
Cloned https://github.com/RakuyoKit/JSONPreview.git
Revision (git rev-parse @):
259c8a56e4f3b4b1c92ad1e0493e53b0f79196fc
SUCCESS checkout https://github.com/RakuyoKit/JSONPreview.git at 2.3.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/RakuyoKit/JSONPreview.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/4] Copying PrivacyInfo.xcprivacy
[3/4] Copying Assets.xcassets
[5/23] Compiling JSONPreview JSONTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[6/23] Compiling JSONPreview LineNumberCell.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[7/25] Compiling JSONPreview LineNumberTableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[8/25] Compiling JSONPreview resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[9/25] Compiling JSONPreview JSONPreviewDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[10/25] Compiling JSONPreview JSONScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[11/25] Compiling JSONPreview String+ValidURL.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[12/25] Compiling JSONPreview JSONPreview.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/25] Emitting module JSONPreview
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[14/25] Compiling JSONPreview Dictionary+Sort.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[15/25] Compiling JSONPreview String+Range.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[16/25] Compiling JSONPreview Orientation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[17/25] Compiling JSONPreview AttributedStringSizeCalculator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[18/25] Compiling JSONPreview JSONDecorator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[19/25] Compiling JSONPreview JSONParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[20/25] Compiling JSONPreview JSONSlice.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[21/25] Compiling JSONPreview JSONValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[22/25] Compiling JSONPreview HighlightColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[23/25] Compiling JSONPreview HighlightStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[24/25] Compiling JSONPreview JSONError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[25/25] Compiling JSONPreview JSONObjectKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
Fetching https://github.com/RakuyoKit/swift.git
[1/2369] Fetching swift
Fetched https://github.com/RakuyoKit/swift.git (0.90s)
Fetching https://github.com/apple/swift-argument-parser
[1/14793] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (1.51s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.41s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/RakuyoKit/swift.git
Working copy of https://github.com/RakuyoKit/swift.git resolved at release/1.4.0
Downloading binary artifact https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[16375/28197168] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
[16616348/39231213] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip, https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.70s)
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip (2.26s)
BUILD FAILURE 5.9 macosSpm