The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PluginImplementation, reference 0.0.1 (db25af), with Swift 6.1 for Wasm on 27 May 2025 07:01:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/lopdo/swiftplugins-pluginimplementation.git
Reference: 0.0.1
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/lopdo/swiftplugins-pluginimplementation
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at db25afd Add basic plugin implementation
Cloned https://github.com/lopdo/swiftplugins-pluginimplementation.git
Revision (git rev-parse @):
db25afd6517a81641dd2647855414f86ea500ed1
SUCCESS checkout https://github.com/lopdo/swiftplugins-pluginimplementation.git at 0.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/lopdo/swiftplugins-pluginimplementation.git
https://github.com/lopdo/swiftplugins-pluginimplementation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftplugins-plugininterface",
      "requirement" : {
        "exact" : [
          "0.0.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Lopdo/SwiftPlugins-PluginInterface.git"
    }
  ],
  "manifest_display_name" : "PluginImplementation",
  "name" : "PluginImplementation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PluginImplementation",
      "targets" : [
        "PluginImplementation"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PluginImplementation",
      "module_type" : "SwiftTarget",
      "name" : "PluginImplementation",
      "path" : "Sources/PluginImplementation",
      "product_dependencies" : [
        "PluginInterface"
      ],
      "product_memberships" : [
        "PluginImplementation"
      ],
      "sources" : [
        "PluginImplementation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Lopdo/SwiftPlugins-PluginInterface.git
[1/15] Fetching swiftplugins-plugininterface
Fetched https://github.com/Lopdo/SwiftPlugins-PluginInterface.git from cache (0.34s)
Computing version for https://github.com/Lopdo/SwiftPlugins-PluginInterface.git
Computed https://github.com/Lopdo/SwiftPlugins-PluginInterface.git at 0.0.1 (0.88s)
Creating working copy for https://github.com/Lopdo/SwiftPlugins-PluginInterface.git
Working copy of https://github.com/Lopdo/SwiftPlugins-PluginInterface.git resolved at 0.0.1
Building for debugging...
[0/9] Write sources
[2/9] Write swift-version-24593BA9C3E375BF.txt
[4/11] Emitting module PluginInterface
[5/11] Compiling PluginInterface PluginInterface.swift
[6/12] Wrapping AST for PluginInterface for debugging
[7/12] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[8/12] Linking libPluginInterface.wasm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/7] Write swift-version-24593BA9C3E375BF.txt
[2/9] Emitting module PluginInterface
[3/9] Compiling PluginInterface PluginInterface.swift
[4/9] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[5/9] Linking libPluginInterface.wasm
BUILD FAILURE 6.1 wasm