The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PDFPagePicker, reference 2.0.1 (dcd340), with Swift 6.1 for Wasm on 31 Aug 2025 06:49:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/omv-libs/PDFPagePicker.git
Reference: 2.0.1
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
 * tag               2.0.1      -> FETCH_HEAD
HEAD is now at dcd3408 Should have remembered that @PUblished is bad and should feel bad.
Cloned https://github.com/omv-libs/PDFPagePicker.git
Revision (git rev-parse @):
dcd34083033e55dfe079fae39abf8df26987564d
SUCCESS checkout https://github.com/omv-libs/PDFPagePicker.git at 2.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/omv-libs/PDFPagePicker.git
https://github.com/omv-libs/PDFPagePicker.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "PDFPagePicker",
  "name" : "PDFPagePicker",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "PDFPagePicker",
      "targets" : [
        "PDFPagePicker"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PDFPagePickerTests",
      "module_type" : "SwiftTarget",
      "name" : "PDFPagePickerTests",
      "path" : "Tests/PDFPagePickerTests",
      "sources" : [
        "PDFPagePickerTests.swift"
      ],
      "target_dependencies" : [
        "PDFPagePicker"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PDFPagePicker",
      "module_type" : "SwiftTarget",
      "name" : "PDFPagePicker",
      "path" : "Sources/PDFPagePicker",
      "product_memberships" : [
        "PDFPagePicker"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/PDFPagePicker/Resources/Base.lproj/PDFPageItem.xib",
          "rule" : {
            "process" : {
              "localization" : "Base"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PDFPagePicker/Resources/Base.lproj/PDFPagePicker.xib",
          "rule" : {
            "process" : {
              "localization" : "Base"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PDFPagePicker/Resources/Base.lproj/SingleImageImportViewController.xib",
          "rule" : {
            "process" : {
              "localization" : "Base"
            }
          }
        }
      ],
      "sources" : [
        "ImageImport.swift",
        "ImageWell.swift",
        "ImageWellImport.swift",
        "LocalizedStringResource+PDFPagePicker.swift",
        "Logger+PDFPagePicker.swift",
        "NSResponder+PDFPagePicker.swift",
        "PDFDocumentView.swift",
        "PDFPageItem.swift",
        "PDFPagePicker.swift",
        "SingleImageImport.swift",
        "SingleImageImportViewController.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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] Write sources
[0/6] Copying Info.plist
[0/6] Copying PDFPageItem.xib
[3/6] Copying PDFPagePicker.xib
[4/6] Copying SingleImageImportViewController.xib
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/18] 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 |
[8/18] 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 |
[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 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 |
[11/19] 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 |
[12/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/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 |
[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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/13] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/14] 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 |
[4/14] 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 |
[5/14] 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 |
[6/14] 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 |
[7/14] 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 |
[8/14] 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 |
[9/14] 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 |
[10/14] 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 |
[11/14] 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 |
[12/14] 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 |
[13/14] 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 |
[14/14] 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 |
BUILD FAILURE 6.1 wasm