Build Information
Failed to build CasperishTheme, reference main (304741), with Swift 6.3 for Wasm on 12 Apr 2026 04:21:02 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/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sowenjub/CasperishTheme.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/sowenjub/CasperishTheme
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 304741e Merge pull request #2 from aure/patch-1
Cloned https://github.com/sowenjub/CasperishTheme.git
Revision (git rev-parse @):
304741e76057782ca57896e78efb8969a550e4c3
SUCCESS checkout https://github.com/sowenjub/CasperishTheme.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/sowenjub/CasperishTheme.git
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/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/SwiftPygmentsPublishPlugin
[1/94] Fetching swiftpygmentspublishplugin
Fetched https://github.com/Ze0nC/SwiftPygmentsPublishPlugin from cache (0.22s)
Fetching https://github.com/Ze0nC/SwiftPygments
[1/37] Fetching swiftpygments
Fetched https://github.com/Ze0nC/SwiftPygments from cache (0.19s)
Fetching https://github.com/pvieito/PythonKit.git
[1/1693] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.25s)
Fetching https://github.com/alexito4/ReadingTimePublishPlugin
Fetching https://github.com/johnsundell/publish.git
[1/136] Fetching readingtimepublishplugin
[137/3118] Fetching readingtimepublishplugin, publish
Fetched https://github.com/alexito4/ReadingTimePublishPlugin from cache (0.27s)
Fetched https://github.com/johnsundell/publish.git from cache (0.32s)
Computing version for https://github.com/alexito4/ReadingTimePublishPlugin
Computed https://github.com/alexito4/ReadingTimePublishPlugin at 0.3.0 (0.93s)
Computing version for https://github.com/johnsundell/publish.git
Computed https://github.com/johnsundell/publish.git at 0.9.0 (0.57s)
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git
Fetching https://github.com/johnsundell/codextended.git
Fetching https://github.com/johnsundell/plot.git
Fetching https://github.com/johnsundell/shellout.git
Fetching https://github.com/johnsundell/sweep.git
Fetching https://github.com/johnsundell/files.git
[1/101] Fetching collectionconcurrencykit
[23/1081] Fetching collectionconcurrencykit, shellout
[1082/1262] Fetching collectionconcurrencykit, shellout, codextended
[1124/1378] Fetching collectionconcurrencykit, shellout, codextended, sweep
[1267/3487] Fetching collectionconcurrencykit, shellout, codextended, sweep, plot
[3488/4760] Fetching collectionconcurrencykit, shellout, codextended, sweep, plot, files
Fetched https://github.com/johnsundell/sweep.git from cache (0.30s)
[3626/4644] Fetching collectionconcurrencykit, shellout, codextended, plot, files
Fetching https://github.com/johnsundell/ink.git
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (0.38s)
Fetched https://github.com/johnsundell/codextended.git from cache (0.38s)
Fetched https://github.com/johnsundell/plot.git from cache (0.39s)
Fetched https://github.com/johnsundell/shellout.git from cache (0.41s)
Fetched https://github.com/johnsundell/files.git from cache (0.41s)
[1/1905] Fetching ink
Fetched https://github.com/johnsundell/ink.git from cache (0.31s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (1.19s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (2.85s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.2.0 (0.53s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.55s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.6.0 (0.56s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.3.0 (0.52s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.14.0 (0.56s)
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/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.6.0
Creating working copy for https://github.com/Ze0nC/SwiftPygments
Working copy of https://github.com/Ze0nC/SwiftPygments resolved at master (c22bcfc)
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/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/plot.git
Working copy of https://github.com/johnsundell/plot.git resolved at 0.14.0
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/collectionConcurrencyKit.git
Working copy of https://github.com/johnsundell/collectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/alexito4/ReadingTimePublishPlugin
Working copy of https://github.com/alexito4/ReadingTimePublishPlugin resolved at 0.3.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/Ze0nC/SwiftPygmentsPublishPlugin
Working copy of https://github.com/Ze0nC/SwiftPygmentsPublishPlugin resolved at 9280f5d55a4a7600cef2e08078ec456ab345904c
Creating working copy for https://github.com/johnsundell/files.git
Working copy of https://github.com/johnsundell/files.git resolved at 4.3.0
Building for debugging...
[0/14] Write sources
[13/14] Write swift-version-24593BA9C3E375BF.txt
[15/120] Emitting module Sweep
[16/120] Emitting module Files
[17/120] Emitting module Plot
[18/128] Compiling Plot HTMLInputType.swift
[19/128] Compiling Plot HTMLLinkRelationship.swift
[20/128] Compiling Plot HTMLListStyle.swift
[21/128] Compiling Plot HTMLVideoFormat.swift
[22/132] 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 | }
[23/132] Emitting module Ink
[24/132] Compiling Plot DocumentEncoding.swift
[25/132] Compiling Plot Element.swift
[26/132] Compiling Plot ElementClosingMode.swift
[27/132] Compiling Plot ElementComponent.swift
[28/132] Compiling Plot ElementDefinition.swift
[29/132] Compiling Plot ComponentGroup.swift
[30/132] Compiling Plot ControlFlow.swift
[31/132] Compiling Plot Directionality.swift
[32/132] Compiling Plot Document.swift
[33/132] Compiling Plot Component.swift
[34/132] Compiling Plot ComponentAttributes.swift
[35/132] Compiling Plot ComponentBuilder.swift
[36/132] Compiling Plot ComponentContainer.swift
[37/132] Compiling Plot EmptyComponent.swift
[38/132] Compiling Plot EnvironmentKey.swift
[39/132] Compiling Plot EnvironmentValue.swift
[40/132] Compiling Plot HTML.swift
[41/132] Compiling Plot Attribute.swift
[42/132] Compiling PythonKit PythonLibrary+Symbols.swift
[43/132] Compiling Ink TextStyle.swift
[44/132] Compiling Ink TextStyleMarker.swift
[45/132] Compiling Ink URL.swift
[46/132] Compiling Ink URLDeclaration.swift
[47/132] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
[48/132] Emitting module CollectionConcurrencyKit
[50/133] Compiling PythonKit NumpyConversion.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/133] 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
[52/133] Compiling PythonKit Python.swift
[53/133] Emitting module Codextended
[54/133] Compiling Plot HTMLViewportFitMode.swift
[55/133] Compiling Plot HTMLViewportWidthMode.swift
[56/133] Compiling Plot Indentation.swift
[57/133] Compiling Plot Language.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/133] 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
BUILD FAILURE 6.3 wasm