Build Information
Failed to build LeafMarkdown, reference main (ecec9a), with Swift 6.3 for Android on 12 Apr 2026 10:31:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: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/vapor-community/leaf-markdown.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/vapor-community/leaf-markdown
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ecec9a9 Update for UnsafeUnescapedLeafTag
Cloned https://github.com/vapor-community/leaf-markdown.git
Revision (git rev-parse @):
ecec9a93102139609aa5a84c51990fc305fbc1d6
SUCCESS checkout https://github.com/vapor-community/leaf-markdown.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/vapor-community/leaf-markdown.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: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/vapor-community/markdown.git
Fetching https://github.com/vapor/leaf-kit.git
[1/245] Fetching markdown
[246/5275] Fetching markdown, leaf-kit
Fetched https://github.com/vapor-community/markdown.git from cache (0.69s)
Fetched https://github.com/vapor/leaf-kit.git from cache (0.69s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (1.47s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.27s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (2.07s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.14.2 (0.70s)
Fetching https://github.com/apple/swift-nio.git
[1/83106] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.68s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (9.76s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[693/7421] Fetching swift-atomics, swift-system
[1142/30946] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.86s)
Fetched https://github.com/apple/swift-system.git from cache (0.86s)
[1882/23525] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.36s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.81s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.05s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/vapor-community/markdown.git
Working copy of https://github.com/vapor-community/markdown.git resolved at 0.7.1
Creating working copy for https://github.com/vapor/leaf-kit.git
Working copy of https://github.com/vapor/leaf-kit.git resolved at 1.14.2
Creating working copy for https://github.com/brokenhandsio/cmark-gfm.git
Working copy of https://github.com/brokenhandsio/cmark-gfm.git resolved at 2.1.0
Building for debugging...
[0/65] Write sources
[4/65] Compiling cmark tasklist.c
[5/65] Compiling cmark syntax_extension.c
[6/65] Compiling cmark xml.c
[7/65] Compiling cmark tagfilter.c
[8/65] Compiling cmark strikethrough.c
[9/65] Write swift-version--4F562202D5529B1.txt
[10/65] Compiling cmark table.c
[11/65] Compiling cmark render.c
[12/65] Compiling cmark registry.c
[13/65] Compiling cmark plugin.c
[14/65] Compiling cmark references.c
[15/65] Compiling cmark plaintext.c
[16/65] Compiling cmark scanners.c
[17/65] Compiling cmark linked_list.c
[18/65] Compiling cmark map.c
[19/65] Compiling cmark node.c
[20/65] Compiling cmark man.c
[21/65] Compiling cmark iterator.c
[21/65] Compiling cmark latex.c
[23/65] Compiling cmark inlines.c
[24/65] Compiling cmark utf8.c
[25/65] Compiling cmark houdini_href_e.c
[26/65] Compiling cmark houdini_html_e.c
[27/65] Compiling cmark cmark_ctype.c
[28/65] Compiling cmark core-extensions.c
[29/65] Compiling cmark html.c
[30/65] Compiling cmark footnotes.c
[31/65] Compiling cmark buffer.c
[32/65] Write sources
[33/65] Compiling cmark houdini_html_u.c
[34/65] Write sources
[36/65] Compiling cmark ext_scanners.c
[37/65] Compiling cmark commonmark.c
[38/65] Write sources
[39/65] Compiling cmark cmark.c
[39/65] Compiling cmark arena.c
[41/65] Write sources
[46/65] Compiling cmark autolink.c
[47/65] Write sources
[51/65] Compiling _AtomicsShims.c
[52/68] Compiling CNIOWindows shim.c
[53/69] Compiling CNIOWindows WSAStartup.c
[54/71] Compiling CNIOWASI CNIOWASI.c
[55/71] Compiling cmark blocks.c
[56/71] Compiling CNIOPosix event_loop_id.c
[57/71] Compiling CNIOOpenBSD shim.c
[58/71] Compiling CSystem shims.c
[59/71] Compiling CNIOLinux liburing_shims.c
[60/71] Compiling CNIODarwin shim.c
[61/80] Compiling CNIOLinux shim.c
[62/82] Write sources
[64/140] Emitting module InternalCollectionsUtilities
[65/142] Emitting module SystemPackage
[66/146] Emitting module Atomics
[66/148] Compiling c-nioatomics.c
[67/148] Compiling c-atomics.c
[69/155] Compiling Atomics IntegerOperations.swift
[70/155] Compiling Atomics Unmanaged extensions.swift
[71/155] Compiling Atomics AtomicInteger.swift
[72/155] Compiling Atomics AtomicOptionalWrappable.swift
[73/155] Compiling Atomics AtomicReference.swift
[76/155] Compiling Atomics PointerConformances.swift
[77/155] Compiling Atomics Primitives.native.swift
[78/155] Compiling Atomics ManagedAtomic.swift
[79/155] Compiling Atomics ManagedAtomicLazyReference.swift
[80/155] Compiling Atomics AtomicStorage.swift
[81/155] Compiling Atomics AtomicValue.swift
[82/155] Compiling Atomics OptionalRawRepresentable.swift
[83/155] Compiling Atomics RawRepresentable.swift
[84/155] Compiling Atomics AtomicBool.swift
[88/155] Compiling Atomics AtomicMemoryOrderings.swift
[89/155] Compiling Atomics DoubleWord.swift
[92/155] Compiling Atomics UnsafeAtomic.swift
[93/155] Compiling Atomics UnsafeAtomicLazyReference.swift
[94/155] Compiling Atomics IntegerConformances.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[99/156] Emitting module SwiftMarkdown
/host/spi-builder-workspace/.build/checkouts/markdown/Sources/SwiftMarkdown/SwiftMarkdown.swift:3:8: error: no such module 'Glibc'
1 | import cmark
2 | #if os(Android) || os(Linux)
3 | import Glibc
| `- error: no such module 'Glibc'
4 | #endif
5 |
[100/156] Compiling SwiftMarkdown SwiftMarkdown.swift
/host/spi-builder-workspace/.build/checkouts/markdown/Sources/SwiftMarkdown/SwiftMarkdown.swift:3:8: error: no such module 'Glibc'
1 | import cmark
2 | #if os(Android) || os(Linux)
3 | import Glibc
| `- error: no such module 'Glibc'
4 | #endif
5 |
[106/156] Emitting module _NIOBase64
[108/156] Compiling SystemPackage FilePermissions.swift
[109/156] Compiling SystemPackage IOCompletion.swift
[110/156] Compiling SystemPackage IORequest.swift
[111/156] Compiling SystemPackage SystemString.swift
[112/156] Compiling SystemPackage Util+StringArray.swift
[113/156] Compiling SystemPackage Util.swift
[114/156] Compiling SystemPackage UtilConsumers.swift
[119/156] Compiling _NIODataStructures PriorityQueue.swift
BUILD FAILURE 6.3 android