Build Information
Failed to build PlayDocs, reference 0.1.0 (2c7267
), with Swift 6.1 for Wasm on 27 May 2025 10:11:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ldstreet/playdocs.git
Reference: 0.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/ldstreet/playdocs
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 2c72671 fixed tests
Cloned https://github.com/ldstreet/playdocs.git
Revision (git rev-parse @):
2c7267188827186eccd4343edb68645722f69b59
SUCCESS checkout https://github.com/ldstreet/playdocs.git at 0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ldstreet/playdocs.git
https://github.com/ldstreet/playdocs.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "console",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/console.git"
},
{
"identity" : "markdown",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor-community/markdown.git"
},
{
"identity" : "splash",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/Splash"
},
{
"identity" : "swiftsoup",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scinfu/SwiftSoup.git"
},
{
"identity" : "swift-overture",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-overture.git"
}
],
"manifest_display_name" : "PlayDocs",
"name" : "PlayDocs",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "playdocs",
"targets" : [
"PlayDocs"
],
"type" : {
"executable" : null
}
},
{
"name" : "PlayDocsKit",
"targets" : [
"PlayDocsKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PlayDocsKitTests",
"module_type" : "SwiftTarget",
"name" : "PlayDocsKitTests",
"path" : "Tests/PlayDocsKitTests",
"sources" : [
"ConvertTests.swift",
"ConvertToHTMLTests .swift",
"ConvertToMarkdownTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"PlayDocsKit"
],
"type" : "test"
},
{
"c99name" : "PlayDocsKit",
"module_type" : "SwiftTarget",
"name" : "PlayDocsKit",
"path" : "Sources/PlayDocsKit",
"product_dependencies" : [
"Console",
"Command",
"Splash",
"SwiftSoup",
"SwiftMarkdown"
],
"product_memberships" : [
"playdocs",
"PlayDocsKit"
],
"sources" : [
"Chunk.swift",
"Common/String+Extensions.swift",
"Converter.swift",
"Token.swift",
"World.swift"
],
"type" : "library"
},
{
"c99name" : "PlayDocs",
"module_type" : "SwiftTarget",
"name" : "PlayDocs",
"path" : "Sources/PlayDocs",
"product_dependencies" : [
"Console",
"Command",
"Overture"
],
"product_memberships" : [
"playdocs"
],
"sources" : [
"Common/CommandArguments.swift",
"Common/CommandContext+Extensions.swift",
"Common/CommandFlags.swift",
"Common/CommandOptions.swift",
"Common/CommandProtocol.swift",
"ConvertCommand.swift",
"NewCommand.swift",
"main.swift"
],
"target_dependencies" : [
"PlayDocsKit"
],
"type" : "executable"
}
],
"tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/JohnSundell/Splash
Fetching https://github.com/vapor-community/markdown.git
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/pointfreeco/swift-overture.git
Fetching https://github.com/vapor/console.git
[1/863] Fetching swift-overture
[864/3030] Fetching swift-overture, splash
[3031/3276] Fetching swift-overture, splash, markdown
[3277/8853] Fetching swift-overture, splash, markdown, console
Fetched https://github.com/pointfreeco/swift-overture.git from cache (0.40s)
Fetched https://github.com/vapor-community/markdown.git from cache (0.40s)
[1/3908] Fetching swiftsoup
Fetched https://github.com/vapor/console.git from cache (0.51s)
Fetched https://github.com/JohnSundell/Splash from cache (1.24s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.24s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 1.7.5 (3.67s)
Computing version for https://github.com/pointfreeco/swift-overture.git
Computed https://github.com/pointfreeco/swift-overture.git at 0.5.0 (2.23s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (1.70s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.25s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (2.25s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.77s)
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/core.git
[1/919] Fetching service
[920/21062] Fetching service, core
Fetched https://github.com/vapor/service.git from cache (1.06s)
Fetched https://github.com/vapor/core.git from cache (1.10s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (2.12s)
Computing version for https://github.com/JohnSundell/Splash
Computed https://github.com/JohnSundell/Splash at 0.16.0 (0.89s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.71s)
Fetching https://github.com/apple/swift-nio.git
[1/76042] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.94s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (6.61s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.28s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.94s)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 1.7.5
Creating working copy for https://github.com/brokenhandsio/cmark-gfm.git
Working copy of https://github.com/brokenhandsio/cmark-gfm.git resolved at 2.1.0
Creating working copy for https://github.com/JohnSundell/Splash
Working copy of https://github.com/JohnSundell/Splash resolved at 0.16.0
Creating working copy for https://github.com/vapor-community/markdown.git
Working copy of https://github.com/vapor-community/markdown.git resolved at 0.7.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-overture.git
Working copy of https://github.com/pointfreeco/swift-overture.git resolved at 0.5.0
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/80] Write sources
[9/80] Compiling CNIODarwin shim.c
[10/80] Compiling CNIOLinux shim.c
[11/80] Compiling cmark tagfilter.c
[12/80] Compiling cmark tasklist.c
[13/80] Compiling cmark xml.c
[14/80] Compiling cmark syntax_extension.c
[15/80] Compiling cmark strikethrough.c
[16/80] Compiling cmark table.c
[17/80] Compiling cmark registry.c
[18/80] Compiling cmark references.c
[19/80] Compiling cmark plugin.c
[20/80] Compiling cmark render.c
[21/80] Write swift-version-24593BA9C3E375BF.txt
[22/80] Compiling cmark linked_list.c
[23/80] Compiling cmark plaintext.c
[24/80] Compiling cmark map.c
[25/80] Compiling cmark latex.c
[26/80] Compiling cmark node.c
[27/80] Compiling cmark man.c
[28/80] Compiling cmark iterator.c
[29/80] Compiling cmark inlines.c
[30/80] Compiling cmark html.c
[31/80] Compiling cmark houdini_html_e.c
[32/104] Compiling cmark houdini_href_e.c
[33/104] Compiling cmark footnotes.c
[34/166] Compiling cmark houdini_html_u.c
[35/170] Compiling cmark core-extensions.c
[36/170] Compiling cmark ext_scanners.c
[37/170] Compiling cmark cmark_ctype.c
[38/170] Compiling cmark cmark.c
[39/170] Compiling cmark commonmark.c
[40/170] Compiling cmark buffer.c
[41/170] Compiling cmark arena.c
[42/170] Write sources
[44/170] Compiling cmark autolink.c
[44/170] Write sources
[50/170] Compiling cmark blocks.c
[51/170] Write sources
[53/170] Emitting module Overture
[53/181] Compiling cmark scanners.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:47:10: fatal error: 'sys/cdefs.h' file not found
47 | #include <sys/cdefs.h>
| ^~~~~~~~~~~~~
1 error generated.
[54/181] Compiling CNIOSHA1 c_nio_sha1.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/181] Emitting module COperatingSystem
/host/spi-builder-workspace/.build/checkouts/core/Sources/COperatingSystem/libc.swift:4:20: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
[55/181] Compiling cmark utf8.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
[0/1] Planning build
Building for debugging...
[0/27] Write sources
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:47:10: fatal error: 'sys/cdefs.h' file not found
47 | #include <sys/cdefs.h>
| ^~~~~~~~~~~~~
1 error generated.
[2/28] Compiling CNIOSHA1 c_nio_sha1.c
[2/28] Compiling cmark utf8.c
[2/28] Compiling c-atomics.c
[2/28] Compiling CNIOLinux ifaddrs-android.c
[2/28] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm