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 develop (1c203c), with Swift 6.1 for Wasm on 30 May 2025 11:56:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/DoccZz/docc2html.git
Reference: develop
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
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 1c203c7 Unwrap more optional strings
Cloned https://github.com/DoccZz/docc2html.git
Revision (git rev-parse @):
1c203c720635cf67ccd30d6e1c7196eed43ea95a
SUCCESS checkout https://github.com/DoccZz/docc2html.git at develop
========================================
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-4609320-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: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/559] Fetching mustache
[337/4395] Fetching mustache, swift-log
[3633/4858] Fetching mustache, swift-log, doccarchive
Fetched https://github.com/DoccZz/DocCArchive.git from cache (0.32s)
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.38s)
Fetched https://github.com/apple/swift-log.git from cache (0.38s)
Computing version for https://github.com/DoccZz/DocCArchive.git
Computed https://github.com/DoccZz/DocCArchive.git at 0.4.2 (1.08s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2 (0.72s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.55s)
Creating working copy for https://github.com/DoccZz/DocCArchive.git
Working copy of https://github.com/DoccZz/DocCArchive.git resolved at 0.4.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/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.2
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/53] Emitting module DocCArchive
[9/56] 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 |
[10/57] 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 |
[11/57] 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 |
[12/57] 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 |
[13/57] 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 |
[14/57] Emitting module Logging
[15/57] Compiling Logging Locks.swift
[16/57] Compiling Logging LogHandler.swift
[17/57] Compiling DocCArchive SchemaVersion.swift
[18/57] Compiling DocCArchive Declaration.swift
[19/57] Compiling DocCArchive HeroSection.swift
[20/57] Compiling DocCArchive Parameter.swift
[21/57] Compiling DocCArchive Section.swift
[22/57] Compiling DocCArchive Task.swift
[23/57] Compiling Logging MetadataProvider.swift
[24/57] Compiling Logging Logging.swift
[26/58] Compiling DocCArchive VolumeSection.swift
[27/58] Compiling DocCArchive TypeIdentifier.swift
[28/58] Compiling DocCArchive Utilities.swift
[29/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/58] 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 |
[31/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 |
[32/58] Compiling DocCArchive Step.swift
[33/58] Compiling DocCArchive Document.swift
[34/58] Compiling DocCArchive Fragment.swift
[35/58] Compiling DocCArchive Identifier.swift
[36/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 |
[37/58] Compiling DocCArchive DocCArchive.swift
[38/58] Compiling DocCArchive Chapter.swift
[39/58] Compiling DocCArchive CodeListing.swift
[40/58] Compiling DocCArchive Content.swift
[40/58] Wrapping AST for Logging for debugging
[41/58] Compiling DocCArchive InlineContent.swift
[42/58] Compiling DocCArchive InterfaceLanguage.swift
[43/58] Compiling DocCArchive MetaData.swift
[44/58] Compiling DocCArchive Platform.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: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 Logging Locks.swift
[3/47] Compiling Logging LogHandler.swift
[4/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 |
[5/47] 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 |
[6/48] Compiling Logging MetadataProvider.swift
[7/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 |
[8/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/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 |
[10/48] Emitting module Logging
[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 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/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 |
[14/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 |
BUILD FAILURE 6.1 wasm