The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TKDocumentParser, reference 1.0.0 (1fe7d1), with Swift 6.2 for Linux on 21 Jun 2025 20:31:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/toseefkhilji/TKDocumentParser.git
Reference: 1.0.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/toseefkhilji/TKDocumentParser
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 1fe7d12 Initial commit
Cloned https://github.com/toseefkhilji/TKDocumentParser.git
Revision (git rev-parse @):
1fe7d125fc0407c720ce1cdf49ab9699a0a56257
SUCCESS checkout https://github.com/toseefkhilji/TKDocumentParser.git at 1.0.0
========================================
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-4609320-1":/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
Fetched https://github.com/yahoojapan/SwiftyXMLParser.git from cache (0.35s)
[1/5576] Fetching zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (1.10s)
Computing version for https://github.com/yahoojapan/SwiftyXMLParser.git
Computed https://github.com/yahoojapan/SwiftyXMLParser.git at 5.6.0 (5.08s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.76s)
Creating working copy for https://github.com/yahoojapan/SwiftyXMLParser.git
Working copy of https://github.com/yahoojapan/SwiftyXMLParser.git resolved at 5.6.0
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
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] Emitting module ZIPFoundation
[6/32] Compiling SwiftyXMLParser Error.swift
[7/32] Compiling ZIPFoundation Entry+Serialization.swift
[8/32] Compiling ZIPFoundation Entry+ZIP64.swift
[9/32] Compiling ZIPFoundation Data+CompressionDeprecated.swift
[10/32] Compiling ZIPFoundation Data+Serialization.swift
[11/32] Compiling ZIPFoundation Date+ZIP.swift
[12/32] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[13/32] Compiling ZIPFoundation URL+ZIP.swift
[14/32] Compiling ZIPFoundation Archive+ZIP64.swift
[15/32] Compiling ZIPFoundation Archive.swift
[16/32] Compiling ZIPFoundation Data+Compression.swift
[17/32] Compiling SwiftyXMLParser Parser.swift
[18/32] Compiling ZIPFoundation Archive+MemoryFile.swift
[19/32] Compiling ZIPFoundation Archive+Progress.swift
[20/32] Compiling ZIPFoundation Archive+Reading.swift
[21/32] Compiling ZIPFoundation Archive+BackingConfiguration.swift
[22/32] Compiling ZIPFoundation Archive+Deprecated.swift
[23/32] Compiling ZIPFoundation Archive+Helpers.swift
[24/32] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
[25/32] Compiling ZIPFoundation Archive+Writing.swift
[26/32] Compiling ZIPFoundation Archive+WritingDeprecated.swift
[27/32] Compiling SwiftyXMLParser XML.swift
[28/32] Compiling SwiftyXMLParser Element.swift
[29/32] Emitting module SwiftyXMLParser
[30/32] Compiling SwiftyXMLParser Accessor.swift
[32/33] Compiling ZIPFoundation Entry.swift
[33/33] Compiling ZIPFoundation FileManager+ZIP.swift
[35/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.
[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 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.
[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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/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.
[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