The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ZMarkupParser with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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.33.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ZhgChgLi/ZMarkupParser.git
Reference: main
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/ZhgChgLi/ZMarkupParser
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 62ea6a7 Update README.md
Cloned https://github.com/ZhgChgLi/ZMarkupParser.git
Revision (git rev-parse @):
62ea6a72b7399118ac59feb242b81515d74e7ca3
SUCCESS checkout https://github.com/ZhgChgLi/ZMarkupParser.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ZhgChgLi/ZMarkupParser.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/ZhgChgLi/ZNSTextAttachment
[1/217] Fetching znstextattachment
[218/11187] Fetching znstextattachment, swift-snapshot-testing
Fetched https://github.com/ZhgChgLi/ZNSTextAttachment from cache (1.51s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.57s)
Computing version for https://github.com/ZhgChgLi/ZNSTextAttachment
Computed https://github.com/ZhgChgLi/ZNSTextAttachment at 1.1.9 (0.41s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.12.0 (0.44s)
Creating working copy for https://github.com/ZhgChgLi/ZNSTextAttachment
Working copy of https://github.com/ZhgChgLi/ZNSTextAttachment resolved at 1.1.9
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.12.0
warning: 'spi-builder-workspace': found 11 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testNSTextViewSetHTMLString.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testUITextViewSetHTMLStringAsync.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testNSTextFieldSetHTMLString.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testAsyncImageNSAttributedString_uiTextView.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testNSTextViewSetHTMLStringAsync.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testUITextViewSetHTMLString.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testShouldKeppNSAttributedString.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testNSTextFieldSetHTMLStringAsync.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testAsyncImageNSAttributedString_nsTextView.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testUILabelSetHTMLStringAsync.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testUILabelSetHTMLString.1.png
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/ZMarkupParserPerformanceTests/Report/testZMarkupParserPerformance.json
    /host/spi-builder-workspace/Tests/ZMarkupParserPerformanceTests/Report/testZHTMLMarkupParserMeasure.json
    /host/spi-builder-workspace/Tests/ZMarkupParserPerformanceTests/Report/testDocumentTypeHTMLPerformance.json
    /host/spi-builder-workspace/Tests/ZMarkupParserPerformanceTests/Report/testDocumentTypeHTMLMeasure.json
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/13] Emitting module ZNSTextAttachment
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[5/13] Compiling ZNSTextAttachment UILabel+Extenstion.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[6/13] Compiling ZNSTextAttachment ZNSTextAttachmentLabel.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[7/14] Compiling ZNSTextAttachment ZNSTextAttachmentHandler.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[8/14] Compiling ZNSTextAttachment ZNSTextAttachmentable.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[9/14] Compiling ZNSTextAttachment ZNSTextAttachmentDelegate.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[10/14] Compiling ZNSTextAttachment ZNSTextAttachmentDataSource.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[11/14] Compiling ZNSTextAttachment ZNSTextAttachment.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[12/14] Compiling ZNSTextAttachment NSTextStorage+Extension.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[13/14] Compiling ZNSTextAttachment WeakZNSTextAttachmentable.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[14/14] Compiling ZNSTextAttachment ZResizableNSTextAttachment.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
error: fatalError
warning: 'spi-builder-workspace': found 11 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testAsyncImageNSAttributedString_uiTextView.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testNSTextFieldSetHTMLStringAsync.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testNSTextViewSetHTMLStringAsync.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testUILabelSetHTMLString.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testNSTextViewSetHTMLString.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testShouldKeppNSAttributedString.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testUITextViewSetHTMLString.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testUITextViewSetHTMLStringAsync.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testNSTextFieldSetHTMLString.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testAsyncImageNSAttributedString_nsTextView.1.png
    /host/spi-builder-workspace/Tests/ZMarkupParserSnapshotTests/__Snapshots__/ZMarkupParserSnapshotTests/testUILabelSetHTMLStringAsync.1.png
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/ZMarkupParserPerformanceTests/Report/testZMarkupParserPerformance.json
    /host/spi-builder-workspace/Tests/ZMarkupParserPerformanceTests/Report/testDocumentTypeHTMLPerformance.json
    /host/spi-builder-workspace/Tests/ZMarkupParserPerformanceTests/Report/testZHTMLMarkupParserMeasure.json
    /host/spi-builder-workspace/Tests/ZMarkupParserPerformanceTests/Report/testDocumentTypeHTMLMeasure.json
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling ZNSTextAttachment ZNSTextAttachmentDelegate.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[3/11] Compiling ZNSTextAttachment ZNSTextAttachmentDataSource.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[4/11] Compiling ZNSTextAttachment ZNSTextAttachmentable.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[5/11] Compiling ZNSTextAttachment ZNSTextAttachmentHandler.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/12] Emitting module ZNSTextAttachment
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[7/12] Compiling ZNSTextAttachment ZNSTextAttachment.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[8/12] Compiling ZNSTextAttachment NSTextStorage+Extension.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[9/12] Compiling ZNSTextAttachment WeakZNSTextAttachmentable.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[10/12] Compiling ZNSTextAttachment UILabel+Extenstion.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[11/12] Compiling ZNSTextAttachment ZNSTextAttachmentLabel.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
[12/12] Compiling ZNSTextAttachment ZResizableNSTextAttachment.swift
/host/spi-builder-workspace/.build/checkouts/ZNSTextAttachment/Sources/ZNSTextAttachment/ZNSTextAttachment.swift:16:8: error: no such module 'UniformTypeIdentifiers'
import UniformTypeIdentifiers
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2