The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build docc2html, reference 0.6.3 (3e3f46), with Swift 6.1 for Wasm on 30 May 2025 11:56:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/DoccZz/docc2html.git
Reference: 0.6.3
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/DoccZz/docc2html
 * tag               0.6.3      -> FETCH_HEAD
HEAD is now at 3e3f461 Merge branch 'develop'
Cloned https://github.com/DoccZz/docc2html.git
Revision (git rev-parse @):
3e3f461faef463f1d35742e7515803da3f9fb547
SUCCESS checkout https://github.com/DoccZz/docc2html.git at 0.6.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/DoccZz/docc2html.git
https://github.com/DoccZz/docc2html.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "mustache",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AlwaysRightInstitute/mustache.git"
    },
    {
      "identity" : "doccarchive",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/DoccZz/DocCArchive.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "docc2html",
  "name" : "docc2html",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "DocCHTMLExporter",
      "targets" : [
        "DocCHTMLExporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DocCStaticExporter",
      "targets" : [
        "DocCStaticExporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "docc2html",
      "targets" : [
        "docc2html"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "docc2html",
      "module_type" : "SwiftTarget",
      "name" : "docc2html",
      "path" : "Sources/docc2html",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "docc2html"
      ],
      "sources" : [
        "ExitCode.swift",
        "LoadTemplates.swift",
        "Options.swift",
        "Utilities/Console.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "DocCStaticExporter"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DocCStaticExporter",
      "module_type" : "SwiftTarget",
      "name" : "DocCStaticExporter",
      "path" : "Sources/DocCStaticExporter",
      "product_dependencies" : [
        "DocCArchive",
        "Logging"
      ],
      "product_memberships" : [
        "DocCStaticExporter",
        "docc2html"
      ],
      "sources" : [
        "DocCFileSystemExportTarget.swift",
        "DocCStaticExportError.swift",
        "DocCStaticExportTarget.swift",
        "DocCStaticExporter.swift",
        "Utilities/Console.swift"
      ],
      "target_dependencies" : [
        "DocCHTMLExporter"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DocCHTMLExporter",
      "module_type" : "SwiftTarget",
      "name" : "DocCHTMLExporter",
      "path" : "Sources/DocCHTMLExporter",
      "product_dependencies" : [
        "DocCArchive",
        "Mustache",
        "Logging"
      ],
      "product_memberships" : [
        "DocCHTMLExporter",
        "DocCStaticExporter",
        "docc2html"
      ],
      "sources" : [
        "BuildDocument.swift",
        "BuildNavigation.swift",
        "DZRenderingContext.swift",
        "ExternalLinks.swift",
        "HTML/ContentHTML.swift",
        "HTML/FragmentHTML.swift",
        "HTML/InlineContentHTML.swift",
        "HTML/ReferenceHTML.swift",
        "HTML/SectionHTML.swift",
        "Templates/CodeListing.swift",
        "Templates/DeclarationSection.swift",
        "Templates/DocumentContent.swift",
        "Templates/Hero.swift",
        "Templates/Navigation.swift",
        "Templates/Page.swift",
        "Templates/ParametersSection.swift",
        "Templates/PrimaryContent.swift",
        "Templates/Sections.swift",
        "Templates/StepContent.swift",
        "Templates/Stylesheet.swift",
        "Templates/Task.swift",
        "Templates/TopicTitle.swift",
        "Templates/Volume.swift",
        "Utilities/AnchorString.swift",
        "Utilities/Console.swift",
        "Utilities/HTMLEscape.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/DoccZz/DocCArchive.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/463] Fetching doccarchive
[464/1022] Fetching doccarchive, mustache
[845/4858] Fetching doccarchive, mustache, swift-log
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.41s)
Fetched https://github.com/DoccZz/DocCArchive.git from cache (0.41s)
Fetched https://github.com/apple/swift-log.git from cache (0.42s)
Computing version for https://github.com/DoccZz/DocCArchive.git
Computed https://github.com/DoccZz/DocCArchive.git at 0.4.2 (1.67s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2 (1.31s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.86s)
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.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.6.3
Creating working copy for https://github.com/DoccZz/DocCArchive.git
Working copy of https://github.com/DoccZz/DocCArchive.git resolved at 0.4.2
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/53] Emitting module Mustache
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[9/53] Compiling Mustache MustacheRenderingContext.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[10/53] Compiling Mustache MustacheRendering.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[11/54] Compiling Mustache MustacheParser.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[12/54] Compiling Mustache Mustachable.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[13/54] Compiling Mustache MustacheNode.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[14/54] Compiling DocCArchive SchemaVersion.swift
[15/54] Compiling DocCArchive Declaration.swift
[16/54] Compiling DocCArchive HeroSection.swift
[17/54] Compiling DocCArchive Parameter.swift
[18/54] Compiling DocCArchive Section.swift
[19/54] Compiling DocCArchive Task.swift
[20/57] Compiling Logging MetadataProvider.swift
[21/57] Compiling Logging LogHandler.swift
[22/57] Compiling Logging Locks.swift
[23/57] Compiling Logging Logging.swift
[24/57] Emitting module Logging
[25/58] Compiling DocCArchive Reference.swift
[26/58] Compiling DocCArchive SectionReference.swift
[27/58] Compiling DocCArchive TopicReference.swift
[28/58] Compiling Mustache SimpleKVC.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[29/58] Compiling DocCArchive InlineContent.swift
[30/58] Compiling DocCArchive InterfaceLanguage.swift
[31/58] Compiling DocCArchive MetaData.swift
[32/58] Compiling DocCArchive Platform.swift
[33/58] Compiling DocCArchive FileReference.swift
[34/58] Compiling DocCArchive ImageReference.swift
[35/58] Compiling DocCArchive LinkReference.swift
[37/58] Compiling Mustache Helpers.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[38/58] Compiling Mustache HTMLEscape.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[38/58] Wrapping AST for Logging for debugging
[39/58] Emitting module DocCArchive
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/47] Compiling Mustache HTMLEscape.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[3/48] Compiling Mustache SimpleKVC.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[4/48] Compiling Mustache MustacheRenderingContext.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[5/48] Compiling Mustache MustacheRendering.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[6/48] Compiling Logging MetadataProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/48] Emitting module Mustache
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[8/48] Compiling Mustache MustacheNode.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[9/48] Compiling Mustache Helpers.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[10/48] Compiling Mustache Mustachable.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[11/48] Compiling Mustache MustacheParser.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[12/48] Compiling Logging LogHandler.swift
[13/48] Emitting module Logging
BUILD FAILURE 6.1 wasm