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-0":/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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-0":/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.21s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/vapor/routing-kit.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/vapor/leaf-kit.git
[1/1404] Fetching pathkit
[367/22072] Fetching pathkit, routing-kit
[3059/26495] Fetching pathkit, routing-kit, leaf-kit
[4240/35324] Fetching pathkit, routing-kit, leaf-kit, yams
[18523/42725] Fetching pathkit, routing-kit, leaf-kit, yams, swift-crypto
[25310/54872] Fetching pathkit, routing-kit, leaf-kit, yams, swift-crypto, swift-nio-ssl
Fetched https://github.com/vapor/leaf-kit.git from cache (0.66s)
Fetching https://github.com/apple/swift-nio-extras.git
[26970/50449] Fetching pathkit, routing-kit, yams, swift-crypto, swift-nio-ssl
[35204/55241] Fetching pathkit, routing-kit, yams, swift-crypto, swift-nio-ssl, swift-nio-extras
Fetched https://github.com/kylef/PathKit.git from cache (1.32s)
[51412/53837] Fetching routing-kit, yams, swift-crypto, swift-nio-ssl, swift-nio-extras
Fetching https://github.com/vapor/async-kit.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.70s)
Fetching https://github.com/apple/swift-nio.git
[48068/49045] Fetching routing-kit, yams, swift-crypto, swift-nio-ssl
[49046/51380] Fetching routing-kit, yams, swift-crypto, swift-nio-ssl, async-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.67s)
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/apple/swift-crypto.git from cache (2.29s)
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/vapor/routing-kit.git from cache (2.41s)
[1/64497] Fetching swift-nio
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.42s)
Fetching https://github.com/vapor-community/markdown.git
Fetched https://github.com/jpsim/Yams.git from cache (2.46s)
Fetching https://github.com/vapor/multipart-kit.git
[5806/77042] Fetching swift-nio, async-http-client
[6308/78977] Fetching swift-nio, async-http-client, swift-metrics
[12974/82147] Fetching swift-nio, async-http-client, swift-metrics, swift-log
[16293/83847] Fetching swift-nio, async-http-client, swift-metrics, swift-log, multipart-kit
Fetched https://github.com/apple/swift-metrics.git from cache (0.45s)
Fetching https://github.com/vapor/console-kit.git
[16218/81912] Fetching swift-nio, async-http-client, swift-log, multipart-kit
[27711/82143] Fetching swift-nio, async-http-client, swift-log, multipart-kit, markdown
Fetched https://github.com/vapor-community/markdown.git from cache (0.56s)
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/apple/swift-log.git from cache (0.58s)
Fetching https://github.com/swift-server/swift-backtrace.git
[26600/78742] Fetching swift-nio, async-http-client, multipart-kit
[27246/84020] Fetching swift-nio, async-http-client, multipart-kit, console-kit
[33814/84632] Fetching swift-nio, async-http-client, multipart-kit, console-kit, swift-backtrace
Fetched https://github.com/vapor/console-kit.git from cache (0.74s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
Fetched https://github.com/swift-server/swift-backtrace.git from cache (0.49s)
Fetching https://github.com/apple/swift-nio-http2.git
[29181/146030] Fetching swift-nio, async-http-client, multipart-kit, vapor
Fetched https://github.com/swift-server/async-http-client.git from cache (1.72s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[19974/133485] Fetching swift-nio, multipart-kit, vapor
[21966/145785] Fetching swift-nio, multipart-kit, vapor, cmark-gfm
[24968/155950] Fetching swift-nio, multipart-kit, vapor, cmark-gfm, swift-nio-http2
[40326/158014] Fetching swift-nio, multipart-kit, vapor, cmark-gfm, swift-nio-http2, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.51s)
Fetching https://github.com/vapor/leaf.git
[51152/155950] Fetching swift-nio, multipart-kit, vapor, cmark-gfm, swift-nio-http2
[139827/159834] Fetching swift-nio, multipart-kit, vapor, cmark-gfm, swift-nio-http2, leaf
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (2.05s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.05s)
Fetching https://github.com/kylef/Spectre.git
Fetched https://github.com/vapor/multipart-kit.git from cache (3.11s)
Fetching https://github.com/vapor/websocket-kit.git
Fetched https://github.com/vapor/leaf.git from cache (1.47s)
Fetched https://github.com/vapor/vapor.git from cache (2.88s)
[1/1021] Fetching spectre
[451/1977] Fetching spectre, shellout
[1883/4388] Fetching spectre, shellout, websocket-kit
Fetched https://github.com/kylef/Spectre.git from cache (0.43s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.44s)
Computing version for https://github.com/kylef/PathKit.git
Fetched https://github.com/vapor/websocket-kit.git from cache (0.43s)
Computed https://github.com/kylef/PathKit.git at 0.9.2 (1.45s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Fetched https://github.com/apple/swift-nio.git from cache (6.13s)
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.40s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.6.1 (0.40s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (0.40s)
Computing version for https://github.com/vapor/leaf.git
Computed https://github.com/vapor/leaf.git at 4.1.3 (0.42s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.48.4 (0.47s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.41s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.0.0 (0.40s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.3.1 (0.42s)
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.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.1 (0.39s)
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.39s)
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.47s)
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.41s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.2.0 (0.41s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.4 (0.40s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.2.5 (0.46s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.3.0 (0.54s)
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.47s)
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.57s)
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/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/leaf.git
Working copy of https://github.com/vapor/leaf.git resolved at 4.1.3
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-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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
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/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/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/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/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/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/jsorge/textbundleify.git
Working copy of https://github.com/jsorge/textbundleify.git resolved at master (9002d65)
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.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-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/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/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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.48.4
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/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/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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Building for debugging...
[0/976] Compiling CBacktrace posix.c
[1/976] Compiling CBacktrace mmapio.c
[2/976] Compiling CBacktrace backtrace.c
[3/976] Compiling CBacktrace atomic.c
[4/976] Compiling CBacktrace mmap.c
[5/976] Compiling CBacktrace fileline.c
[6/976] Compiling cmark tasklist.c
[7/976] Compiling cmark xml.c
[8/976] Compiling cmark tagfilter.c
[9/976] Compiling CBacktrace dwarf.c
[10/976] Compiling CBacktrace elf.c
[11/976] Compiling cmark table.c
[12/976] Compiling cmark syntax_extension.c
[12/976] Write swift-version-24593BA9C3E375BF.txt
[14/976] Compiling cmark strikethrough.c
[15/976] Compiling cmark registry.c
[16/976] Compiling cmark render.c
[17/976] Compiling cmark references.c
[18/976] Compiling cmark plugin.c
[19/976] Compiling cmark utf8.c
[20/976] Compiling cmark plaintext.c
[21/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 latex.c
[25/976] Compiling cmark iterator.c
[27/976] Compiling cmark houdini_html_e.c
[28/976] Compiling cmark footnotes.c
[29/976] Compiling cmark houdini_href_e.c
[30/976] Compiling cmark html.c
[31/976] Compiling cmark inlines.c
[32/976] Compiling cmark core-extensions.c
[33/976] Compiling cmark cmark_ctype.c
[34/976] Compiling cmark ext_scanners.c
[35/976] Compiling cmark houdini_html_u.c
[36/976] Write sources
[43/976] Compiling cmark commonmark.c
[44/976] Compiling cmark cmark.c
[45/976] Write sources
[46/976] Compiling cmark buffer.c
[47/976] Write sources
[67/976] Compiling cmark autolink.c
[68/976] Write sources
[72/976] Compiling cmark arena.c
[73/976] Compiling cmark blocks.c
[74/978] Compiling cmark scanners.c
[75/979] Compiling writer.c
[76/989] Compiling reader.c
[77/994] Compiling parser.c
[78/994] Compiling scanner.c
[79/994] Compiling api.c
[80/994] Compiling emitter.c
[80/994] Write sources
[82/994] Compiling CNIOWindows shim.c
[83/994] Compiling CURLParser urlparser.c
[85/1011] Emitting module Logging
[86/1011] Emitting module Yams
[87/1013] Compiling RoutingKit Router.swift
[88/1013] Emitting module SwiftMarkdown
[89/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
[90/1013] Emitting module COperatingSystem
[91/1013] Emitting module ShellOut
[92/1013] Emitting module PathKit
[0/1] Planning build
Building for debugging...
[0/893] Compiling CNIOWindows WSAStartup.c
[1/893] Compiling CNIOExtrasZlib empty.c
[2/893] Compiling CNIOSHA1 c_nio_sha1.c
[3/893] Compiling CNIODarwin shim.c
[4/893] Compiling CNIOLinux shim.c
[5/893] Compiling CNIOHTTPParser c_nio_http_parser.c
[6/893] Write swift-version-24593BA9C3E375BF.txt
[7/893] Compiling CNIOBoringSSLShims shims.c
[8/908] Compiling tls_method.cc
[9/910] Compiling tls_record.cc
[10/910] Compiling tls13_server.cc
[12/910] 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)
                ^~~~
[12/910] Compiling tls13_enc.cc
[13/910] Compiling tls13_client.cc
[15/914] Compiling Yams Node.Scalar.swift
[16/914] Compiling Yams Node.Sequence.swift
[17/920] Emitting module SwiftMarkdown
[18/920] Compiling Yams Mark.swift
[19/920] Compiling Yams Node.Mapping.swift
error: fatalError
[19/920] Compiling tls13_both.cc
[19/920] Compiling t1_lib.cc
BUILD FAILURE 5.10 linux

Build Machine: Linux 1