Build Information
Failed to build LeafMarkdown, reference 3.0.1 (ecec9a
), with Swift 6.2 (beta) for Android on 19 Jun 2025 01:52:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/vapor-community/leaf-markdown.git
Reference: 3.0.1
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
* tag 3.0.1 -> FETCH_HEAD
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 3.0.1
========================================
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-4606859-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/vapor/leaf-kit.git
Fetching https://github.com/vapor-community/markdown.git
[1/246] Fetching markdown
[247/5184] Fetching markdown, leaf-kit
Fetched https://github.com/vapor-community/markdown.git from cache (0.52s)
Fetched https://github.com/vapor/leaf-kit.git from cache (0.52s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (1.15s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (0.95s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (1.54s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.13.1 (0.54s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.71s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (7.05s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[1619/6233] Fetching swift-atomics, swift-system
[3440/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.49s)
Fetched https://github.com/apple/swift-system.git from cache (1.49s)
Fetched https://github.com/apple/swift-collections.git from cache (1.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.99s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.72s)
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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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/vapor/leaf-kit.git
Working copy of https://github.com/vapor/leaf-kit.git resolved at 1.13.1
Building for debugging...
[0/62] Write sources
[3/62] Compiling cmark tagfilter.c
[4/62] Compiling cmark tasklist.c
[5/62] Compiling cmark syntax_extension.c
[6/62] Compiling cmark render.c
[7/62] Compiling cmark strikethrough.c
[8/62] Write swift-version-8C5A4AE7A8CE2BA.txt
[9/62] Compiling cmark xml.c
[10/62] Compiling cmark table.c
[10/62] Compiling cmark registry.c
[12/62] Compiling cmark references.c
[13/62] Compiling cmark plugin.c
[14/62] Compiling cmark plaintext.c
[14/62] Compiling cmark utf8.c
[16/62] Compiling cmark linked_list.c
[17/62] Compiling cmark latex.c
[18/62] Compiling cmark map.c
[19/62] Compiling cmark iterator.c
[20/62] Compiling cmark man.c
[21/62] Compiling cmark node.c
[22/62] Compiling cmark houdini_html_e.c
[23/62] Compiling cmark houdini_href_e.c
[24/62] Compiling cmark html.c
[25/62] Compiling cmark footnotes.c
[26/62] Compiling cmark inlines.c
[27/62] Compiling cmark houdini_html_u.c
[28/62] Compiling cmark core-extensions.c
[29/62] Compiling cmark cmark_ctype.c
[29/62] Compiling cmark cmark.c
[31/62] Write sources
[33/62] Compiling cmark ext_scanners.c
[34/62] Compiling cmark commonmark.c
[35/62] Compiling cmark buffer.c
[35/62] Write sources
[47/62] Compiling cmark arena.c
[48/65] Compiling cmark autolink.c
[49/66] Compiling _AtomicsShims.c
[50/66] Compiling cmark blocks.c
[51/68] Compiling CNIOWindows shim.c
[52/69] Compiling CNIOWindows WSAStartup.c
[53/75] Compiling CSystem shims.c
[54/82] Compiling CNIOWASI CNIOWASI.c
[55/82] Compiling cmark scanners.c
[56/82] Compiling CNIOLinux liburing_shims.c
[57/82] Compiling CNIODarwin shim.c
[58/110] Compiling CNIOLinux shim.c
[59/110] Write sources
[60/130] Compiling c-nioatomics.c
[62/130] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[63/131] Compiling Atomics AtomicInteger.swift
[64/131] Compiling Atomics AtomicOptionalWrappable.swift
[65/131] Emitting module _NIOBase64
[66/131] Compiling _NIOBase64 Base64.swift
[67/132] Compiling Atomics PointerConformances.swift
[68/132] Compiling Atomics Primitives.native.swift
[69/132] Emitting module InternalCollectionsUtilities
error: emit-module command failed with exit code 1 (use -v to see invocation)
[70/132] 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 |
[71/132] 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 |
[73/132] Compiling Atomics OptionalRawRepresentable.swift
[74/132] Compiling Atomics RawRepresentable.swift
[74/132] Compiling c-atomics.c
[75/132] Emitting module Atomics
BUILD FAILURE 6.2 android