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-svg-printer, reference main (672ed3), with Swift 6.2 for Wasm on 4 Nov 2025 21:01:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/coenttb/swift-svg-printer.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/coenttb/swift-svg-printer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 672ed32 chore: disable nesting rule for namespacing flexibility
Cloned https://github.com/coenttb/swift-svg-printer.git
Revision (git rev-parse @):
672ed32ab0dc5fb21171ba5d22bba512f9a47e62
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/coenttb/swift-svg-printer.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/coenttb/swift-svg-printer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/coenttb/swift-svg-types
Fetching https://github.com/pointfreeco/swift-dependencies
[1/6392] Fetching swift-dependencies
[193/6563] Fetching swift-dependencies, swift-svg-types
[6564/24849] Fetching swift-dependencies, swift-svg-types, swift-collections
Fetched https://github.com/coenttb/swift-svg-types from cache (0.47s)
[6575/24678] Fetching swift-dependencies, swift-collections
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.50s)
[732/18286] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.70s)
Computing version for https://github.com/coenttb/swift-svg-types
Computed https://github.com/coenttb/swift-svg-types at 0.1.0 (2.16s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.3.0 (0.63s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.10.0 (0.58s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/swiftlang/swift-syntax
[1/883] Fetching swift-concurrency-extras
[884/3405] Fetching swift-concurrency-extras, combine-schedulers
[960/4697] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks
[4698/10249] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks, xctest-dynamic-overlay
[10250/82963] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.97s)
[13320/81671] Fetching swift-concurrency-extras, combine-schedulers, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.99s)
[8495/76119] Fetching swift-concurrency-extras, combine-schedulers, swift-syntax
Fetched https://github.com/pointfreeco/combine-schedulers from cache (7.81s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (7.82s)
Fetched https://github.com/swiftlang/swift-syntax from cache (7.89s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (8.33s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.46s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.46s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (0.39s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (2.65s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.3.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.10.0
Creating working copy for https://github.com/coenttb/swift-svg-types
Working copy of https://github.com/coenttb/swift-svg-types resolved at 0.1.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.7.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.58s)
Building for debugging...
[0/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/20] Emitting module IssueReportingPackageSupport
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:4:19: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 2 | package struct _Test {
 3 |   @usableFromInline
 4 |   package let id: AnyHashable
   |                   `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 5 |
 6 |   @usableFromInline
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:10:20: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 8 |
 9 |   @usableFromInline
10 |   package init(id: AnyHashable, traits: [any Sendable]) {
   |                    `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
11 |     self.id = id
12 |     self.traits = traits
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/20] Emitting module ConcurrencyExtras
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/AsyncStream.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | extension AsyncStream {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/20] Emitting module SVGTypes
/host/spi-builder-workspace/.build/checkouts/swift-svg-types/Sources/SVGTypes/SVGElement.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Represents an SVG `<svg>` root element.
[16/20] Compiling IssueReportingPackageSupport _Test.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:4:19: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 2 | package struct _Test {
 3 |   @usableFromInline
 4 |   package let id: AnyHashable
   |                   `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 5 |
 6 |   @usableFromInline
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:10:20: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 8 |
 9 |   @usableFromInline
10 |   package init(id: AnyHashable, traits: [any Sendable]) {
   |                    `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
11 |     self.id = id
12 |     self.traits = traits
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
BUILD FAILURE 6.2 wasm