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 3.0.1 (ecec9a), with Swift 6.1 for Android on 28 May 2025 01:11:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 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.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-4609320-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.75s)
Fetched https://github.com/vapor/leaf-kit.git from cache (0.94s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (1.42s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (0.60s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (1.09s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.13.1 (0.50s)
Fetching https://github.com/apple/swift-nio.git
[1/76055] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.08s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (7.26s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
[395/6101] Fetching swift-atomics, swift-system
[5707/22692] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.49s)
Fetched https://github.com/apple/swift-system.git from cache (0.49s)
[4314/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.65s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.29s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.70s)
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/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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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.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
Building for debugging...
[0/62] Write sources
[4/62] Compiling cmark strikethrough.c
[5/62] Compiling cmark syntax_extension.c
[6/62] Compiling cmark tagfilter.c
[7/62] Compiling cmark tasklist.c
[8/62] Compiling cmark table.c
[9/62] Compiling cmark render.c
[10/62] Compiling cmark plugin.c
[11/62] Compiling cmark registry.c
[12/62] Write swift-version-24593BA9C3E375BF.txt
[13/62] Compiling cmark xml.c
[13/62] Compiling cmark references.c
[15/62] Compiling cmark linked_list.c
[16/62] Compiling cmark map.c
[17/62] Compiling cmark plaintext.c
[17/62] Compiling cmark man.c
[19/62] Compiling cmark utf8.c
[20/62] Compiling cmark iterator.c
[21/62] Compiling cmark node.c
[21/62] Compiling cmark latex.c
[23/62] Compiling cmark houdini_html_e.c
[24/62] Compiling cmark houdini_html_u.c
[25/62] Compiling cmark houdini_href_e.c
[26/62] Compiling cmark footnotes.c
[27/62] Compiling cmark core-extensions.c
[28/62] Compiling cmark html.c
[29/62] Compiling cmark commonmark.c
[30/62] Compiling cmark cmark_ctype.c
[31/62] Compiling cmark inlines.c
[32/62] Write sources
[35/62] Compiling cmark ext_scanners.c
[36/62] Compiling cmark cmark.c
[37/62] Compiling cmark buffer.c
[38/62] Write sources
[47/62] Compiling cmark arena.c
[48/62] Compiling _AtomicsShims.c
[49/62] Compiling cmark blocks.c
[50/62] Compiling cmark autolink.c
[51/62] Compiling CNIOWindows shim.c
[52/62] Compiling CNIOWASI CNIOWASI.c
[53/62] Compiling CNIOWindows WSAStartup.c
[54/62] Compiling CSystem shims.c
[55/62] Compiling cmark scanners.c
[56/63] Compiling CNIOLinux liburing_shims.c
[57/64] Compiling CNIODarwin shim.c
[58/69] Compiling CNIOLinux shim.c
[59/69] Write sources
[61/131] Emitting module _NIOBase64
[62/131] Emitting module SystemPackage
[63/134] Compiling _NIODataStructures _TinyArray.swift
[64/134] Compiling SystemPackage MachPort.swift
[65/134] Compiling SystemPackage PlatformString.swift
[66/134] Compiling SystemPackage SystemString.swift
[67/134] Compiling _NIODataStructures PriorityQueue.swift
[68/134] Compiling Atomics UnsafeAtomic.swift
[69/134] Compiling Atomics UnsafeAtomicLazyReference.swift
[70/136] Compiling Atomics ManagedAtomic.swift
[71/136] Compiling Atomics ManagedAtomicLazyReference.swift
[72/136] Compiling Atomics AtomicOptionalWrappable.swift
[73/136] Compiling Atomics AtomicReference.swift
[74/137] Compiling Atomics AtomicMemoryOrderings.swift
[75/137] Compiling Atomics DoubleWord.swift
[76/137] Compiling _NIOBase64 Base64.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[77/137] 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 |
[78/137] Compiling Atomics AtomicStorage.swift
[79/137] Compiling Atomics AtomicValue.swift
[80/137] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[81/138] Compiling Atomics RawRepresentable.swift
[82/138] Compiling Atomics AtomicBool.swift
[83/138] Compiling Atomics Primitives.shims.swift
[84/138] Compiling Atomics AtomicInteger.swift
[85/138] 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 |
[86/138] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[93/138] Emitting module InternalCollectionsUtilities
[94/138] Compiling Atomics Primitives.native.swift
[95/138] Compiling Atomics OptionalRawRepresentable.swift
[96/138] Compiling SystemPackage Util+StringArray.swift
[97/138] Compiling SystemPackage Util.swift
[98/138] Compiling SystemPackage UtilConsumers.swift
[99/138] Compiling Atomics IntegerConformances.swift
[100/138] Compiling Atomics PointerConformances.swift
[101/138] Emitting module Atomics
[102/138] Compiling c-atomics.c
[102/138] Compiling c-nioatomics.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[2/72] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/73] 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 |
[4/73] 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 |
[5/73] Compiling InternalCollectionsUtilities Descriptions.swift
[6/73] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[6/73] Compiling c-atomics.c
[6/73] Compiling c-nioatomics.c
BUILD FAILURE 6.1 android