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 main (ee72ed), with Swift 6.1 for Wasm on 28 May 2025 16:18:12 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/brightdigit/NPMPublishPlugin.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ee72ed2 Merge pull request #8 from brightdigit/leogdion-patch-1
Cloned https://github.com/brightdigit/NPMPublishPlugin.git
Revision (git rev-parse @):
ee72ed2edfa5be24cc741c551e2d00e13df12292
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brightdigit/NPMPublishPlugin.git at main
========================================
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-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/johnsundell/publish.git
Fetching https://github.com/johnsundell/shellout.git
[1/2890] Fetching publish
[2/3850] Fetching publish, shellout
Fetched https://github.com/johnsundell/shellout.git from cache (0.48s)
Fetched https://github.com/johnsundell/publish.git from cache (0.51s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (3.81s)
Computing version for https://github.com/johnsundell/publish.git
Computed https://github.com/johnsundell/publish.git at 0.9.0 (2.12s)
Fetching https://github.com/johnsundell/ink.git
Fetching https://github.com/johnsundell/files.git
Fetching https://github.com/johnsundell/sweep.git
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git
Fetching https://github.com/johnsundell/codextended.git
Fetching https://github.com/johnsundell/plot.git
[1/1236] Fetching files
[236/3141] Fetching files, ink
[3142/3257] Fetching files, ink, sweep
[3258/3438] Fetching files, ink, sweep, codextended
[3336/3522] Fetching files, ink, sweep, codextended, collectionconcurrencykit
[3424/5608] Fetching files, ink, sweep, codextended, collectionconcurrencykit, plot
Fetched https://github.com/johnsundell/sweep.git from cache (0.33s)
Fetched https://github.com/johnsundell/codextended.git from cache (0.34s)
Fetched https://github.com/johnsundell/ink.git from cache (0.34s)
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (0.34s)
Fetched https://github.com/johnsundell/files.git from cache (0.34s)
Fetched https://github.com/johnsundell/plot.git from cache (0.34s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (0.88s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.2.0 (0.52s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.51s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.2.0 (0.50s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.6.0 (0.49s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.14.0 (0.49s)
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/sweep.git
Working copy of https://github.com/johnsundell/sweep.git resolved at 0.4.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/publish.git
Working copy of https://github.com/johnsundell/publish.git resolved at 0.9.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/shellout.git
Working copy of https://github.com/johnsundell/shellout.git resolved at 2.3.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
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/111] Emitting module Ink
[12/115] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
[13/115] Emitting module CollectionConcurrencyKit
[14/116] Compiling Ink TextStyle.swift
[15/116] Compiling Ink TextStyleMarker.swift
[16/116] Compiling Ink URL.swift
[17/116] Compiling Ink URLDeclaration.swift
[18/116] Compiling Plot HTMLInputType.swift
[19/116] Compiling Plot HTMLLinkRelationship.swift
[20/116] Compiling Plot HTMLListStyle.swift
[21/116] Compiling Plot HTMLVideoFormat.swift
[22/116] Compiling Plot HTMLViewportFitMode.swift
[23/116] Compiling Plot HTMLViewportWidthMode.swift
[24/116] Compiling Plot Indentation.swift
[25/116] Compiling Plot Language.swift
[26/116] Compiling Plot DocumentEncoding.swift
[27/116] Compiling Plot Element.swift
[28/116] Compiling Plot ElementClosingMode.swift
[29/116] Compiling Plot ElementComponent.swift
[30/116] Compiling Plot ElementDefinition.swift
[31/116] Compiling Plot EmptyComponent.swift
[32/116] Compiling Plot EnvironmentKey.swift
[33/116] Compiling Plot EnvironmentValue.swift
[34/116] Compiling Plot HTML.swift
[35/116] Compiling Plot HTMLAnchorRelationship.swift
[36/116] Compiling Plot HTMLAnchorTarget.swift
[37/116] Compiling Plot HTMLAttributes.swift
[38/116] Compiling Plot HTMLAudioFormat.swift
[39/116] Compiling Plot HTMLButtonType.swift
[41/116] Compiling Plot SiteMapElements.swift
[42/116] Compiling Plot TwitterCardType.swift
[43/116] Compiling Plot URLRepresentable.swift
[44/116] Compiling Plot XML.swift
[49/116] Emitting module Sweep
[50/116] Compiling Sweep Sweep.swift
[51/124] Emitting module Files
[52/124] Emitting module Codextended
[53/124] Compiling Codextended Codextended.swift
[54/124] Compiling Files Files.swift
[55/127] Compiling Plot PodcastMediaType.swift
[56/127] Compiling Plot PodcastType.swift
[57/127] Compiling Plot RSS.swift
[58/127] Compiling Plot RSSAttributes.swift
[59/127] Compiling Plot RSSElements.swift
[60/127] Compiling Plot Renderable.swift
[61/127] Compiling Plot SiteMap.swift
[62/127] Compiling Plot SiteMapChangeFrequency.swift
[63/127] Compiling Plot Node.swift
[64/127] Compiling Plot NodeConvertible.swift
[65/127] Compiling Plot Optional+Component.swift
[66/127] Compiling Plot PodcastAttributes.swift
[67/127] Compiling Plot PodcastComponents.swift
[68/127] Compiling Plot PodcastElements.swift
[69/127] Compiling Plot PodcastEpisodeType.swift
[70/127] Compiling Plot PodcastFeed.swift
[79/127] Compiling Plot Attribute.swift
[80/127] Compiling Plot Component.swift
[81/127] Compiling Plot ComponentAttributes.swift
[82/127] Compiling Plot ComponentBuilder.swift
[83/127] Compiling Plot ComponentContainer.swift
[84/127] Compiling Plot ComponentGroup.swift
[85/127] Compiling Plot ControlFlow.swift
[86/127] Compiling Plot Directionality.swift
[87/127] Compiling Plot Document.swift
[88/127] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[89/127] 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
[99/127] Compiling Plot HTMLComponents.swift
[100/127] Compiling Plot HTMLElements.swift
[101/127] Compiling Plot HTMLFormContentType.swift
[102/127] Compiling Plot HTMLFormMethod.swift
[116/127] Emitting module Plot
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/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/102] 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/102] 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
[4/102] Emitting module Codextended
[5/102] Emitting module CollectionConcurrencyKit
[6/102] Emitting module Sweep
[7/102] Emitting module Files
BUILD FAILURE 6.1 wasm