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 SwiftMarkdown, reference main (aee5f0), with Swift 6.1 for Android on 28 May 2025 02:29:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/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.1
Building package at path:  $PWD
https://github.com/vapor-community/markdown.git
https://github.com/vapor-community/markdown.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "cmark-gfm",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/brokenhandsio/cmark-gfm.git"
    }
  ],
  "manifest_display_name" : "SwiftMarkdown",
  "name" : "SwiftMarkdown",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftMarkdown",
      "targets" : [
        "SwiftMarkdown"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftMarkdownTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftMarkdownTests",
      "path" : "Tests/SwiftMarkdownTests",
      "sources" : [
        "SwiftMarkdownTests.swift"
      ],
      "target_dependencies" : [
        "SwiftMarkdown"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftMarkdown",
      "module_type" : "SwiftTarget",
      "name" : "SwiftMarkdown",
      "path" : "Sources/SwiftMarkdown",
      "product_dependencies" : [
        "cmark"
      ],
      "product_memberships" : [
        "SwiftMarkdown"
      ],
      "sources" : [
        "SwiftMarkdown.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.51s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (2.12s)
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 cmark.c
[2/36] Compiling cmark buffer.c
[3/36] Compiling cmark houdini_html_e.c
[4/36] Compiling cmark xml.c
[5/36] Compiling cmark arena.c
[6/36] Compiling cmark blocks.c
[7/36] Compiling cmark tasklist.c
[8/36] Compiling cmark syntax_extension.c
[9/36] Compiling cmark tagfilter.c
[10/36] Compiling cmark table.c
[11/36] Compiling cmark strikethrough.c
[12/36] Compiling cmark render.c
[13/36] Compiling cmark registry.c
[14/36] Compiling cmark plugin.c
[15/36] Compiling cmark references.c
[16/36] Compiling cmark autolink.c
[17/36] Write swift-version-24593BA9C3E375BF.txt
[18/36] Compiling cmark utf8.c
[19/36] Compiling cmark map.c
[20/36] Compiling cmark plaintext.c
[21/36] Compiling cmark node.c
[22/36] Compiling cmark man.c
[23/36] Compiling cmark linked_list.c
[24/36] Compiling cmark iterator.c
[25/36] Compiling cmark houdini_href_e.c
[26/36] Compiling cmark latex.c
[27/36] Compiling cmark html.c
[28/36] Write sources
[29/36] Compiling cmark core-extensions.c
[30/36] Compiling cmark houdini_html_u.c
[31/36] Compiling cmark footnotes.c
[32/36] Compiling cmark inlines.c
[33/36] Compiling cmark ext_scanners.c
[34/36] Compiling cmark commonmark.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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] 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 |
[3/3] 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.1 android