The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftPygmentsPublishPlugin, reference master (4ed27a), with Swift 6.2 (beta) for Android on 19 Jun 2025 17:06:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/Ze0nC/SwiftPygmentsPublishPlugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/Ze0nC/SwiftPygments
[1/37] Fetching swiftpygments
Fetched https://github.com/Ze0nC/SwiftPygments from cache (0.23s)
Fetching https://github.com/pvieito/PythonKit.git
[1/1643] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.29s)
Fetching https://github.com/johnsundell/publish.git
[1/2890] Fetching publish
Fetched https://github.com/johnsundell/publish.git from cache (0.30s)
Computing version for https://github.com/johnsundell/publish.git
Computed https://github.com/johnsundell/publish.git at 0.9.0 (0.69s)
Fetching https://github.com/johnsundell/plot.git
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git
Fetching https://github.com/johnsundell/files.git
Fetching https://github.com/johnsundell/sweep.git
Fetching https://github.com/johnsundell/codextended.git
Fetching https://github.com/johnsundell/shellout.git
[1/1248] Fetching files
[1249/1348] Fetching files, collectionconcurrencykit
[1349/3444] Fetching files, collectionconcurrencykit, plot
[2251/4424] Fetching files, collectionconcurrencykit, plot, shellout
[2252/4540] Fetching files, collectionconcurrencykit, plot, shellout, sweep
[4541/4721] Fetching files, collectionconcurrencykit, plot, shellout, sweep, codextended
Fetched https://github.com/johnsundell/codextended.git from cache (0.32s)
Fetched https://github.com/johnsundell/sweep.git from cache (0.32s)
Fetched https://github.com/johnsundell/shellout.git from cache (0.32s)
Fetched https://github.com/johnsundell/files.git from cache (0.33s)
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (0.33s)
Fetched https://github.com/johnsundell/plot.git from cache (0.33s)
Fetching https://github.com/johnsundell/ink.git
[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.02s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (6.53s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.2.0 (1.68s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.44s)
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.43s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.14.0 (0.42s)
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/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 (d5ba1b3)
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/sweep.git
Working copy of https://github.com/johnsundell/sweep.git resolved at 0.4.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/collectionConcurrencyKit.git
Working copy of https://github.com/johnsundell/collectionConcurrencyKit.git resolved at 0.2.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/Ze0nC/SwiftPygments
Working copy of https://github.com/Ze0nC/SwiftPygments resolved at master (c22bcfc)
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-8C5A4AE7A8CE2BA.txt
[13/118] Emitting module ShellOut
[14/118] Emitting module Sweep
[15/118] Emitting module Ink
[16/122] 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 | }
[17/122] Compiling Ink TextStyle.swift
[18/122] Compiling Ink TextStyleMarker.swift
[19/122] Compiling Ink URL.swift
[20/122] Compiling Ink URLDeclaration.swift
[21/122] Compiling Ink HTMLConvertible.swift
[22/122] Compiling Ink Hashable+AnyOf.swift
[23/122] Compiling Ink Heading.swift
[24/122] Compiling Ink HorizontalLine.swift
[25/122] Compiling Ink NamedURLCollection.swift
[26/122] Compiling Ink Paragraph.swift
[27/122] Compiling Ink PlainTextConvertible.swift
[28/122] Compiling Ink Readable.swift
[29/122] Compiling Ink Image.swift
[30/122] Compiling Ink InlineCode.swift
[31/122] Compiling Ink KeyPathPatterns.swift
[32/122] Compiling Ink Link.swift
[33/122] Compiling PythonKit PythonLibrary+Symbols.swift
[34/122] Compiling Ink Markdown.swift
[35/122] Compiling Ink MarkdownParser.swift
[36/122] Compiling Ink Modifier.swift
[37/122] Compiling Ink Blockquote.swift
[38/122] Compiling Ink Character+Classification.swift
[39/122] Compiling Ink Character+Escaping.swift
[40/122] Compiling Ink CodeBlock.swift
[41/122] Compiling Ink FormattedText.swift
[42/122] Compiling Ink Fragment.swift
[43/122] Compiling Ink HTML.swift
[44/122] Emitting module CollectionConcurrencyKit
[45/122] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
[47/123] Compiling PythonKit NumpyConversion.swift
[48/123] Compiling PythonKit Python.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/123] 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/123] Emitting module Codextended
[51/123] Emitting module Files
BUILD FAILURE 6.2 android