Build Information
Failed to build SagaPythonMarkdownReader, reference 1.0.0 (f69e17
), with Swift 6.1 for Android on 30 May 2025 09:44:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwerk/SagaPythonMarkdownReader.git
Reference: 1.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/loopwerk/SagaPythonMarkdownReader
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at f69e178 Migrate to Saga 2.0.0
Cloned https://github.com/loopwerk/SagaPythonMarkdownReader.git
Revision (git rev-parse @):
f69e17872cb3ec7f1606a6db2c005fa44085ae3a
SUCCESS checkout https://github.com/loopwerk/SagaPythonMarkdownReader.git at 1.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/loopwerk/SagaPythonMarkdownReader.git
https://github.com/loopwerk/SagaPythonMarkdownReader.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "saga",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/loopwerk/Saga.git"
},
{
"identity" : "swiftmarkdown",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/loopwerk/SwiftMarkdown"
}
],
"manifest_display_name" : "SagaPythonMarkdownReader",
"name" : "SagaPythonMarkdownReader",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SagaPythonMarkdownReader",
"targets" : [
"SagaPythonMarkdownReader"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SagaPythonMarkdownReaderTests",
"module_type" : "SwiftTarget",
"name" : "SagaPythonMarkdownReaderTests",
"path" : "Tests/SagaPythonMarkdownReaderTests",
"sources" : [
"SagaPythonMarkdownReaderTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SagaPythonMarkdownReader"
],
"type" : "test"
},
{
"c99name" : "SagaPythonMarkdownReader",
"module_type" : "SwiftTarget",
"name" : "SagaPythonMarkdownReader",
"path" : "Sources/SagaPythonMarkdownReader",
"product_dependencies" : [
"Saga",
"SwiftMarkdown"
],
"product_memberships" : [
"SagaPythonMarkdownReader"
],
"sources" : [
"SagaPythonMarkdownReader.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/loopwerk/Saga.git
Fetching https://github.com/loopwerk/SwiftMarkdown
[1/63] Fetching swiftmarkdown
[64/2964] Fetching swiftmarkdown, saga
Fetched https://github.com/loopwerk/SwiftMarkdown from cache (0.25s)
[349/2901] Fetching saga
Fetched https://github.com/loopwerk/Saga.git from cache (0.42s)
Computing version for https://github.com/loopwerk/SwiftMarkdown
Computed https://github.com/loopwerk/SwiftMarkdown at 0.4.0 (1.20s)
Fetching https://github.com/pvieito/PythonKit.git
[1/1643] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.34s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 2.2.0 (1.03s)
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (0.33s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (3.47s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.34s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.55s)
Computing version for https://github.com/pvieito/PythonKit.git
Computed https://github.com/pvieito/PythonKit.git at 0.5.1 (0.99s)
Creating working copy for https://github.com/loopwerk/Saga.git
Working copy of https://github.com/loopwerk/Saga.git resolved at 2.2.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/loopwerk/SwiftMarkdown
Working copy of https://github.com/loopwerk/SwiftMarkdown resolved at 0.4.0
Creating working copy for https://github.com/pvieito/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at 0.5.1
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/13] Compiling PythonKit PythonLibrary+Symbols.swift
[8/13] 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 | #endif
209 |
/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 | #endif
209 |
/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 | #endif
209 |
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:287:33: error: cannot find 'getenv' in scope
285 |
286 | var value: String? {
287 | guard let cString = getenv(key) else { return nil }
| `- error: cannot find 'getenv' in scope
288 | let value = String(cString: cString)
289 | guard !value.isEmpty else { return nil }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:297:13: error: cannot find 'setenv' in scope
295 | _putenv_s(key, value)
296 | #else
297 | setenv(key, value, 1)
| `- error: cannot find 'setenv' in scope
298 | #endif
299 | }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:307:9: error: cannot find 'fputs' in scope
305 | private static func log(_ message: String) {
306 | guard Environment.loaderLogging.value != nil else { return }
307 | fputs(message + "\n", stderr)
| `- error: cannot find 'fputs' in scope
308 | }
309 | }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:307:31: error: cannot find 'stderr' in scope
305 | private static func log(_ message: String) {
306 | guard Environment.loaderLogging.value != nil else { return }
307 | fputs(message + "\n", stderr)
| `- error: cannot find 'stderr' in scope
308 | }
309 | }
[9/13] Compiling PythonKit Python.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/13] Compiling PythonKit NumpyConversion.swift
[11/13] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/13] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] 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 | #endif
209 |
/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 | #endif
209 |
/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 | #endif
209 |
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:287:33: error: cannot find 'getenv' in scope
285 |
286 | var value: String? {
287 | guard let cString = getenv(key) else { return nil }
| `- error: cannot find 'getenv' in scope
288 | let value = String(cString: cString)
289 | guard !value.isEmpty else { return nil }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:297:13: error: cannot find 'setenv' in scope
295 | _putenv_s(key, value)
296 | #else
297 | setenv(key, value, 1)
| `- error: cannot find 'setenv' in scope
298 | #endif
299 | }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:307:9: error: cannot find 'fputs' in scope
305 | private static func log(_ message: String) {
306 | guard Environment.loaderLogging.value != nil else { return }
307 | fputs(message + "\n", stderr)
| `- error: cannot find 'fputs' in scope
308 | }
309 | }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:307:31: error: cannot find 'stderr' in scope
305 | private static func log(_ message: String) {
306 | guard Environment.loaderLogging.value != nil else { return }
307 | fputs(message + "\n", stderr)
| `- error: cannot find 'stderr' in scope
308 | }
309 | }
[3/8] Compiling PythonKit PythonLibrary+Symbols.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] 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
[5/8] Compiling PythonKit NumpyConversion.swift
[6/8] Compiling PythonKit Python.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
BUILD FAILURE 6.1 android