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.1 for Android on 28 May 2025 01:11:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/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.1
Building package at path:  $PWD
https://github.com/vapor-community/leaf-markdown.git
https://github.com/vapor-community/leaf-markdown.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "markdown",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor-community/markdown.git"
    },
    {
      "identity" : "leaf-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/leaf-kit.git"
    }
  ],
  "manifest_display_name" : "LeafMarkdown",
  "name" : "LeafMarkdown",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "LeafMarkdown",
      "targets" : [
        "LeafMarkdown"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LeafMarkdownTests",
      "module_type" : "SwiftTarget",
      "name" : "LeafMarkdownTests",
      "path" : "Tests/LeafMarkdownTests",
      "product_dependencies" : [
        "LeafKit"
      ],
      "sources" : [
        "LeafTests.swift"
      ],
      "target_dependencies" : [
        "LeafMarkdown"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LeafMarkdown",
      "module_type" : "SwiftTarget",
      "name" : "LeafMarkdown",
      "path" : "Sources/LeafMarkdown",
      "product_dependencies" : [
        "LeafKit",
        "SwiftMarkdown"
      ],
      "product_memberships" : [
        "LeafMarkdown"
      ],
      "sources" : [
        "Tag.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/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.46s)
Fetched https://github.com/vapor/leaf-kit.git from cache (0.46s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (1.45s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.17s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (2.19s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.13.1 (0.55s)
Fetching https://github.com/apple/swift-nio.git
[1/76055] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.68s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (6.54s)
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/4391] Fetching swift-system
[1758/6101] Fetching swift-system, swift-atomics
[6102/22692] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.35s)
Fetched https://github.com/apple/swift-system.git from cache (1.35s)
Fetched https://github.com/apple/swift-collections.git from cache (1.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.94s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.71s)
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.4.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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
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
Building for debugging...
[0/62] Write sources
[6/62] Compiling cmark arena.c
[7/62] Compiling cmark xml.c
[8/62] Compiling cmark iterator.c
[9/62] Compiling cmark tagfilter.c
[10/62] Compiling cmark tasklist.c
[11/62] Compiling cmark syntax_extension.c
[12/62] Compiling cmark strikethrough.c
[13/62] Compiling cmark references.c
[14/62] Compiling cmark plugin.c
[15/62] Compiling cmark registry.c
[16/62] Compiling cmark utf8.c
[17/62] Compiling cmark render.c
[18/62] Compiling cmark plaintext.c
[18/62] Compiling cmark table.c
[20/62] Compiling cmark linked_list.c
[21/62] Compiling cmark node.c
[22/62] Compiling cmark man.c
[23/62] Write swift-version-24593BA9C3E375BF.txt
[24/62] Compiling cmark map.c
[25/62] Compiling cmark html.c
[26/62] Compiling cmark latex.c
[27/62] Compiling cmark footnotes.c
[28/62] Compiling cmark houdini_html_e.c
[29/62] Compiling cmark houdini_href_e.c
[30/62] Compiling cmark scanners.c
[31/62] Compiling cmark core-extensions.c
[32/62] Compiling cmark houdini_html_u.c
[32/62] Compiling cmark ext_scanners.c
[32/62] Write sources
[36/62] Compiling cmark inlines.c
[37/62] Compiling cmark cmark_ctype.c
[37/62] Compiling cmark commonmark.c
[39/62] Write sources
[47/62] Compiling cmark cmark.c
[48/62] Compiling _AtomicsShims.c
[49/62] Compiling cmark buffer.c
[50/62] Compiling CNIOWindows WSAStartup.c
[51/62] Compiling CNIOWindows shim.c
[52/62] Compiling CSystem shims.c
[53/82] Compiling cmark blocks.c
[54/82] Compiling cmark autolink.c
[55/82] Compiling CNIOLinux liburing_shims.c
[56/82] Compiling CNIOLinux shim.c
[57/82] Compiling CNIOWASI CNIOWASI.c
[58/82] Compiling CNIODarwin shim.c
[58/82] Write sources
[61/122] Emitting module _NIOBase64
[62/131] Emitting module SystemPackage
[63/134] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[64/135] Emitting module InternalCollectionsUtilities
[65/135] Compiling Atomics PointerConformances.swift
[66/135] Compiling Atomics Primitives.native.swift
[67/135] Compiling Atomics Primitives.shims.swift
[68/135] Compiling Atomics AtomicInteger.swift
[71/135] Compiling Atomics AtomicOptionalWrappable.swift
[72/137] Compiling _NIODataStructures Heap.swift
[73/137] Compiling Atomics ManagedAtomic.swift
[74/137] Compiling Atomics ManagedAtomicLazyReference.swift
[75/137] Compiling Atomics UnsafeAtomic.swift
[76/137] Compiling Atomics UnsafeAtomicLazyReference.swift
[77/137] Emitting module Atomics
[78/137] Compiling Atomics OptionalRawRepresentable.swift
[79/137] Compiling Atomics RawRepresentable.swift
[80/137] Compiling Atomics AtomicBool.swift
[82/137] Compiling Atomics AtomicReference.swift
[83/137] Compiling Atomics AtomicStorage.swift
[84/137] Compiling Atomics AtomicValue.swift
[88/137] Compiling Atomics AtomicMemoryOrderings.swift
[89/137] Compiling Atomics DoubleWord.swift
[90/137] Compiling _NIODataStructures PriorityQueue.swift
[91/137] Emitting module _NIODataStructures
[92/137] Compiling _NIODataStructures _TinyArray.swift
[93/137] Compiling _NIOBase64 Base64.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[100/139] 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 |
[101/139] 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 |
[107/139] Compiling Atomics IntegerConformances.swift
[107/139] Compiling c-nioatomics.c
[107/139] Compiling c-atomics.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/72] 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 |
[3/72] 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 |
[3/72] Compiling c-nioatomics.c
[3/72] Compiling c-atomics.c
BUILD FAILURE 6.1 android