The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TextTractor, reference v1.0.0 (0b7d8b), with Swift 6.1 for Wasm on 8 Jan 2026 12:57:11 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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/InspiratioNULL/TextTractor.git
Reference: v1.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/InspiratioNULL/TextTractor
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 0b7d8b2  Initial Commit
Cloned https://github.com/InspiratioNULL/TextTractor.git
Revision (git rev-parse @):
0b7d8b2cb0e523beec58759fe154d26f6be754eb
SUCCESS checkout https://github.com/InspiratioNULL/TextTractor.git at v1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/InspiratioNULL/TextTractor.git
https://github.com/InspiratioNULL/TextTractor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "TextTractor",
  "name" : "TextTractor",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "TextTractorCore",
      "targets" : [
        "TextTractorCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "text-tractor",
      "targets" : [
        "TextTractorCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TextTractorCore",
      "module_type" : "SwiftTarget",
      "name" : "TextTractorCore",
      "path" : "Sources/TextTractorCore",
      "product_memberships" : [
        "TextTractorCore",
        "text-tractor"
      ],
      "sources" : [
        "OCRService.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TextTractorCLI",
      "module_type" : "SwiftTarget",
      "name" : "TextTractorCLI",
      "path" : "Sources/TextTractorCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "text-tractor"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TextTractorCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:bb5ef85e2f3936cf1d2ae6dee7e011cebd8377061043dcf9368e6726baaf85d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/16993] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.73s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (1.35s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/13] Write sources
[6/13] Write swift-version-24593BA9C3E375BF.txt
[8/17] Emitting module ArgumentParserToolInfo
[9/17] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/18] Wrapping AST for ArgumentParserToolInfo for debugging
[12/64] Emitting module ArgumentParser
[13/70] Compiling ArgumentParser Foundation.swift
[14/70] Compiling ArgumentParser Mutex.swift
[15/70] Compiling ArgumentParser Platform.swift
[16/70] Compiling ArgumentParser SequenceExtensions.swift
[17/70] Compiling ArgumentParser StringExtensions.swift
[18/70] Compiling ArgumentParser SwiftExtensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/70] Emitting module TextTractorCore
/host/spi-builder-workspace/Sources/TextTractorCore/OCRService.swift:2:8: error: no such module 'Vision'
  1 | import Foundation
  2 | import Vision
    |        `- error: no such module 'Vision'
  3 | import PDFKit
  4 | import AppKit
[20/70] Compiling TextTractorCore OCRService.swift
/host/spi-builder-workspace/Sources/TextTractorCore/OCRService.swift:2:8: error: no such module 'Vision'
  1 | import Foundation
  2 | import Vision
    |        `- error: no such module 'Vision'
  3 | import PDFKit
  4 | import AppKit
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/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:bb5ef85e2f3936cf1d2ae6dee7e011cebd8377061043dcf9368e6726baaf85d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/9] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/13] Emitting module TextTractorCore
/host/spi-builder-workspace/Sources/TextTractorCore/OCRService.swift:2:8: error: no such module 'Vision'
  1 | import Foundation
  2 | import Vision
    |        `- error: no such module 'Vision'
  3 | import PDFKit
  4 | import AppKit
[5/13] Compiling TextTractorCore OCRService.swift
/host/spi-builder-workspace/Sources/TextTractorCore/OCRService.swift:2:8: error: no such module 'Vision'
  1 | import Foundation
  2 | import Vision
    |        `- error: no such module 'Vision'
  3 | import PDFKit
  4 | import AppKit
[6/13] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm