The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JSONPreview, reference 2.3.3 (259c8a), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 00:43:17 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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
Fetching https://github.com/RakuyoKit/swift.git
[1/2572] Fetching swift
Fetched https://github.com/RakuyoKit/swift.git from cache (0.92s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/17523] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.40s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.99s)
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 (9cb218a)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
[32750/11034045] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[11083170/39231213] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip, https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.33s)
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip (2.13s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "jsonpreview",
      "name": "JSONPreview",
      "url": "https://github.com/RakuyoKit/JSONPreview.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JSONPreview",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/RakuyoKit/JSONPreview.git
[1/2871] Fetching jsonpreview
Fetched https://github.com/RakuyoKit/JSONPreview.git from cache (1.32s)
Creating working copy for https://github.com/RakuyoKit/JSONPreview.git
Working copy of https://github.com/RakuyoKit/JSONPreview.git resolved at 2.3.3 (259c8a5)
warning: '.resolve-product-dependencies': dependency 'jsonpreview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/RakuyoKit/JSONPreview.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/6] Copying PrivacyInfo.xcprivacy
[2/6] Write sources
[4/6] Copying Assets.xcassets
[5/6] Write swift-version--6988338F2F200930.txt
[7/25] Compiling JSONPreview JSONTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[8/25] Compiling JSONPreview LineNumberCell.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[9/25] Compiling JSONPreview JSONPreviewDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[10/25] Compiling JSONPreview JSONScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[11/27] Compiling JSONPreview LineNumberTableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[12/27] Compiling JSONPreview resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[13/27] Compiling JSONPreview String+ValidURL.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[14/27] Compiling JSONPreview JSONPreview.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[15/27] Compiling JSONPreview Dictionary+Sort.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[16/27] Compiling JSONPreview String+Range.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/27] Emitting module JSONPreview
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[18/27] Compiling JSONPreview JSONError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[19/27] Compiling JSONPreview JSONObjectKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[20/27] Compiling JSONPreview HighlightColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[21/27] Compiling JSONPreview HighlightStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[22/27] Compiling JSONPreview JSONDecorator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[23/27] Compiling JSONPreview JSONParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[24/27] Compiling JSONPreview Orientation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[25/27] Compiling JSONPreview AttributedStringSizeCalculator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[26/27] Compiling JSONPreview JSONSlice.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
[27/27] Compiling JSONPreview JSONValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // MARK: - HighlightColor
BUILD FAILURE 6.3 macosSpm