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-4606859-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: main
Cloned https://github.com/jsorge/maverick.git into spi-builder-workspace
SUCCESS checkout https://github.com/jsorge/maverick.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-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.18s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/vapor-community/markdown.git
Fetching https://github.com/vapor/console-kit.git
[1/572] Fetching shellout
[573/803] Fetching shellout, markdown
[804/5554] Fetching shellout, markdown, console-kit
Fetched https://github.com/vapor-community/markdown.git (0.21s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[2283/5323] Fetching shellout, console-kit
Fetched https://github.com/JohnSundell/ShellOut.git (0.28s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
Fetched https://github.com/vapor/console-kit.git (0.28s)
Fetching https://github.com/apple/swift-nio-extras.git
[1/1710] Fetching swift-nio-transport-services
[1711/14010] Fetching swift-nio-transport-services, cmark-gfm
Fetched https://github.com/apple/swift-nio-transport-services.git (0.25s)
Fetching https://github.com/kylef/Spectre.git
[1722/12300] Fetching cmark-gfm
[2338/16803] Fetching cmark-gfm, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git (0.32s)
Fetching https://github.com/apple/swift-log.git
[11439/12300] Fetching cmark-gfm
[12055/13321] Fetching cmark-gfm, spectre
Fetched https://github.com/kylef/Spectre.git (0.22s)
Fetching https://github.com/vapor/multipart-kit.git
[1/3079] Fetching swift-log
[1664/4710] Fetching swift-log, multipart-kit
Fetched https://github.com/brokenhandsio/cmark-gfm.git (0.60s)
Fetching https://github.com/swift-server/swift-backtrace.git
Fetched https://github.com/apple/swift-log.git (0.37s)
Fetching https://github.com/kylef/PathKit.git
[507/2213] Fetching multipart-kit, swift-backtrace
Fetched https://github.com/swift-server/swift-backtrace.git (0.23s)
Fetching https://github.com/vapor/async-kit.git
[507/3036] Fetching multipart-kit, pathkit
[1912/5179] Fetching multipart-kit, pathkit, async-kit
Fetched https://github.com/kylef/PathKit.git (0.33s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/vapor/async-kit.git (0.24s)
Fetching https://github.com/apple/swift-metrics.git
[507/3443] Fetching multipart-kit, swift-metrics
Fetched https://github.com/apple/swift-metrics.git (0.28s)
Fetching https://github.com/swift-server/async-http-client.git
[1/9305] Fetching swift-nio-http2
Fetched https://github.com/vapor/multipart-kit.git (1.32s)
Fetching https://github.com/jpsim/Yams.git
[1/12040] Fetching async-http-client
Fetched https://github.com/apple/swift-nio-http2.git (0.88s)
Fetching https://github.com/apple/swift-crypto.git
[12041/18040] Fetching async-http-client, swift-crypto
Fetched https://github.com/swift-server/async-http-client.git (0.81s)
Fetching https://github.com/vapor/websocket-kit.git
[2820/6000] Fetching swift-crypto
[5041/14606] Fetching swift-crypto, yams
[6340/16273] Fetching swift-crypto, yams, websocket-kit
Fetched https://github.com/vapor/websocket-kit.git (0.24s)
Fetching https://github.com/vapor/routing-kit.git
[7242/14606] Fetching swift-crypto, yams
[14521/35179] Fetching swift-crypto, yams, routing-kit
Fetched https://github.com/apple/swift-crypto.git (0.90s)
Fetching https://github.com/apple/swift-nio-ssl.git
[24859/29179] Fetching yams, routing-kit
Fetched https://github.com/jpsim/Yams.git (1.31s)
Fetching https://github.com/vapor/leaf.git
Fetched https://github.com/vapor/routing-kit.git (0.81s)
Fetching https://github.com/vapor/vapor.git
[1/3842] Fetching leaf
[3843/15154] Fetching leaf, swift-nio-ssl
Fetched https://github.com/vapor/leaf.git (0.28s)
Fetching https://github.com/vapor/leaf-kit.git
[792/11312] Fetching swift-nio-ssl
[9277/15582] Fetching swift-nio-ssl, leaf-kit
[10666/80121] Fetching swift-nio-ssl, leaf-kit, vapor
Fetched https://github.com/vapor/leaf-kit.git (0.31s)
Fetching https://github.com/apple/swift-nio.git
[20348/75851] Fetching swift-nio-ssl, vapor
Fetched https://github.com/apple/swift-nio-ssl.git (1.19s)
[27107/64539] Fetching vapor
[45824/124612] Fetching vapor, swift-nio
Fetched https://github.com/vapor/vapor.git (1.58s)
Computing version for https://github.com/kylef/PathKit.git
[21627/60073] Fetching swift-nio
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.93s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.27s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.6.1 (0.28s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (0.26s)
Computing version for https://github.com/vapor/leaf.git
Computed https://github.com/vapor/leaf.git at 4.1.3 (0.28s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.48.4 (0.73s)
Fetched https://github.com/apple/swift-nio.git (4.02s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.26s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.0.0 (0.25s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.3.1 (0.26s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.2.1 (0.26s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.1.2 (0.27s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.1.1 (0.25s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.1 (0.25s)
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.28s)
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.28s)
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.27s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.26.0 (0.35s)
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.25s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.2.0 (0.27s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.4 (0.28s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.2.5 (0.27s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.3.0 (0.27s)
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.27s)
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.27s)
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/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/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/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/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/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/leaf.git
Working copy of https://github.com/vapor/leaf.git resolved at 4.1.3
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/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/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/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/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/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/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/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/jsorge/textbundleify.git
Working copy of https://github.com/jsorge/textbundleify.git resolved at master
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/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/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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.10.4
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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
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/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.48.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/944] Compiling CBacktrace dwarf.c
[9/945] Compiling CBacktrace elf.c
[10/956] Compiling cmark table.c
[11/956] Compiling cmark utf8.c
[12/956] Compiling cmark syntax_extension.c
[13/956] Compiling cmark strikethrough.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 plaintext.c
[19/956] Compiling cmark scanners.c
[20/956] Compiling cmark map.c
[21/956] Compiling cmark node.c
[22/956] Compiling cmark man.c
[23/956] Compiling cmark linked_list.c
[24/956] Compiling cmark latex.c
[25/956] Compiling cmark iterator.c
[27/956] Emitting module RoutingKit
[27/956] Compiling cmark inlines.c
[28/956] Compiling cmark html.c
[29/956] Compiling cmark houdini_html_e.c
[30/956] Compiling cmark houdini_html_u.c
[32/956] Emitting module CoreMetrics
[32/956] Compiling cmark houdini_href_e.c
[33/956] Compiling cmark footnotes.c
[34/956] Compiling cmark ext_scanners.c
[35/956] Compiling cmark core-extensions.c
[36/956] Compiling cmark commonmark.c
[37/956] Compiling cmark cmark_ctype.c
[38/956] Compiling cmark cmark.c
[39/956] Compiling cmark buffer.c
[40/956] Compiling cmark autolink.c
[41/956] Compiling cmark blocks.c
[42/956] Compiling cmark arena.c
[43/956] Compiling writer.c
[44/958] Compiling scanner.c
[45/958] Compiling reader.c
[46/958] Compiling parser.c
[47/958] Compiling emitter.c
[48/958] Compiling api.c
[49/958] Compiling CURLParser urlparser.c
[51/973] Emitting module SwiftMarkdown
[52/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)
                ^~~~
[53/973] Compiling RoutingKit PathComponent.swift
[54/973] Compiling RoutingKit Router.swift
[55/973] Compiling CoreMetrics Metrics.swift
[56/973] Compiling Yams Mark.swift
[57/973] Compiling Yams Node.Mapping.swift
error: fatalError
[58/975] Emitting module COperatingSystem
[59/975] Emitting module ShellOut
[60/975] Compiling Logging LogHandler.swift
[61/975] Emitting module Logging
BUILD FAILURE 5.9 linux

Build Machine: Linux 1