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 NPMPublishPlugin, reference 1.0.0 (8d5ee2), with Swift 6.1 for Wasm on 28 May 2025 16:18:35 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/brightdigit/NPMPublishPlugin.git
Reference: 1.0.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/brightdigit/NPMPublishPlugin
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 8d5ee2e Adding Support for Swift 5.9 DocC
Cloned https://github.com/brightdigit/NPMPublishPlugin.git
Revision (git rev-parse @):
8d5ee2e220cc84d75efea9cebc18a881ba7158f5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brightdigit/NPMPublishPlugin.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/brightdigit/NPMPublishPlugin.git
https://github.com/brightdigit/NPMPublishPlugin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "publish",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnsundell/publish.git"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnsundell/shellout.git"
    }
  ],
  "manifest_display_name" : "NPMPublishPlugin",
  "name" : "NPMPublishPlugin",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "NPMPublishPlugin",
      "targets" : [
        "NPMPublishPlugin"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NPMPublishPluginTests",
      "module_type" : "SwiftTarget",
      "name" : "NPMPublishPluginTests",
      "path" : "Tests/NPMPublishPluginTests",
      "sources" : [
        "MockPublishingContextable.swift",
        "OutputPathTests.swift",
        "PublishingContextableTests.swift",
        "ShellOutCommandTests.swift"
      ],
      "target_dependencies" : [
        "NPMPublishPlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NPMPublishPlugin",
      "module_type" : "SwiftTarget",
      "name" : "NPMPublishPlugin",
      "path" : "Sources/NPMPublishPlugin",
      "product_dependencies" : [
        "Publish",
        "ShellOut"
      ],
      "product_memberships" : [
        "NPMPublishPlugin"
      ],
      "sources" : [
        "NPM/Argument.swift",
        "NPM/ArgumentBuilder.swift",
        "NPM/Command.swift",
        "NPM/Context.swift",
        "NPM/Job.swift",
        "NPM/JobBuilder.swift",
        "NPM/Location.swift",
        "NPM/NPM.swift",
        "NPM/RelativePathMap.swift",
        "NPM/Settings.swift",
        "Output.swift",
        "OutputPath.swift",
        "PublishingContext.swift",
        "PublishingContextable.swift",
        "PublishingStep.swift",
        "ShellOutCommand.swift",
        "URL.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/johnsundell/shellout.git
Fetching https://github.com/johnsundell/publish.git
[1/960] Fetching shellout
[827/3850] Fetching shellout, publish
Fetched https://github.com/johnsundell/shellout.git from cache (0.40s)
Fetched https://github.com/johnsundell/publish.git from cache (0.40s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (3.71s)
Computing version for https://github.com/johnsundell/publish.git
Computed https://github.com/johnsundell/publish.git at 0.9.0 (2.70s)
Fetching https://github.com/johnsundell/ink.git
Fetching https://github.com/johnsundell/plot.git
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git
Fetching https://github.com/johnsundell/codextended.git
Fetching https://github.com/johnsundell/files.git
Fetching https://github.com/johnsundell/sweep.git
[1/181] Fetching codextended
[182/2086] Fetching codextended, ink
[678/2170] Fetching codextended, ink, collectionconcurrencykit
[1505/4256] Fetching codextended, ink, collectionconcurrencykit, plot
[3048/4372] Fetching codextended, ink, collectionconcurrencykit, plot, sweep
[3368/5608] Fetching codextended, ink, collectionconcurrencykit, plot, sweep, files
Fetched https://github.com/johnsundell/sweep.git from cache (0.38s)
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (0.38s)
Fetched https://github.com/johnsundell/plot.git from cache (0.39s)
Fetched https://github.com/johnsundell/codextended.git from cache (0.40s)
Fetched https://github.com/johnsundell/files.git from cache (0.40s)
Fetched https://github.com/johnsundell/ink.git from cache (0.40s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (1.00s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.2.0 (0.62s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.83s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.2.0 (1.80s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.6.0 (0.81s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.14.0 (0.72s)
Creating working copy for https://github.com/johnsundell/publish.git
Working copy of https://github.com/johnsundell/publish.git resolved at 0.9.0
Creating working copy for https://github.com/johnsundell/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.6.0
Creating working copy for https://github.com/johnsundell/codextended.git
Working copy of https://github.com/johnsundell/codextended.git resolved at 0.3.0
Creating working copy for https://github.com/johnsundell/plot.git
Working copy of https://github.com/johnsundell/plot.git resolved at 0.14.0
Creating working copy for https://github.com/johnsundell/collectionConcurrencyKit.git
Working copy of https://github.com/johnsundell/collectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/johnsundell/files.git
Working copy of https://github.com/johnsundell/files.git resolved at 4.2.0
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/johnsundell/sweep.git
Working copy of https://github.com/johnsundell/sweep.git resolved at 0.4.0
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/111] Emitting module Sweep
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/111] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/shellout/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[13/111] Emitting module Plot
[14/119] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
[15/119] Emitting module CollectionConcurrencyKit
[16/120] Compiling Plot ComponentGroup.swift
[17/120] Compiling Plot ControlFlow.swift
[18/120] Compiling Plot Directionality.swift
[19/120] Compiling Plot Document.swift
[20/120] Compiling Plot DocumentEncoding.swift
[21/120] Compiling Plot HTMLAnchorRelationship.swift
[22/120] Compiling Plot HTMLAnchorTarget.swift
[23/120] Compiling Plot HTMLAttributes.swift
[24/120] Compiling Plot HTMLAudioFormat.swift
[25/124] Emitting module Ink
[26/124] Compiling Plot Attribute.swift
[27/124] Compiling Plot Component.swift
[28/124] Compiling Plot ComponentAttributes.swift
[29/124] Compiling Plot ComponentBuilder.swift
[30/124] Compiling Plot ComponentContainer.swift
[31/124] Compiling Plot EmptyComponent.swift
[32/124] Compiling Plot EnvironmentKey.swift
[33/124] Compiling Plot EnvironmentValue.swift
[34/124] Compiling Plot HTML.swift
[35/124] Compiling Plot Element.swift
[36/124] Compiling Plot ElementClosingMode.swift
[37/124] Compiling Plot ElementComponent.swift
[38/124] Compiling Plot ElementDefinition.swift
[39/124] Compiling Plot HTMLButtonType.swift
[40/124] Compiling Plot HTMLComponents.swift
[41/124] Compiling Plot HTMLElements.swift
[42/124] Compiling Plot HTMLFormContentType.swift
[44/124] Compiling Ink TextStyle.swift
[45/124] Compiling Ink TextStyleMarker.swift
[46/124] Compiling Ink URL.swift
[47/124] Compiling Ink URLDeclaration.swift
[48/124] Compiling Plot AnyEnvironmentValue.swift
[49/124] Compiling Plot AnyNode.swift
[50/124] Compiling Plot ElementRenderingBuffer.swift
[51/124] Compiling Plot ElementWrapper.swift
[52/124] Compiling Plot Environment.swift
[53/124] Compiling Plot ModifiedComponent.swift
[54/124] Compiling Plot Renderer.swift
[55/124] Compiling Plot String+Escaping.swift
[56/124] Emitting module Codextended
[57/124] Compiling Codextended Codextended.swift
[58/124] Compiling Plot HTMLFormMethod.swift
[59/124] Compiling Plot HTMLInputType.swift
[60/124] Compiling Plot HTMLLinkRelationship.swift
[61/124] Compiling Plot HTMLListStyle.swift
[69/125] Compiling Plot Language.swift
[70/126] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/shellout/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[71/126] Compiling Sweep Sweep.swift
[72/127] Compiling Plot PodcastMediaType.swift
[73/127] Compiling Plot PodcastType.swift
[74/127] Compiling Plot RSS.swift
[75/127] Compiling Plot RSSAttributes.swift
[76/127] Compiling Plot RSSElements.swift
[77/127] Compiling Plot Renderable.swift
[78/127] Compiling Plot SiteMap.swift
[79/127] Compiling Plot SiteMapChangeFrequency.swift
[81/127] Compiling Plot Node.swift
[82/127] Compiling Plot NodeConvertible.swift
[83/127] Compiling Plot Optional+Component.swift
[84/127] Compiling Plot PodcastAttributes.swift
[85/127] Compiling Plot PodcastComponents.swift
[86/127] Compiling Plot PodcastElements.swift
[87/127] Compiling Plot PodcastEpisodeType.swift
[88/127] Compiling Plot PodcastFeed.swift
[89/127] Compiling Plot SiteMapElements.swift
[90/127] Compiling Plot TwitterCardType.swift
[91/127] Compiling Plot URLRepresentable.swift
[92/127] Compiling Plot XML.swift
[93/127] Compiling Plot XMLAttributes.swift
[94/127] Compiling Plot XMLElements.swift
[95/127] Compiling Plot AnyAttribute.swift
[96/127] Compiling Plot AnyElement.swift
[98/127] Emitting module Files
[99/127] Compiling Files Files.swift
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: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/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/38] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/shellout/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[3/42] Emitting module Sweep
[4/102] Compiling Codextended Codextended.swift
[5/102] Emitting module Codextended
[6/103] Emitting module Ink
[7/107] Compiling Plot HTMLAnchorRelationship.swift
[8/107] Compiling Plot HTMLAnchorTarget.swift
[9/107] Compiling Plot HTMLAttributes.swift
[10/107] Compiling Plot HTMLAudioFormat.swift
[12/107] Compiling Sweep Sweep.swift
[13/108] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/shellout/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[14/108] Emitting module CollectionConcurrencyKit
[15/108] Emitting module Files
BUILD FAILURE 6.1 wasm