The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Maverick with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/jsorge/maverick.git
Reference: 3.1.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/jsorge/maverick
 * tag               3.1.0      -> FETCH_HEAD
HEAD is now at 1a90681 Merge branch 'disable-leaf-cache'
Cloned https://github.com/jsorge/maverick.git
Revision (git rev-parse @):
1a90681c6993043954076598e978337f81d45792
SUCCESS checkout https://github.com/jsorge/maverick.git at 3.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/jsorge/maverick.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/jsorge/textbundleify.git
[1/39] Fetching textbundleify
Fetched https://github.com/jsorge/textbundleify.git from cache (0.17s)
Fetching https://github.com/vapor/leaf.git
Fetching https://github.com/vapor/leaf-kit.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/swift-server/async-http-client.git
[1/1021] Fetching spectre
[264/4905] Fetching spectre, leaf
[855/9328] Fetching spectre, leaf, leaf-kit
[9329/21873] Fetching spectre, leaf, leaf-kit, async-http-client
[10960/34020] Fetching spectre, leaf, leaf-kit, async-http-client, swift-nio-ssl
[11208/41421] Fetching spectre, leaf, leaf-kit, async-http-client, swift-nio-ssl, swift-crypto
Fetched https://github.com/swift-server/async-http-client.git from cache (0.78s)
Fetching https://github.com/apple/swift-nio.git
[19847/28876] Fetching spectre, leaf, leaf-kit, swift-nio-ssl, swift-crypto
Fetched https://github.com/vapor/leaf.git from cache (1.39s)
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/kylef/Spectre.git from cache (1.39s)
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/vapor/leaf-kit.git from cache (1.40s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.41s)
Fetching https://github.com/vapor/multipart-kit.git
Fetched https://github.com/apple/swift-crypto.git from cache (1.41s)
Fetching https://github.com/JohnSundell/ShellOut.git
[1/956] Fetching shellout
[957/9785] Fetching shellout, yams
[958/11485] Fetching shellout, yams, multipart-kit
[1732/75982] Fetching shellout, yams, multipart-kit, swift-nio
[2731/86147] Fetching shellout, yams, multipart-kit, swift-nio, swift-nio-http2
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.26s)
Fetching https://github.com/kylef/PathKit.git
[1876/85191] Fetching yams, multipart-kit, swift-nio, swift-nio-http2
[18467/152479] Fetching yams, multipart-kit, swift-nio, swift-nio-http2, vapor
[20607/153883] Fetching yams, multipart-kit, swift-nio, swift-nio-http2, vapor, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.33s)
Fetching https://github.com/swift-server/swift-backtrace.git
[30548/152479] Fetching yams, multipart-kit, swift-nio, swift-nio-http2, vapor
[48415/153091] Fetching yams, multipart-kit, swift-nio, swift-nio-http2, vapor, swift-backtrace
Fetched https://github.com/swift-server/swift-backtrace.git from cache (0.33s)
Fetching https://github.com/vapor/routing-kit.git
[49732/152479] Fetching yams, multipart-kit, swift-nio, swift-nio-http2, vapor
[59570/173147] Fetching yams, multipart-kit, swift-nio, swift-nio-http2, vapor, routing-kit
Fetched https://github.com/jpsim/Yams.git from cache (1.27s)
Fetching https://github.com/vapor-community/markdown.git
[53911/164318] Fetching multipart-kit, swift-nio, swift-nio-http2, vapor, routing-kit
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.44s)
[80386/154153] Fetching multipart-kit, swift-nio, vapor, routing-kit
Fetching https://github.com/apple/swift-nio-transport-services.git
[89956/154384] Fetching multipart-kit, swift-nio, vapor, routing-kit, markdown
[111347/156448] Fetching multipart-kit, swift-nio, vapor, routing-kit, markdown, swift-nio-transport-services
Fetched https://github.com/vapor-community/markdown.git from cache (0.59s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
Fetched https://github.com/vapor/multipart-kit.git from cache (1.91s)
Fetching https://github.com/vapor/websocket-kit.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.57s)
Fetching https://github.com/apple/swift-metrics.git
[115045/152453] Fetching swift-nio, vapor, routing-kit
[115691/154864] Fetching swift-nio, vapor, routing-kit, websocket-kit
[116077/167164] Fetching swift-nio, vapor, routing-kit, websocket-kit, cmark-gfm
[119086/169099] Fetching swift-nio, vapor, routing-kit, websocket-kit, cmark-gfm, swift-metrics
Fetched https://github.com/vapor/routing-kit.git from cache (1.54s)
Fetching https://github.com/vapor/console-kit.git
[103842/148431] Fetching swift-nio, vapor, websocket-kit, cmark-gfm, swift-metrics
[107988/146020] Fetching swift-nio, vapor, cmark-gfm, swift-metrics
Fetched https://github.com/vapor/websocket-kit.git from cache (0.65s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-metrics.git from cache (0.64s)
Fetching https://github.com/apple/swift-log.git
[112782/144085] Fetching swift-nio, vapor, cmark-gfm
[126027/149363] Fetching swift-nio, vapor, cmark-gfm, console-kit
[130707/154155] Fetching swift-nio, vapor, cmark-gfm, console-kit, swift-nio-extras
[137686/157325] Fetching swift-nio, vapor, cmark-gfm, console-kit, swift-nio-extras, swift-log
Fetched https://github.com/vapor/console-kit.git from cache (0.76s)
Fetching https://github.com/vapor/async-kit.git
[149452/152047] Fetching swift-nio, vapor, cmark-gfm, swift-nio-extras, swift-log
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.74s)
[146611/147255] Fetching swift-nio, vapor, cmark-gfm, swift-log
Fetched https://github.com/vapor/vapor.git from cache (3.38s)
Computing version for https://github.com/kylef/PathKit.git
[79967/79967] Fetching swift-nio, cmark-gfm, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.84s)
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.74s)
[1/2335] Fetching async-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.58s)
Computed https://github.com/kylef/PathKit.git at 0.9.2 (1.79s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Fetched https://github.com/apple/swift-nio.git from cache (6.93s)
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (1.71s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.6.1 (0.55s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (0.48s)
Computing version for https://github.com/vapor/leaf.git
Computed https://github.com/vapor/leaf.git at 4.1.3 (0.72s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.48.4 (0.46s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.40s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.0.0 (0.39s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.3.1 (0.41s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.2.1 (0.41s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.1.2 (0.41s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.1.1 (0.40s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.1 (0.42s)
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.42s)
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.41s)
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.42s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.26.0 (0.46s)
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.40s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.2.0 (0.39s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.4 (0.42s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.2.5 (0.42s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.3.0 (0.42s)
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.42s)
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.39s)
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/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/jsorge/textbundleify.git
Working copy of https://github.com/jsorge/textbundleify.git resolved at master (9002d65)
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.4
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/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/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-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/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.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-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/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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
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/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/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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
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-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/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.48.4
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
Building for debugging...
[0/976] Compiling CBacktrace fileline.c
[1/976] Compiling CBacktrace print.c
[2/976] Compiling CBacktrace simple.c
[3/976] Compiling CBacktrace sort.c
[4/976] Compiling CBacktrace mmapio.c
[4/976] Compiling CBacktrace mmap.c
[6/976] Compiling a_octet.c
[7/976] Compiling cmark xml.c
[7/976] Compiling cmark tagfilter.c
[9/976] Compiling cmark tasklist.c
[10/976] Compiling CBacktrace elf.c
[11/976] Compiling cmark syntax_extension.c
[12/976] Compiling cmark strikethrough.c
[13/976] Write swift-version-24593BA9C3E375BF.txt
[14/976] Compiling cmark table.c
[15/976] Compiling cmark registry.c
[16/976] Compiling cmark render.c
[17/976] Compiling cmark plugin.c
[18/976] Compiling cmark utf8.c
[19/976] Compiling cmark references.c
[20/976] Compiling cmark plaintext.c
[20/976] Compiling cmark map.c
[22/976] Compiling cmark linked_list.c
[23/976] Compiling cmark man.c
[24/976] Compiling cmark node.c
[25/976] Compiling cmark iterator.c
[26/976] Compiling cmark latex.c
[27/976] Compiling cmark html.c
[28/976] Compiling cmark houdini_html_e.c
[29/976] Compiling cmark houdini_href_e.c
[30/976] Compiling cmark core-extensions.c
[31/976] Compiling cmark footnotes.c
[32/976] Compiling cmark commonmark.c
[32/976] Compiling cmark cmark_ctype.c
[34/976] Compiling cmark inlines.c
[35/976] Compiling cmark houdini_html_u.c
[36/976] Write sources
[42/976] Compiling cmark ext_scanners.c
[43/976] Write sources
[45/976] Compiling cmark cmark.c
[46/976] Compiling cmark buffer.c
[47/976] Write sources
[59/976] Compiling cmark arena.c
[61/976] Write sources
[71/976] Compiling cmark scanners.c
[72/976] Write sources
[73/976] Compiling cmark autolink.c
[74/976] Compiling cmark blocks.c
[75/980] Compiling writer.c
[76/992] Compiling reader.c
[77/992] Compiling scanner.c
[78/994] Compiling parser.c
[79/994] Compiling api.c
[80/994] Compiling emitter.c
[81/994] Compiling CURLParser urlparser.c
[82/994] Write sources
[83/994] Compiling CNIOWindows shim.c
[85/994] Emitting module SwiftMarkdown
[86/1011] Emitting module Yams
[87/1013] 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)
                ^~~~
error: fatalError
[88/1013] Emitting module ShellOut
[89/1013] Emitting module COperatingSystem
[90/1013] Emitting module PathKit
[0/1] Planning build
Building for debugging...
[0/892] Write sources
[3/893] Compiling CNIOWindows WSAStartup.c
[4/893] Compiling CNIOExtrasZlib empty.c
[5/893] Compiling CNIODarwin shim.c
[6/893] Compiling CNIOSHA1 c_nio_sha1.c
[7/893] Compiling CNIOLinux shim.c
[8/893] Compiling CNIOHTTPParser c_nio_http_parser.c
[9/893] Write swift-version-24593BA9C3E375BF.txt
[10/893] Compiling CNIOBoringSSLShims shims.c
[11/908] Compiling tls_method.cc
[12/908] Compiling tls_record.cc
[13/908] Compiling tls13_enc.cc
[14/909] Compiling tls13_server.cc
[15/910] Compiling tls13_client.cc
[16/915] Compiling tls13_both.cc
[18/923] 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)
                ^~~~
[19/923] Compiling RoutingKit Router.swift
[20/926] Compiling Logging LogHandler.swift
[21/926] Compiling RoutingKit PathComponent.swift
[22/926] Emitting module SwiftMarkdown
error: fatalError
[22/926] Compiling t1_lib.cc
[23/926] Emitting module RoutingKit
[24/926] Emitting module PathKit
[25/926] Emitting module ShellOut
[26/926] Compiling Yams Mark.swift
[27/926] Compiling Yams Node.Mapping.swift
BUILD FAILURE 5.10 linux

Build Machine: Linux 1