The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftPygmentsPublishPlugin, reference master (4ed27a), with Swift 6.3 for Wasm on 21 Apr 2026 08:42:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Ze0nC/SwiftPygmentsPublishPlugin.git
Reference: master
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/Ze0nC/SwiftPygmentsPublishPlugin
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4ed27aa Merge pull request #4 from sena-mike/patch-1
Cloned https://github.com/Ze0nC/SwiftPygmentsPublishPlugin.git
Revision (git rev-parse @):
4ed27aad3f27e5769ab64dcb5ebdb2473add13e8
SUCCESS checkout https://github.com/Ze0nC/SwiftPygmentsPublishPlugin.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Ze0nC/SwiftPygmentsPublishPlugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/Ze0nC/SwiftPygments
[1/37] Fetching swiftpygments
Fetched https://github.com/Ze0nC/SwiftPygments from cache (0.26s)
Fetching https://github.com/pvieito/PythonKit.git
[1/1693] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.41s)
Fetching https://github.com/johnsundell/publish.git
[1/2982] Fetching publish
Fetched https://github.com/johnsundell/publish.git from cache (0.62s)
Computing version for https://github.com/johnsundell/publish.git
Computed https://github.com/johnsundell/publish.git at 0.9.0 (1.46s)
Fetching https://github.com/johnsundell/ink.git
Fetching https://github.com/johnsundell/sweep.git
Fetching https://github.com/johnsundell/plot.git
Fetching https://github.com/johnsundell/shellout.git
Fetching https://github.com/johnsundell/files.git
[1/1905] Fetching ink
[1906/2021] Fetching ink, sweep
[2003/3294] Fetching ink, sweep, files
[2081/4274] Fetching ink, sweep, files, shellout
[4275/6383] Fetching ink, sweep, files, shellout, plot
Fetching https://github.com/johnsundell/codextended.git
Fetched https://github.com/johnsundell/shellout.git from cache (0.79s)
Fetched https://github.com/johnsundell/files.git from cache (0.78s)
[2507/4130] Fetching ink, sweep, plot
Fetched https://github.com/johnsundell/ink.git from cache (1.06s)
Fetched https://github.com/johnsundell/plot.git from cache (1.06s)
Fetched https://github.com/johnsundell/sweep.git from cache (1.09s)
[1/181] Fetching codextended
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git
Fetched https://github.com/johnsundell/codextended.git from cache (0.48s)
[1/101] Fetching collectionconcurrencykit
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (0.38s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (2.54s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (13.06s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.2.0 (1.64s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.94s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.6.0 (0.78s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.3.0 (1.24s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.14.0 (0.79s)
Creating working copy for https://github.com/johnsundell/codextended.git
Working copy of https://github.com/johnsundell/codextended.git resolved at 0.3.0
Creating working copy for https://github.com/johnsundell/publish.git
Working copy of https://github.com/johnsundell/publish.git resolved at 0.9.0
Creating working copy for https://github.com/johnsundell/sweep.git
Working copy of https://github.com/johnsundell/sweep.git resolved at 0.4.0
Creating working copy for https://github.com/johnsundell/files.git
Working copy of https://github.com/johnsundell/files.git resolved at 4.3.0
Creating working copy for https://github.com/johnsundell/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.6.0
Creating working copy for https://github.com/johnsundell/collectionConcurrencyKit.git
Working copy of https://github.com/johnsundell/collectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/johnsundell/plot.git
Working copy of https://github.com/johnsundell/plot.git resolved at 0.14.0
Creating working copy for https://github.com/johnsundell/shellout.git
Working copy of https://github.com/johnsundell/shellout.git resolved at 2.3.0
Creating working copy for https://github.com/pvieito/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at master (d030b51)
Creating working copy for https://github.com/Ze0nC/SwiftPygments
Working copy of https://github.com/Ze0nC/SwiftPygments resolved at master (c22bcfc)
Building for debugging...
[0/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/33] Emitting module CollectionConcurrencyKit
[14/118] Emitting module Sweep
[15/118] Emitting module Ink
[16/122] Emitting module Plot
[17/130] Compiling Plot HTMLAnchorRelationship.swift
[18/130] Compiling Plot HTMLAnchorTarget.swift
[19/130] Compiling Plot HTMLAttributes.swift
[20/130] Compiling Plot HTMLAudioFormat.swift
[21/130] Compiling Plot HTMLButtonType.swift
[22/130] Compiling Plot HTMLComponents.swift
[23/130] Compiling Plot HTMLElements.swift
[24/130] Compiling Plot HTMLFormContentType.swift
[25/130] Compiling Ink TextStyle.swift
[26/130] Compiling Ink TextStyleMarker.swift
[27/130] Compiling Ink URL.swift
[28/130] Compiling Ink URLDeclaration.swift
[29/130] Compiling Plot EmptyComponent.swift
[30/130] Compiling Plot EnvironmentKey.swift
[31/130] Compiling Plot EnvironmentValue.swift
[32/130] Compiling Plot HTML.swift
[33/130] Compiling Plot ComponentGroup.swift
[34/130] Compiling Plot ControlFlow.swift
[35/130] Compiling Plot Directionality.swift
[36/130] Compiling Plot Document.swift
[37/130] Compiling PythonKit PythonLibrary+Symbols.swift
[38/130] Compiling PythonKit PythonLibrary.swift
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:120:34: error: cannot find 'librarySearchPaths' in scope
118 |     private static let libraryPaths: [String] = {
119 |         var libraryPaths: [String] = []
120 |         for librarySearchPath in librarySearchPaths {
    |                                  `- error: cannot find 'librarySearchPaths' in scope
121 |             for libraryName in libraryNames {
122 |                 for libraryPathExtension in libraryPathExtensions {
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:121:32: error: cannot find 'libraryNames' in scope
119 |         var libraryPaths: [String] = []
120 |         for librarySearchPath in librarySearchPaths {
121 |             for libraryName in libraryNames {
    |                                `- error: cannot find 'libraryNames' in scope
122 |                 for libraryPathExtension in libraryPathExtensions {
123 |                     let libraryPath =
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:122:45: error: cannot find 'libraryPathExtensions' in scope
120 |         for librarySearchPath in librarySearchPaths {
121 |             for libraryName in libraryNames {
122 |                 for libraryPathExtension in libraryPathExtensions {
    |                                             `- error: cannot find 'libraryPathExtensions' in scope
123 |                     let libraryPath =
124 |                     librarySearchPath + libraryName + libraryPathExtension
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:141:20: error: cannot find 'dlsym' in scope
139 |             return unsafeBitCast(moduleSymbol, to: UnsafeMutableRawPointer?.self)
140 | #else
141 |             return dlsym(libraryHandle, name)
    |                    `- error: cannot find 'dlsym' in scope
142 | #endif
143 |         }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:194:36: error: cannot find 'libraryVersionSeparator' in scope
192 |             let libraryVersionString = versionString
193 |                 .split(separator: PythonVersion.versionSeparator)
194 |                 .joined(separator: libraryVersionSeparator)
    |                                    `- error: cannot find 'libraryVersionSeparator' in scope
195 |             let path = path.split(separator: libraryPathVersionCharacter)
196 |                 .joined(separator: libraryVersionString)
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:207:35: error: cannot find 'dlopen' in scope
205 |         // Must be RTLD_GLOBAL because subsequent .so files from the imported python
206 |         // modules may depend on this .so file.
207 |         let pythonLibraryHandle = dlopen(path, RTLD_LAZY | RTLD_GLOBAL)
    |                                   `- error: cannot find 'dlopen' in scope
208 |         if pythonLibraryHandle == nil {
209 |             self.log("Failed to load library at '\(path)'.")
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:207:48: error: cannot find 'RTLD_LAZY' in scope
205 |         // Must be RTLD_GLOBAL because subsequent .so files from the imported python
206 |         // modules may depend on this .so file.
207 |         let pythonLibraryHandle = dlopen(path, RTLD_LAZY | RTLD_GLOBAL)
    |                                                `- error: cannot find 'RTLD_LAZY' in scope
208 |         if pythonLibraryHandle == nil {
209 |             self.log("Failed to load library at '\(path)'.")
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:207:60: error: cannot find 'RTLD_GLOBAL' in scope
205 |         // Must be RTLD_GLOBAL because subsequent .so files from the imported python
206 |         // modules may depend on this .so file.
207 |         let pythonLibraryHandle = dlopen(path, RTLD_LAZY | RTLD_GLOBAL)
    |                                                            `- error: cannot find 'RTLD_GLOBAL' in scope
208 |         if pythonLibraryHandle == nil {
209 |             self.log("Failed to load library at '\(path)'.")
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:210:35: error: cannot find 'dlerror' in scope
208 |         if pythonLibraryHandle == nil {
209 |             self.log("Failed to load library at '\(path)'.")
210 |             if let errorCString = dlerror() {
    |                                   `- error: cannot find 'dlerror' in scope
211 |                 let errorString = String(cString: errorCString)
212 |                 self.log("Reason for failure: \(errorString)")
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:294:33: error: cannot find 'getenv' in scope
292 |
293 |         var value: String? {
294 |             guard let cString = getenv(key) else { return nil }
    |                                 `- error: cannot find 'getenv' in scope
295 |             let value = String(cString: cString)
296 |             guard !value.isEmpty else { return nil }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:304:13: error: cannot find 'setenv' in scope
302 |             _putenv_s(key, value)
303 | #else
304 |             setenv(key, value, 1)
    |             `- error: cannot find 'setenv' in scope
305 | #endif
306 |         }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:314:9: error: cannot find 'fputs' in scope
312 |     private static func log(_ message: String) {
313 |         guard Environment.loaderLogging.value != nil else { return }
314 |         fputs(message + "\n", stderr)
    |         `- error: cannot find 'fputs' in scope
315 |     }
316 | }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:314:31: error: cannot find 'stderr' in scope
312 |     private static func log(_ message: String) {
313 |         guard Environment.loaderLogging.value != nil else { return }
314 |         fputs(message + "\n", stderr)
    |                               `- error: cannot find 'stderr' in scope
315 |     }
316 | }
[39/130] Compiling Plot DocumentEncoding.swift
[40/130] Compiling Plot Element.swift
[41/130] Compiling Plot ElementClosingMode.swift
[42/130] Compiling Plot ElementComponent.swift
[43/130] Compiling Plot ElementDefinition.swift
[44/130] Compiling Plot Attribute.swift
[45/130] Compiling Plot Component.swift
[46/130] Compiling Plot ComponentAttributes.swift
[47/130] Compiling Plot ComponentBuilder.swift
[48/130] Compiling Plot ComponentContainer.swift
[49/130] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
[51/131] Compiling PythonKit NumpyConversion.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/131] Compiling PythonKit Python.swift
[53/131] Emitting module PythonKit
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:120:34: error: cannot find 'librarySearchPaths' in scope
118 |     private static let libraryPaths: [String] = {
119 |         var libraryPaths: [String] = []
120 |         for librarySearchPath in librarySearchPaths {
    |                                  `- error: cannot find 'librarySearchPaths' in scope
121 |             for libraryName in libraryNames {
122 |                 for libraryPathExtension in libraryPathExtensions {
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:121:32: error: cannot find 'libraryNames' in scope
119 |         var libraryPaths: [String] = []
120 |         for librarySearchPath in librarySearchPaths {
121 |             for libraryName in libraryNames {
    |                                `- error: cannot find 'libraryNames' in scope
122 |                 for libraryPathExtension in libraryPathExtensions {
123 |                     let libraryPath =
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:122:45: error: cannot find 'libraryPathExtensions' in scope
120 |         for librarySearchPath in librarySearchPaths {
121 |             for libraryName in libraryNames {
122 |                 for libraryPathExtension in libraryPathExtensions {
    |                                             `- error: cannot find 'libraryPathExtensions' in scope
123 |                     let libraryPath =
124 |                     librarySearchPath + libraryName + libraryPathExtension
[54/131] Emitting module Files
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/131] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/shellout/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[56/131] Emitting module Codextended
BUILD FAILURE 6.3 wasm