Build Information
Failed to build SwiftPygmentsPublishPlugin, reference master (4ed27a), with Swift 6.3 for Android on 21 Apr 2026 08:41:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build 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: android
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-4609320-0":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/Ze0nC/SwiftPygments
[1/37] Fetching swiftpygments
Fetched https://github.com/Ze0nC/SwiftPygments from cache (0.28s)
Fetching https://github.com/pvieito/PythonKit.git
[1/1693] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.28s)
Fetching https://github.com/johnsundell/publish.git
[1/2982] Fetching publish
Fetched https://github.com/johnsundell/publish.git from cache (0.46s)
Computing version for https://github.com/johnsundell/publish.git
Computed https://github.com/johnsundell/publish.git at 0.9.0 (1.03s)
Fetching https://github.com/johnsundell/files.git
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git
Fetching https://github.com/johnsundell/sweep.git
Fetching https://github.com/johnsundell/shellout.git
Fetching https://github.com/johnsundell/codextended.git
Fetching https://github.com/johnsundell/plot.git
[1/101] Fetching collectionconcurrencykit
[19/282] Fetching collectionconcurrencykit, codextended
[283/398] Fetching collectionconcurrencykit, codextended, sweep
[399/1671] Fetching collectionconcurrencykit, codextended, sweep, files
[450/3780] Fetching collectionconcurrencykit, codextended, sweep, files, plot
[3781/4760] Fetching collectionconcurrencykit, codextended, sweep, files, plot, shellout
Fetched https://github.com/johnsundell/sweep.git from cache (1.00s)
Fetched https://github.com/johnsundell/files.git from cache (1.01s)
Fetched https://github.com/johnsundell/plot.git from cache (1.01s)
Fetched https://github.com/johnsundell/codextended.git from cache (1.01s)
Fetched https://github.com/johnsundell/shellout.git from cache (1.01s)
Fetching https://github.com/johnsundell/ink.git
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (1.01s)
[1/1905] Fetching ink
Fetched https://github.com/johnsundell/ink.git from cache (0.50s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (2.25s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (2.50s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.2.0 (0.42s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.45s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.6.0 (0.44s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.3.0 (0.44s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.14.0 (0.54s)
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/files.git
Working copy of https://github.com/johnsundell/files.git resolved at 4.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/johnsundell/sweep.git
Working copy of https://github.com/johnsundell/sweep.git resolved at 0.4.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/johnsundell/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.6.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/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
Building for debugging...
[0/12] Write sources
[11/12] Write swift-version--4F562202D5529B1.txt
[13/118] Emitting module Sweep
[14/118] Emitting module ShellOut
[15/118] Emitting module Plot
[16/126] Compiling Plot HTML.swift
[17/126] Compiling Plot Node.swift
[18/126] Compiling Plot NodeConvertible.swift
[19/126] Compiling Plot Optional+Component.swift
[20/126] 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 | }
[21/130] Compiling Plot HTMLComponents.swift
[22/130] Compiling Plot HTMLElements.swift
[23/130] Compiling Plot HTMLFormContentType.swift
[24/130] Compiling Plot HTMLFormMethod.swift
[25/130] Compiling PythonKit PythonLibrary+Symbols.swift
[26/130] Emitting module Ink
[27/130] Compiling Plot Attribute.swift
[28/130] Compiling Plot Component.swift
[29/130] Compiling Plot ComponentAttributes.swift
[30/130] Compiling Plot ComponentBuilder.swift
[31/130] Compiling Plot ComponentContainer.swift
[32/130] Compiling Plot ComponentGroup.swift
[33/130] Compiling Plot ControlFlow.swift
[34/130] Compiling Plot Directionality.swift
[35/130] Compiling Plot Document.swift
[36/130] Compiling Plot HTMLAnchorRelationship.swift
[37/130] Compiling Plot HTMLAnchorTarget.swift
[38/130] Compiling Plot HTMLAttributes.swift
[39/130] Compiling Plot HTMLAudioFormat.swift
[40/130] Compiling Plot HTMLButtonType.swift
[41/130] Emitting module CollectionConcurrencyKit
[42/130] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
[44/131] Compiling Ink TextStyle.swift
[45/131] Compiling Ink TextStyleMarker.swift
[46/131] Compiling Ink URL.swift
[47/131] Compiling Ink URLDeclaration.swift
[48/131] Compiling PythonKit NumpyConversion.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/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
[50/131] Compiling PythonKit Python.swift
[51/131] Emitting module Files
[52/131] Emitting module Codextended
BUILD FAILURE 6.3 android