Build Information
Failed to build TKDocumentParser, reference main (0c9838), with Swift 6.2 for Linux on 21 Jun 2025 20:31:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/toseefkhilji/TKDocumentParser.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/toseefkhilji/TKDocumentParser
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0c98382 Cocoapod added
Cloned https://github.com/toseefkhilji/TKDocumentParser.git
Revision (git rev-parse @):
0c98382500271496b956e532123ae27ebb944dfe
SUCCESS checkout https://github.com/toseefkhilji/TKDocumentParser.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/toseefkhilji/TKDocumentParser.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/yahoojapan/SwiftyXMLParser.git
Fetching https://github.com/weichsel/ZIPFoundation.git
[1/764] Fetching swiftyxmlparser
[758/6340] Fetching swiftyxmlparser, zipfoundation
Fetched https://github.com/yahoojapan/SwiftyXMLParser.git from cache (0.63s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (0.64s)
Computing version for https://github.com/yahoojapan/SwiftyXMLParser.git
Computed https://github.com/yahoojapan/SwiftyXMLParser.git at 5.6.0 (3.70s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.40s)
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
Creating working copy for https://github.com/yahoojapan/SwiftyXMLParser.git
Working copy of https://github.com/yahoojapan/SwiftyXMLParser.git resolved at 5.6.0
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/30] Compiling SwiftyXMLParser XML.swift
[6/30] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
[7/30] Compiling ZIPFoundation Archive+Writing.swift
[8/30] Compiling ZIPFoundation Archive+WritingDeprecated.swift
[9/32] Compiling SwiftyXMLParser Error.swift
[10/32] Compiling SwiftyXMLParser Parser.swift
[11/32] Emitting module ZIPFoundation
[12/32] Compiling ZIPFoundation Archive+MemoryFile.swift
[13/32] Compiling ZIPFoundation Archive+Progress.swift
[14/32] Compiling ZIPFoundation Archive+Reading.swift
[15/32] Compiling ZIPFoundation Archive+BackingConfiguration.swift
[16/32] Compiling ZIPFoundation Archive+Deprecated.swift
[17/32] Compiling ZIPFoundation Archive+Helpers.swift
[18/32] Compiling SwiftyXMLParser Element.swift
[19/32] Compiling SwiftyXMLParser Accessor.swift
[20/32] Emitting module SwiftyXMLParser
[21/33] Compiling ZIPFoundation Archive+ZIP64.swift
[22/33] Compiling ZIPFoundation Archive.swift
[23/33] Compiling ZIPFoundation Data+Compression.swift
[25/33] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[26/33] Compiling ZIPFoundation URL+ZIP.swift
[27/33] Compiling ZIPFoundation Entry+Serialization.swift
[28/33] Compiling ZIPFoundation Entry+ZIP64.swift
[29/33] Compiling ZIPFoundation Data+CompressionDeprecated.swift
[30/33] Compiling ZIPFoundation Data+Serialization.swift
[31/33] Compiling ZIPFoundation Date+ZIP.swift
[32/33] Compiling ZIPFoundation Entry.swift
[33/33] Compiling ZIPFoundation FileManager+ZIP.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/40] Emitting module TKDocumentParser
/host/spi-builder-workspace/Sources/TKDocumentParser/TKPDFParser.swift:9:8: error: no such module 'PDFKit'
7 |
8 | import Foundation
9 | import PDFKit
| `- error: no such module 'PDFKit'
10 |
11 | /// A parser for extracting text from PDF documents.
[36/40] Compiling TKDocumentParser TextParsable.swift
/host/spi-builder-workspace/Sources/TKDocumentParser/TKPDFParser.swift:9:8: error: no such module 'PDFKit'
7 |
8 | import Foundation
9 | import PDFKit
| `- error: no such module 'PDFKit'
10 |
11 | /// A parser for extracting text from PDF documents.
[37/40] Compiling TKDocumentParser TKPDFParser.swift
/host/spi-builder-workspace/Sources/TKDocumentParser/TKPDFParser.swift:9:8: error: no such module 'PDFKit'
7 |
8 | import Foundation
9 | import PDFKit
| `- error: no such module 'PDFKit'
10 |
11 | /// A parser for extracting text from PDF documents.
[38/40] Compiling TKDocumentParser TKDocumentParser.swift
/host/spi-builder-workspace/Sources/TKDocumentParser/TKPDFParser.swift:9:8: error: no such module 'PDFKit'
7 |
8 | import Foundation
9 | import PDFKit
| `- error: no such module 'PDFKit'
10 |
11 | /// A parser for extracting text from PDF documents.
[39/40] Compiling TKDocumentParser TKDocxParser.swift
/host/spi-builder-workspace/Sources/TKDocumentParser/TKPDFParser.swift:9:8: error: no such module 'PDFKit'
7 |
8 | import Foundation
9 | import PDFKit
| `- error: no such module 'PDFKit'
10 |
11 | /// A parser for extracting text from PDF documents.
[40/40] Compiling TKDocumentParser TKDocParser.swift
/host/spi-builder-workspace/Sources/TKDocumentParser/TKPDFParser.swift:9:8: error: no such module 'PDFKit'
7 |
8 | import Foundation
9 | import PDFKit
| `- error: no such module 'PDFKit'
10 |
11 | /// A parser for extracting text from PDF documents.
BUILD FAILURE 6.2 linux