Build Information
Failed to build JSONPreview, reference master (259c8a
), with Swift 5.10 for Linux on 1 Apr 2025 10:38:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RakuyoKit/JSONPreview.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/RakuyoKit/JSONPreview.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/RakuyoKit/swift.git
[1/2369] Fetching swift
Fetched https://github.com/RakuyoKit/swift.git from cache (0.94s)
Fetching https://github.com/apple/swift-argument-parser
[1/14793] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.81s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.50s)
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 (9cb218a)
[8259/28197168] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
[113766/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
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
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.49s)
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip (2.58s)
/host/spi-builder-workspace/.build/checkouts/swift/Plugins/FormatSwift/Plugin.swift:53:13: warning: 'launchPath' is deprecated: renamed to 'executableURL'
process.launchPath = launchPath
^
/host/spi-builder-workspace/.build/checkouts/swift/Plugins/FormatSwift/Plugin.swift:53:13: note: use 'executableURL' instead
process.launchPath = launchPath
^~~~~~~~~~
executableURL
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/6] Write sources
[3/6] Copying PrivacyInfo.xcprivacy
[4/6] Copying Assets.xcassets
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/25] Emitting module JSONPreview
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[8/27] Compiling JSONPreview JSONPreviewDelegate.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[9/27] Compiling JSONPreview JSONScrollView.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[10/27] Compiling JSONPreview String+ValidURL.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[11/27] Compiling JSONPreview JSONPreview.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[12/27] Compiling JSONPreview LineNumberTableView.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[13/27] Compiling JSONPreview resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[14/27] Compiling JSONPreview HighlightColor.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[15/27] Compiling JSONPreview HighlightStyle.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[16/27] Compiling JSONPreview JSONError.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[17/27] Compiling JSONPreview JSONParser.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[18/27] Compiling JSONPreview Dictionary+Sort.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[19/27] Compiling JSONPreview String+Range.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[20/27] Compiling JSONPreview JSONTextView.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[21/27] Compiling JSONPreview LineNumberCell.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[22/27] Compiling JSONPreview Orientation.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[23/27] Compiling JSONPreview AttributedStringSizeCalculator.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[24/27] Compiling JSONPreview JSONDecorator.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[25/27] Compiling JSONPreview JSONObjectKey.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[26/27] Compiling JSONPreview JSONSlice.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[27/27] Compiling JSONPreview JSONValue.swift
/host/spi-builder-workspace/Sources/Entity/HighlightColor.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.10 linux