The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PlayDocs, reference master (5eddee), 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-1":/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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5eddee1 Create CONTRIBUTING.md
Cloned https://github.com/ldstreet/playdocs.git
Revision (git rev-parse @):
5eddee166bc2501dd6a694994e3c70135e83c6e9
SUCCESS checkout https://github.com/ldstreet/playdocs.git at master
========================================
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-1":/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/vapor/console.git
Fetching https://github.com/pointfreeco/swift-overture.git
[1/5577] Fetching console
[1786/6440] Fetching console, swift-overture
[2513/6686] Fetching console, swift-overture, markdown
[2569/8853] Fetching console, swift-overture, markdown, splash
[8653/12761] Fetching console, swift-overture, markdown, splash, swiftsoup
Fetched https://github.com/pointfreeco/swift-overture.git from cache (0.51s)
Fetched https://github.com/JohnSundell/Splash from cache (0.51s)
[6912/9731] Fetching console, markdown, swiftsoup
Fetched https://github.com/vapor/console.git from cache (0.51s)
[1374/4154] Fetching markdown, swiftsoup
Fetched https://github.com/vapor-community/markdown.git from cache (1.23s)
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.74s)
Computing version for https://github.com/pointfreeco/swift-overture.git
Computed https://github.com/pointfreeco/swift-overture.git at 0.5.0 (2.22s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (1.63s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.22s)
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.76s)
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 (0.31s)
[6245/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.97s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (2.00s)
Computing version for https://github.com/JohnSundell/Splash
Computed https://github.com/JohnSundell/Splash at 0.16.0 (0.91s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.80s)
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.64s)
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.25s)
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.92s)
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-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/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.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.1.0
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/JohnSundell/Splash
Working copy of https://github.com/JohnSundell/Splash resolved at 0.16.0
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/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 1.7.5
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.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
[6/80] Compiling cmark tagfilter.c
[7/80] Compiling cmark tasklist.c
[8/80] Compiling cmark xml.c
[9/80] Compiling cmark syntax_extension.c
[10/80] Compiling cmark registry.c
[11/80] Compiling cmark strikethrough.c
[12/80] Compiling cmark render.c
[13/80] Compiling cmark table.c
[14/80] Compiling cmark plugin.c
[15/80] Compiling cmark references.c
[16/80] Compiling cmark plaintext.c
[17/80] Compiling cmark node.c
[18/80] Compiling cmark linked_list.c
[19/80] Compiling cmark man.c
[20/80] Compiling cmark latex.c
[21/80] Compiling cmark map.c
[22/80] Write swift-version-24593BA9C3E375BF.txt
[23/80] Compiling cmark iterator.c
[24/80] Compiling cmark houdini_html_e.c
[25/80] Compiling cmark html.c
[26/80] Compiling cmark houdini_href_e.c
[27/80] Compiling cmark footnotes.c
[28/80] Compiling cmark houdini_html_u.c
[29/80] Compiling cmark inlines.c
[30/80] Compiling cmark core-extensions.c
[31/80] Compiling cmark ext_scanners.c
[32/80] Compiling cmark cmark_ctype.c
[33/90] Compiling cmark commonmark.c
[34/115] Compiling cmark cmark.c
[35/142] Compiling cmark buffer.c
[36/170] Compiling cmark arena.c
[37/170] Write sources
[39/170] Compiling cmark autolink.c
[39/170] Write sources
[45/170] Compiling cmark blocks.c
[45/170] 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.
[50/170] Compiling CNIOSHA1 c_nio_sha1.c
[50/170] Compiling cmark utf8.c
[50/170] Compiling cmark scanners.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/31] Write sources
[2/31] Compiling CNIOLinux shim.c
[3/31] Compiling CNIOLinux ifaddrs-android.c
[3/31] Compiling CNIODarwin shim.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.
[5/31] Compiling CNIOSHA1 c_nio_sha1.c
[5/31] Write swift-version-24593BA9C3E375BF.txt
[5/31] Compiling c-atomics.c
[5/31] Compiling cmark scanners.c
[5/31] Compiling cmark utf8.c
BUILD FAILURE 6.1 wasm