The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Maverick with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jsorge/maverick.git
Reference: 3.1.0
Cloned https://github.com/jsorge/maverick.git into spi-builder-workspace
SUCCESS checkout https://github.com/jsorge/maverick.git at 3.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/jsorge/textbundleify.git
Fetched https://github.com/jsorge/textbundleify.git (0.19s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/async-kit.git
[1/2143] Fetching async-kit
[1930/8143] Fetching async-kit, swift-crypto
Fetched https://github.com/vapor/async-kit.git (0.26s)
Fetching https://github.com/apple/swift-nio.git
[2820/6000] Fetching swift-crypto
[3601/70539] Fetching swift-crypto, vapor
[22136/130612] Fetching swift-crypto, vapor, swift-nio
Fetched https://github.com/apple/swift-crypto.git (1.84s)
Fetching https://github.com/vapor/leaf-kit.git
Fetched https://github.com/vapor/vapor.git (1.86s)
Fetching https://github.com/swift-server/swift-backtrace.git
[22828/60073] Fetching swift-nio
[23430/60655] Fetching swift-nio, swift-backtrace
[24012/64925] Fetching swift-nio, swift-backtrace, leaf-kit
Fetched https://github.com/swift-server/swift-backtrace.git (0.23s)
Fetching https://github.com/apple/swift-metrics.git
[26077/64343] Fetching swift-nio, leaf-kit
Fetched https://github.com/vapor/leaf-kit.git (0.36s)
Fetching https://github.com/kylef/PathKit.git
[24031/61885] Fetching swift-nio, swift-metrics
[27044/63290] Fetching swift-nio, swift-metrics, pathkit
Fetched https://github.com/apple/swift-metrics.git (0.33s)
Fetching https://github.com/apple/swift-log.git
[26608/61478] Fetching swift-nio, pathkit
Fetched https://github.com/kylef/PathKit.git (0.28s)
Fetching https://github.com/apple/swift-nio-ssl.git
[27634/60073] Fetching swift-nio
[42653/63152] Fetching swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git (0.38s)
Fetching https://github.com/jpsim/Yams.git
[60073/60073] Fetching swift-nio
[60074/71385] Fetching swift-nio, swift-nio-ssl
[60527/79991] Fetching swift-nio, swift-nio-ssl, yams
Fetched https://github.com/jpsim/Yams.git (1.62s)
Fetching https://github.com/vapor-community/markdown.git
Fetched https://github.com/apple/swift-nio-ssl.git (2.08s)
Fetching https://github.com/vapor/multipart-kit.git
[1/231] Fetching markdown
Fetched https://github.com/vapor-community/markdown.git (0.24s)
Fetching https://github.com/vapor/routing-kit.git
[1/1631] Fetching multipart-kit
[507/22204] Fetching multipart-kit, routing-kit
Fetched https://github.com/vapor/routing-kit.git (1.10s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetched https://github.com/apple/swift-nio.git (5.53s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
[165/1593] Fetching spectre, shellout
Fetched https://github.com/kylef/Spectre.git (0.38s)
Fetching https://github.com/vapor/leaf.git
Fetched https://github.com/JohnSundell/ShellOut.git (0.41s)
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/vapor/multipart-kit.git (1.62s)
Fetching https://github.com/apple/swift-nio-extras.git
[1/3842] Fetching leaf
[3843/8345] Fetching leaf, swift-nio-extras
[5465/20385] Fetching leaf, swift-nio-extras, async-http-client
Fetched https://github.com/vapor/leaf.git (0.28s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1938/16543] Fetching swift-nio-extras, async-http-client
Computing version for https://github.com/kylef/PathKit.git
Fetched https://github.com/apple/swift-nio-extras.git (0.39s)
Fetching https://github.com/vapor/console-kit.git
[7465/12040] Fetching async-http-client
[12041/24340] Fetching async-http-client, cmark-gfm
[16961/29091] Fetching async-http-client, cmark-gfm, console-kit
Fetched https://github.com/swift-server/async-http-client.git (0.74s)
Fetching https://github.com/vapor/websocket-kit.git
Fetched https://github.com/vapor/console-kit.git (0.35s)
Fetching https://github.com/apple/swift-nio-http2.git
[1/1667] Fetching websocket-kit
Fetched https://github.com/brokenhandsio/cmark-gfm.git (0.73s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetched https://github.com/vapor/websocket-kit.git (0.26s)
[1/9305] Fetching swift-nio-http2
[1118/11015] Fetching swift-nio-http2, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.30s)
[6514/9305] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (0.97s)
Computed https://github.com/kylef/PathKit.git at 0.9.2 (1.90s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.28s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.6.1 (0.30s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (0.29s)
Computing version for https://github.com/vapor/leaf.git
Computed https://github.com/vapor/leaf.git at 4.1.3 (0.30s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.48.4 (0.38s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.29s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.0.0 (0.29s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.3.1 (0.29s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.2.1 (0.30s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.1.2 (0.31s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.1.1 (0.29s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.1 (0.29s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.8.0 (0.32s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.16.3 (0.32s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.10.4 (0.31s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.26.0 (0.40s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.2.1 (0.29s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.2.0 (0.29s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.4 (0.32s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.2.5 (0.30s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.3.0 (0.30s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.2.4 (0.30s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.9.2 (0.31s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.2.4
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.1.1
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.1.2
Creating working copy for https://github.com/vapor/leaf.git
Working copy of https://github.com/vapor/leaf.git resolved at 4.1.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/brokenhandsio/cmark-gfm.git
Working copy of https://github.com/brokenhandsio/cmark-gfm.git resolved at 2.0.0
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.3.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.48.4
Creating working copy for https://github.com/jsorge/textbundleify.git
Working copy of https://github.com/jsorge/textbundleify.git resolved at master
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.8.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.2.5
Creating working copy for https://github.com/vapor/leaf-kit.git
Working copy of https://github.com/vapor/leaf-kit.git resolved at 1.3.1
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.26.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.16.3
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.9.2
Creating working copy for https://github.com/vapor-community/markdown.git
Working copy of https://github.com/vapor-community/markdown.git resolved at 0.6.1
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.2.1
Creating working copy for https://github.com/swift-server/swift-backtrace.git
Working copy of https://github.com/swift-server/swift-backtrace.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.10.4
Building for debugging...
[0/938] Compiling CBacktrace atomic.c
[1/938] Compiling CBacktrace backtrace.c
[2/938] Compiling CBacktrace mmapio.c
[3/938] Compiling CBacktrace fileline.c
[4/938] Compiling CBacktrace mmap.c
[5/938] Compiling cmark xml.c
[5/938] Compiling cmark tagfilter.c
[7/940] Compiling cmark tasklist.c
[8/942] Compiling CBacktrace elf.c
[9/944] Compiling CBacktrace dwarf.c
[10/955] Compiling cmark utf8.c
[11/956] Compiling cmark table.c
[12/956] Compiling cmark strikethrough.c
[13/956] Compiling cmark syntax_extension.c
[14/956] Compiling cmark render.c
[15/956] Compiling cmark registry.c
[16/956] Compiling cmark references.c
[17/956] Compiling cmark plugin.c
[18/956] Compiling cmark scanners.c
[19/956] Compiling cmark plaintext.c
[20/956] Compiling cmark node.c
[21/956] Compiling cmark map.c
[22/956] Compiling cmark linked_list.c
[23/956] Compiling cmark man.c
[24/956] Compiling cmark latex.c
[25/956] Compiling cmark iterator.c
[26/956] Compiling cmark html.c
[28/956] Emitting module PathKit
[28/956] Compiling cmark inlines.c
[29/956] Compiling cmark houdini_html_e.c
[30/956] Compiling cmark houdini_html_u.c
[31/956] Compiling cmark houdini_href_e.c
[32/956] Compiling cmark footnotes.c
[33/956] Compiling cmark ext_scanners.c
[34/956] Compiling cmark core-extensions.c
[35/956] Compiling cmark cmark_ctype.c
[36/956] Compiling cmark commonmark.c
[37/956] Compiling cmark cmark.c
[38/956] Compiling cmark buffer.c
[39/956] Compiling cmark blocks.c
[40/956] Compiling cmark arena.c
[41/956] Compiling cmark autolink.c
[42/956] Compiling writer.c
[43/958] Compiling scanner.c
[44/958] Compiling reader.c
[45/958] Compiling parser.c
[46/958] Compiling emitter.c
[47/958] Compiling api.c
[48/958] Compiling CURLParser urlparser.c
[50/973] Compiling RoutingKit TrieRouter.swift
[51/973] Compiling RoutingKit PathComponent.swift
[52/973] Compiling RoutingKit Router.swift
[53/973] Emitting module SwiftMarkdown
[54/973] Compiling SwiftMarkdown SwiftMarkdown.swift
/host/spi-builder-workspace/.build/checkouts/markdown/Sources/SwiftMarkdown/SwiftMarkdown.swift:27:50: error: cannot find 'strlen' in scope
                guard let buf = cmark_markdown_to_html($0, Int(strlen($0)), options.rawValue) else {
                                                               ^~~~~~
/host/spi-builder-workspace/.build/checkouts/markdown/Sources/SwiftMarkdown/SwiftMarkdown.swift:31:3: error: cannot find 'free' in scope
                free(buf)
                ^~~~
[55/973] Compiling Yams Mark.swift
[56/973] Compiling Yams Node.Mapping.swift
[57/973] Compiling Yams Node.Scalar.swift
[58/973] Compiling Yams Node.Sequence.swift
error: fatalError
[59/975] Emitting module CoreMetrics
[60/975] Compiling Logging LogHandler.swift
[61/975] Emitting module Logging
[62/975] Emitting module ShellOut
[63/975] Emitting module COperatingSystem
BUILD FAILURE 5.9 linux

Build Machine: Linux 2