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 LeafMarkdown, reference main (ecec9a), with Swift 6.2 (beta) for Android on 19 Jun 2025 01:52:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/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.2
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-0":/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/vapor-community/markdown.git
Fetching https://github.com/vapor/leaf-kit.git
[1/246] Fetching markdown
[233/5184] Fetching markdown, leaf-kit
Fetched https://github.com/vapor-community/markdown.git from cache (0.50s)
Fetched https://github.com/vapor/leaf-kit.git from cache (0.51s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (0.97s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.32s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (1.73s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.13.1 (0.38s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.77s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (5.61s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[1116/6233] Fetching swift-atomics, swift-system
[3262/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.12s)
Fetched https://github.com/apple/swift-system.git from cache (2.12s)
Fetched https://github.com/apple/swift-collections.git from cache (2.20s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.97s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.77s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.18s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
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
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/leaf-kit.git
Working copy of https://github.com/vapor/leaf-kit.git resolved at 1.13.1
Building for debugging...
[0/62] Compiling cmark xml.c
[1/62] Write swift-version-8C5A4AE7A8CE2BA.txt
[2/62] Compiling cmark tagfilter.c
[3/62] Compiling cmark tasklist.c
[4/62] Compiling cmark strikethrough.c
[5/62] Compiling cmark syntax_extension.c
[6/62] Compiling cmark table.c
[7/62] Compiling cmark plugin.c
[8/62] Compiling cmark registry.c
[9/62] Compiling cmark render.c
[10/62] Compiling cmark references.c
[11/62] Compiling cmark plaintext.c
[12/62] Compiling cmark man.c
[13/62] Compiling cmark map.c
[14/62] Compiling cmark linked_list.c
[15/62] Compiling cmark node.c
[16/62] Compiling cmark latex.c
[17/62] Compiling cmark houdini_html_e.c
[18/62] Compiling cmark iterator.c
[19/62] Compiling cmark houdini_href_e.c
[20/62] Compiling cmark core-extensions.c
[21/62] Compiling cmark html.c
[22/62] Compiling cmark utf8.c
[23/62] Compiling cmark footnotes.c
[24/62] Compiling cmark commonmark.c
[25/62] Compiling cmark cmark_ctype.c
[26/62] Compiling cmark houdini_html_u.c
[27/62] Compiling cmark ext_scanners.c
[27/62] Write sources
[31/62] Compiling cmark buffer.c
[32/62] Compiling cmark cmark.c
[33/62] Compiling _AtomicsShims.c
[34/62] Write sources
[46/62] Compiling cmark arena.c
[47/62] Write sources
[48/62] Compiling cmark inlines.c
[49/68] Compiling cmark blocks.c
[50/68] Compiling cmark autolink.c
[51/68] Compiling CNIOWindows shim.c
[52/68] Compiling CNIOWASI CNIOWASI.c
[53/68] Compiling CNIOWindows WSAStartup.c
[54/73] Compiling CSystem shims.c
[55/82] Compiling CNIOLinux liburing_shims.c
[56/82] Compiling CNIODarwin shim.c
[57/82] Compiling CNIOLinux shim.c
[57/82] Write sources
[59/110] Compiling cmark scanners.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/130] 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 |
[62/130] Emitting module _NIODataStructures
[63/130] Emitting module SystemPackage
[63/133] Compiling c-nioatomics.c
[64/133] Compiling c-atomics.c
[66/139] Compiling _NIODataStructures PriorityQueue.swift
[67/139] Compiling _NIOBase64 Base64.swift
[68/139] Emitting module _NIOBase64
[69/140] Compiling Atomics UnsafeAtomic.swift
[70/140] Compiling Atomics UnsafeAtomicLazyReference.swift
[72/142] Compiling Atomics IntegerOperations.swift
[73/142] Compiling Atomics Unmanaged extensions.swift
[74/142] Compiling SystemPackage Util+StringArray.swift
[75/142] Compiling SystemPackage Util.swift
[76/142] Compiling SystemPackage UtilConsumers.swift
[77/142] 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 |
[78/142] Compiling Atomics AtomicStorage.swift
[79/142] Compiling Atomics AtomicValue.swift
[80/142] Compiling Atomics AtomicMemoryOrderings.swift
[81/142] Compiling Atomics DoubleWord.swift
[82/142] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[83/142] Compiling Atomics AtomicReference.swift
[87/143] Compiling Atomics PointerConformances.swift
[88/143] Compiling Atomics Primitives.native.swift
[89/143] Compiling Atomics AtomicInteger.swift
[90/143] Compiling Atomics AtomicOptionalWrappable.swift
[91/143] Emitting module InternalCollectionsUtilities
[92/143] Compiling Atomics OptionalRawRepresentable.swift
[93/143] Compiling Atomics RawRepresentable.swift
[94/143] Compiling Atomics AtomicBool.swift
[95/143] Compiling Atomics IntegerConformances.swift
[96/143] Compiling Atomics ManagedAtomic.swift
[97/143] Compiling Atomics ManagedAtomicLazyReference.swift
[101/143] Emitting module Atomics
[113/143] Compiling NIOConcurrencyHelpers NIOLock.swift
[117/143] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
BUILD FAILURE 6.2 android