The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftMarkup with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftDocOrg/SwiftMarkup.git
Reference: 0.3.0
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/SwiftDocOrg/SwiftMarkup
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at bc71bde Bump version to 0.3.0
Cloned https://github.com/SwiftDocOrg/SwiftMarkup.git
Revision (git rev-parse @):
bc71bde93b5217833c8ed13d5cf1e0c60f1367a7
SUCCESS checkout https://github.com/SwiftDocOrg/SwiftMarkup.git at 0.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/SwiftDocOrg/SwiftMarkup.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/SwiftDocOrg/CommonMark.git
Fetching https://github.com/SwiftDocOrg/swift-cmark.git
[1/1175] Fetching commonmark
[1176/13730] Fetching commonmark, swift-cmark
Fetched https://github.com/SwiftDocOrg/CommonMark.git from cache (0.71s)
Computing version for https://github.com/SwiftDocOrg/CommonMark.git
Fetched https://github.com/SwiftDocOrg/swift-cmark.git from cache (0.72s)
Computed https://github.com/SwiftDocOrg/CommonMark.git at 0.5.0 (0.46s)
Computing version for https://github.com/SwiftDocOrg/swift-cmark.git
Computed https://github.com/SwiftDocOrg/swift-cmark.git at 0.29.0+20210102.9c8096a (1.30s)
Creating working copy for https://github.com/SwiftDocOrg/swift-cmark.git
Working copy of https://github.com/SwiftDocOrg/swift-cmark.git resolved at 0.29.0+20210102.9c8096a
Creating working copy for https://github.com/SwiftDocOrg/CommonMark.git
Working copy of https://github.com/SwiftDocOrg/CommonMark.git resolved at 0.5.0
Building for debugging...
[0/22] Compiling cmark cmark_ctype.c
[1/22] Compiling cmark cmark.c
[2/22] Compiling cmark iterator.c
[3/22] Compiling cmark commonmark.c
[4/22] Compiling cmark latex.c
[5/22] Compiling cmark xml.c
[6/22] Compiling cmark inlines.c
[7/22] Compiling cmark buffer.c
[7/22] Compiling cmark render.c
[7/22] Write swift-version-24593BA9C3E375BF.txt
[10/22] Compiling cmark references.c
[11/22] Compiling cmark man.c
[12/22] Compiling cmark node.c
[13/22] Write sources
[15/22] Compiling cmark html.c
[16/22] Compiling cmark houdini_html_e.c
[17/22] Compiling cmark houdini_href_e.c
[18/22] Compiling cmark houdini_html_u.c
[19/22] Compiling cmark utf8.c
[20/22] Compiling cmark blocks.c
[21/22] Compiling cmark scanners.c
[23/47] Emitting module CommonMark
[24/50] Compiling CommonMark Link.swift
[25/50] Compiling CommonMark RawHTML.swift
[26/50] Compiling CommonMark SoftLineBreak.swift
[27/50] Compiling CommonMark Visitable.swift
[28/50] Compiling CommonMark Visitor.swift
[29/50] Compiling CommonMark Version.swift
[30/50] Compiling CommonMark BlockQuote.swift
[31/50] Compiling CommonMark CodeBlock.swift
[32/50] Compiling CommonMark HTMLBlock.swift
[33/50] Compiling CommonMark Heading.swift
[34/50] Compiling CommonMark Code.swift
[35/50] Compiling CommonMark Emphasis.swift
[36/50] Compiling CommonMark HardLineBreak.swift
[37/50] Compiling CommonMark Image.swift
[38/50] Compiling CommonMark LineBreak.swift
[39/50] Compiling CommonMark Linked.swift
[40/50] Compiling CommonMark Literal.swift
[41/50] Compiling CommonMark List.swift
[42/50] Compiling CommonMark Paragraph.swift
[43/50] Compiling CommonMark ThematicBreak.swift
[44/50] Compiling CommonMark Document.swift
[45/50] Compiling CommonMark Block.swift
[46/50] Compiling CommonMark Children.swift
[47/50] Compiling CommonMark Inline.swift
[48/50] Compiling CommonMark Strong.swift
/host/spi-builder-workspace/.build/checkouts/CommonMark/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
            free(cString)
            ^~~~
/host/spi-builder-workspace/.build/checkouts/CommonMark/Sources/CommonMark/Nodes/Node.swift:332:13: error: cannot find 'free' in scope
            free(cString)
            ^~~~
[49/50] Compiling CommonMark Text.swift
/host/spi-builder-workspace/.build/checkouts/CommonMark/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
            free(cString)
            ^~~~
/host/spi-builder-workspace/.build/checkouts/CommonMark/Sources/CommonMark/Nodes/Node.swift:332:13: error: cannot find 'free' in scope
            free(cString)
            ^~~~
[50/50] Compiling CommonMark Node.swift
/host/spi-builder-workspace/.build/checkouts/CommonMark/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
            free(cString)
            ^~~~
/host/spi-builder-workspace/.build/checkouts/CommonMark/Sources/CommonMark/Nodes/Node.swift:332:13: error: cannot find 'free' in scope
            free(cString)
            ^~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling CommonMark Text.swift
[3/5] Compiling CommonMark Node.swift
/host/spi-builder-workspace/.build/checkouts/CommonMark/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
            free(cString)
            ^~~~
/host/spi-builder-workspace/.build/checkouts/CommonMark/Sources/CommonMark/Nodes/Node.swift:332:13: error: cannot find 'free' in scope
            free(cString)
            ^~~~
[4/13] Compiling CommonMark Link.swift
[5/14] Compiling CommonMark Inline.swift
[6/14] Compiling CommonMark Literal.swift
[7/15] Compiling CommonMark Emphasis.swift
[8/15] Compiling CommonMark Paragraph.swift
[9/15] Compiling CommonMark Code.swift
[10/15] Compiling CommonMark CodeBlock.swift
[11/15] Compiling CommonMark Heading.swift
[12/15] Compiling CommonMark Strong.swift
[13/15] Emitting module CommonMark
[14/16] Compiling CommonMark Visitor.swift
[15/16] Compiling CommonMark Visitable.swift
[16/16] Compiling CommonMark Children.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2