The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build HighlightSwift, reference v1.1.0 (784ca3), with Swift 5.10 for Linux on 25 Jun 2024 23:28:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$workDir" 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.43.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appstefan/HighlightSwift.git
Reference: v1.1.0
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/appstefan/HighlightSwift
 * tag               v1.1.0     -> FETCH_HEAD
HEAD is now at 784ca3c update README
Cloned https://github.com/appstefan/HighlightSwift.git
Revision (git rev-parse @):
784ca3ccfc8a2cf724fbb2f06cb6ec3329424da3
SUCCESS checkout https://github.com/appstefan/HighlightSwift.git at v1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/appstefan/HighlightSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$workDir" 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:ad7d89f73d56840dc701ca7cebc6a2b940dd6cd1021b272e36eba4b329a2df61
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/4] Write sources
[1/4] Copying LICENSE.md
[2/4] Copying highlight.min.js
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/22] Emitting module HighlightSwift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/24] Compiling HighlightSwift CodeText.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/24] Compiling HighlightSwift CodeTextCardView.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/24] Compiling HighlightSwift CodeTextColors.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/24] Compiling HighlightSwift HighlightCSS.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/24] Compiling HighlightSwift HighlightColors.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/24] Compiling HighlightSwift CodeTextModifiers.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[12/24] Compiling HighlightSwift CodeTextStyle.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[13/24] Compiling HighlightSwift CodeTextView.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[14/24] Compiling HighlightSwift HighlightEntry.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[15/24] Compiling HighlightSwift HighlightLanguage.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[16/24] Compiling HighlightSwift Highlight.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[17/24] Compiling HighlightSwift HighlightBackground.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[18/24] Compiling HighlightSwift HighlightMode.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[19/24] Compiling HighlightSwift HighlightResult.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[20/24] Compiling HighlightSwift HLJS.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[21/24] Compiling HighlightSwift HLJSError.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[22/24] Compiling HighlightSwift HLJSResult.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[23/24] Compiling HighlightSwift HighlightTheme.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[24/24] Compiling HighlightSwift resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/HighlightSwift/CodeText/CodeText.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.10 linux