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 swift-webview2core, reference main (9afd97), with Swift 6.1 for Wasm on 10 Jun 2025 06:30:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/stackotter/swift-webview2core.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/stackotter/swift-webview2core
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9afd974 Initial WebView2Core bindings
Cloned https://github.com/stackotter/swift-webview2core.git
Revision (git rev-parse @):
9afd97424f844478914ca4512c8ca0a2d3a2bb67
SUCCESS checkout https://github.com/stackotter/swift-webview2core.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/stackotter/swift-webview2core.git
https://github.com/stackotter/swift-webview2core.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-cwinrt",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/thebrowsercompany/swift-cwinrt"
    },
    {
      "identity" : "swift-uwp",
      "requirement" : {
        "branch" : [
          "c9d3fc079aaaa5113cde9a0132278fb83e808599"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stackotter/swift-uwp"
    },
    {
      "identity" : "swift-windowsfoundation",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/thebrowsercompany/swift-windowsfoundation"
    }
  ],
  "manifest_display_name" : "swift-webview2core",
  "name" : "swift-webview2core",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "WebView2Core",
      "targets" : [
        "WebView2Core"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WebView2Core",
      "module_type" : "SwiftTarget",
      "name" : "WebView2Core",
      "path" : "Sources/WebView2Core",
      "product_dependencies" : [
        "CWinRT",
        "UWP",
        "WindowsFoundation"
      ],
      "product_memberships" : [
        "WebView2Core"
      ],
      "sources" : [
        "Generated/Microsoft.Web.WebView2.Core+ABI.swift",
        "Generated/Microsoft.Web.WebView2.Core+Impl.swift",
        "Generated/Microsoft.Web.WebView2.Core.swift",
        "Generated/WebView2Core+Generics.swift",
        "Generated/WebView2Core+MakeFromAbi.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/thebrowsercompany/swift-cwinrt
[1/436] Fetching swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (0.53s)
Fetching https://github.com/stackotter/swift-uwp
[1/245] Fetching swift-uwp
Fetched https://github.com/stackotter/swift-uwp from cache (0.40s)
Fetching https://github.com/thebrowsercompany/swift-windowsfoundation
[1/72] Fetching swift-windowsfoundation
Fetched https://github.com/thebrowsercompany/swift-windowsfoundation from cache (0.27s)
Creating working copy for https://github.com/thebrowsercompany/swift-cwinrt
Working copy of https://github.com/thebrowsercompany/swift-cwinrt resolved at main (3e3d5a0)
Creating working copy for https://github.com/thebrowsercompany/swift-windowsfoundation
Working copy of https://github.com/thebrowsercompany/swift-windowsfoundation resolved at main (dbe1456)
Creating working copy for https://github.com/stackotter/swift-uwp
Working copy of https://github.com/stackotter/swift-uwp resolved at c9d3fc079aaaa5113cde9a0132278fb83e808599
Building for debugging...
[0/16] Write sources
[3/16] Compiling CWinRT shim.c
[4/16] Write swift-version-24593BA9C3E375BF.txt
[5/16] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[6/16] Linking libCWinRT.wasm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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...
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[0/11] Linking libCWinRT.wasm
[0/11] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm