The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GFMarkdown, reference 1.0.4 (524ddd), with Swift 6.3 for Android on 15 Apr 2026 03:30:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftysites/gfmarkdown.git
Reference: 1.0.4
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/swiftysites/gfmarkdown
 * tag               1.0.4      -> FETCH_HEAD
HEAD is now at 524dddb Swift 6 update
Cloned https://github.com/swiftysites/gfmarkdown.git
Revision (git rev-parse @):
524dddb3d19356a463a1507fcf36fef882f9fe89
SUCCESS checkout https://github.com/swiftysites/gfmarkdown.git at 1.0.4
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/swiftysites/gfmarkdown.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-cmark.git
[1/18374] Fetching swift-cmark
Fetched https://github.com/apple/swift-cmark.git from cache (1.08s)
Computing version for https://github.com/apple/swift-cmark.git
Computed https://github.com/apple/swift-cmark.git at 0.7.1 (3.68s)
Creating working copy for https://github.com/apple/swift-cmark.git
Working copy of https://github.com/apple/swift-cmark.git resolved at 0.7.1
Building for debugging...
[0/3] Write sources
[1/3] Compiling CMarkGFMPlus cmark_gfm_markdown_to_html.c
[2/3] Write swift-version--4F562202D5529B1.txt
[4/8] Compiling GFMarkdown Markdown.swift
[5/8] Compiling GFMarkdown CMarkOption.swift
[6/8] Compiling GFMarkdown GFMExtension.swift
[7/8] Emitting module GFMarkdown
[8/8] Compiling GFMarkdown MarkdownString.swift
/host/spi-builder-workspace/Sources/GFMarkdown/MarkdownString.swift:50:43: error: cannot find 'strdup' in scope
48 |
49 |         // Create [UnsafeMutablePointer<Int8>]:
50 |         var extensions = extensions.map { strdup($0.rawValue) }
   |                                           `- error: cannot find 'strdup' in scope
51 |
52 |         let outString = cmark_gfm_markdown_to_html(markdown, markdown.utf8.count, options.code, &extensions, Int32(extensions.count))!
/host/spi-builder-workspace/Sources/GFMarkdown/MarkdownString.swift:55:48: error: cannot find 'free' in scope
53 |
54 |         // Free the duplicated strings:
55 |         extensions.compactMap { $0 }.forEach { free($0) }
   |                                                `- error: cannot find 'free' in scope
56 |
57 |         defer { free(outString) }
/host/spi-builder-workspace/Sources/GFMarkdown/MarkdownString.swift:57:17: error: cannot find 'free' in scope
55 |         extensions.compactMap { $0 }.forEach { free($0) }
56 |
57 |         defer { free(outString) }
   |                 `- error: cannot find 'free' in scope
58 |         return String(cString: outString)
59 |     }
BUILD FAILURE 6.3 android