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 master (259c8a), with Swift 6.1 for macOS (SPM) on 1 May 2025 04:42:43 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RakuyoKit/JSONPreview.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RakuyoKit/JSONPreview
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
Fetching https://github.com/RakuyoKit/swift.git
[1/2377] Fetching swift
Fetched https://github.com/RakuyoKit/swift.git from cache (0.91s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.71s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.20s)
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
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)
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
[65500/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.48s)
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip (2.17s)
========================================
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",
  "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",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/RakuyoKit/JSONPreview.git
[1/2871] Fetching jsonpreview
Fetched https://github.com/RakuyoKit/JSONPreview.git from cache (1.15s)
Creating working copy for https://github.com/RakuyoKit/JSONPreview.git
Working copy of https://github.com/RakuyoKit/JSONPreview.git resolved at master (259c8a5)
warning: '.resolve-product-dependencies': dependency 'jsonpreview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RakuyoKit/JSONPreview.git
https://github.com/RakuyoKit/JSONPreview.git
{
  "dependencies" : [
    {
      "identity" : "swift",
      "requirement" : {
        "branch" : [
          "release/1.4.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RakuyoKit/swift.git"
    }
  ],
  "manifest_display_name" : "JSONPreview",
  "name" : "JSONPreview",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "JSONPreview",
      "targets" : [
        "JSONPreview"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONPreviewTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONPreviewTests",
      "path" : "Tests",
      "sources" : [
        "JSONPreviewTests/JSONPreviewTests.swift"
      ],
      "target_dependencies" : [
        "JSONPreview"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONPreview",
      "module_type" : "SwiftTarget",
      "name" : "JSONPreview",
      "path" : "Sources",
      "product_memberships" : [
        "JSONPreview"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Resources/Assets.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Entity/HighlightColor.swift",
        "Entity/HighlightStyle.swift",
        "Entity/JSONError.swift",
        "Entity/JSONObjectKey.swift",
        "Entity/JSONSlice.swift",
        "Entity/JSONValue.swift",
        "Entity/Orientation.swift",
        "Model/AttributedStringSizeCalculator.swift",
        "Model/JSONDecorator.swift",
        "Model/JSONParser.swift",
        "Tools/Dictionary+Sort.swift",
        "Tools/String+Range.swift",
        "Tools/String+ValidURL.swift",
        "View/JSONPreview.swift",
        "View/JSONPreviewDelegate.swift",
        "View/JSONScrollView.swift",
        "View/JSONTextView.swift",
        "View/LineNumberCell.swift",
        "View/LineNumberTableView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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
[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-2F0A5646E1D333AE.txt
[7/25] 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
[8/25] 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
[9/25] 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
[10/25] 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
[11/25] 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
[12/25] 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
[13/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
[14/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/25] 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
[16/25] 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
[17/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
[18/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
[19/25] 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
[20/25] 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
[21/25] 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
[22/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
[23/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
[24/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
[25/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
[26/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
[27/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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/22] 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
[5/22] 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
[6/22] 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
[7/22] 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
[8/24] 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
[9/24] 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
[10/24] 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
[11/24] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/24] 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
[13/24] 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
[14/24] 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
[15/24] 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
[16/24] 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
[17/24] 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
[18/24] 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
[19/24] 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
[20/24] 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
[21/24] 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
[22/24] 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
[23/24] 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
[24/24] 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
BUILD FAILURE 6.1 macosSpm