The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PDFPagePicker, reference main (3fda93), with Swift 6.3 for Linux on 16 Apr 2026 20:39:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/omv-libs/PDFPagePicker.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/omv-libs/PDFPagePicker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3fda93e Newer swiftformat.
Cloned https://github.com/omv-libs/PDFPagePicker.git
Revision (git rev-parse @):
3fda93e3e069df4b35cc7c599986b6dff3584c36
SUCCESS checkout https://github.com/omv-libs/PDFPagePicker.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/omv-libs/PDFPagePicker.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/PDFPagePicker/Resources/Localizable.xcstrings
Building for debugging...
[0/6] Copying Info.plist
[0/6] Copying PDFPageItem.xib
[0/6] Copying SingleImageImportViewController.xib
[3/6] Copying PDFPagePicker.xib
[4/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/18] Compiling PDFPagePicker SingleImageImportViewController.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[8/19] Compiling PDFPagePicker SingleImageImport.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[9/19] Compiling PDFPagePicker PDFPagePicker.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[10/19] Compiling PDFPagePicker PDFDocumentView.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[11/19] Compiling PDFPagePicker PDFPageItem.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/19] Emitting module PDFPagePicker
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[13/19] Compiling PDFPagePicker resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[14/19] Compiling PDFPagePicker Logger+PDFPagePicker.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[15/19] Compiling PDFPagePicker NSResponder+PDFPagePicker.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[16/19] Compiling PDFPagePicker ImageWellImport.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[17/19] Compiling PDFPagePicker LocalizedStringResource+PDFPagePicker.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[18/19] Compiling PDFPagePicker ImageImport.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
[19/19] Compiling PDFPagePicker ImageWell.swift
/host/spi-builder-workspace/Sources/PDFPagePicker/ImageImport.swift:8:8: error: no such module 'Cocoa'
 6 | //
 7 |
 8 | import Cocoa
   |        `- error: no such module 'Cocoa'
 9 | import UniformTypeIdentifiers
10 |
BUILD FAILURE 6.3 linux