Build Information
Failed to build SwiftMarkdown, reference main (aee5f0
), with Swift 6.2 (beta) for Android on 19 Jun 2025 04:48:59 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.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/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/markdown
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at aee5f05 Use the modern CI (#16)
Cloned https://github.com/vapor-community/markdown.git
Revision (git rev-parse @):
aee5f0590bb3114298e579192b678d18ab8f4b76
SUCCESS checkout https://github.com/vapor-community/markdown.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/vapor-community/markdown.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (0.81s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (1.67s)
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/36] Compiling cmark cmark_ctype.c
[1/36] Compiling cmark arena.c
[2/36] Compiling cmark xml.c
[3/36] Compiling cmark buffer.c
[4/36] Compiling cmark cmark.c
[5/36] Compiling cmark autolink.c
[6/36] Write swift-version-8C5A4AE7A8CE2BA.txt
[7/36] Compiling cmark tasklist.c
[8/36] Compiling cmark tagfilter.c
[9/36] Compiling cmark syntax_extension.c
[10/36] Compiling cmark strikethrough.c
[11/36] Compiling cmark registry.c
[12/36] Compiling cmark render.c
[13/36] Compiling cmark references.c
[14/36] Compiling cmark plugin.c
[15/36] Compiling cmark table.c
[16/36] Compiling cmark map.c
[17/36] Compiling cmark plaintext.c
[18/36] Compiling cmark linked_list.c
[19/36] Compiling cmark man.c
[20/36] Compiling cmark utf8.c
[21/36] Compiling cmark node.c
[22/36] Compiling cmark latex.c
[23/36] Compiling cmark houdini_html_e.c
[24/36] Compiling cmark iterator.c
[25/36] Compiling cmark houdini_href_e.c
[26/36] Compiling cmark html.c
[27/36] Compiling cmark core-extensions.c
[28/36] Write sources
[29/36] Compiling cmark footnotes.c
[30/36] Compiling cmark houdini_html_u.c
[31/36] Compiling cmark ext_scanners.c
[32/36] Compiling cmark inlines.c
[33/36] Compiling cmark commonmark.c
[34/36] Compiling cmark blocks.c
[35/36] Compiling cmark scanners.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/38] Emitting module SwiftMarkdown
/host/spi-builder-workspace/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 |
[38/38] Compiling SwiftMarkdown SwiftMarkdown.swift
/host/spi-builder-workspace/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 |
BUILD FAILURE 6.2 android