The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Silica, reference 3.0.0 (67a05f), with Swift 6.4 for Wasm on 26 Sep 2026 06:26:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/silica.git
Reference: 3.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/pureswift/silica
 * tag               3.0.0      -> FETCH_HEAD
HEAD is now at 67a05f9 Merge pull request #21 from PureSwift/feature/multiline-text
Cloned https://github.com/pureswift/silica.git
Revision (git rev-parse @):
67a05f9415e20841ef101878213f9c20a56dfda8
SUCCESS checkout https://github.com/pureswift/silica.git at 3.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/pureswift/silica.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/PureSwift/Cairo.git
[1/3626] Fetching cairo
Fetched https://github.com/PureSwift/Cairo.git (0.95s)
Fetching https://github.com/PureSwift/FontConfig.git
[1/123] Fetching fontconfig
Fetched https://github.com/PureSwift/FontConfig.git (0.47s)
Fetching https://github.com/PureSwift/Android.git
[1/11449] Fetching android
Fetched https://github.com/PureSwift/Android.git (0.60s)
Fetching https://github.com/swiftlang/swift-java.git
[1/32491] Fetching swift-java
Fetched https://github.com/swiftlang/swift-java.git (1.03s)
Fetching https://github.com/swift-android-sdk/swift-android-native.git
[1/2011] Fetching swift-android-native
Fetched https://github.com/swift-android-sdk/swift-android-native.git (0.50s)
Fetching https://github.com/PureSwift/JavaLang.git
[1/3155] Fetching javalang
Fetched https://github.com/PureSwift/JavaLang.git (1.11s)
Fetching https://github.com/PureSwift/Kotlin.git
[1/964] Fetching kotlin
Fetched https://github.com/PureSwift/Kotlin.git (0.50s)
Fetching https://github.com/swiftlang/swift-java-jni-core
[1/607] Fetching swift-java-jni-core
Fetched https://github.com/swiftlang/swift-java-jni-core (0.50s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-log
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-collections
[1/8165] Fetching swift-log
[573/12941] Fetching swift-log, swift-subprocess
[12942/19924] Fetching swift-log, swift-subprocess, swift-system
[13152/38869] Fetching swift-log, swift-subprocess, swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-log (0.56s)
[5057/30704] Fetching swift-subprocess, swift-system, swift-argument-parser
Fetching https://github.com/swiftwasm/JavaScriptKit.git
[12319/58483] Fetching swift-subprocess, swift-system, swift-argument-parser, swift-collections
[58484/99295] Fetching swift-subprocess, swift-system, swift-argument-parser, swift-collections, javascriptkit
Fetched https://github.com/swiftlang/swift-subprocess.git (1.13s)
[59013/94519] Fetching swift-system, swift-argument-parser, swift-collections, javascriptkit
Fetched https://github.com/apple/swift-collections (1.14s)
[32867/66740] Fetching swift-system, swift-argument-parser, javascriptkit
[63068/146808] Fetching swift-system, swift-argument-parser, javascriptkit, swift-syntax
Fetched https://github.com/swiftwasm/JavaScriptKit.git (1.10s)
[62760/105996] Fetching swift-system, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-system (3.04s)
Fetched https://github.com/apple/swift-argument-parser (3.04s)
Fetched https://github.com/swiftlang/swift-syntax (3.06s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (3.24s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (1.18s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.59.0 (0.23s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.1 (0.28s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.21s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.19s)
Creating working copy for https://github.com/swift-android-sdk/swift-android-native.git
Working copy of https://github.com/swift-android-sdk/swift-android-native.git resolved at main (5f71c15)
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.4.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/PureSwift/FontConfig.git
Working copy of https://github.com/PureSwift/FontConfig.git resolved at master (02b7b62)
Creating working copy for https://github.com/PureSwift/Cairo.git
Working copy of https://github.com/PureSwift/Cairo.git resolved at master (af9fa9d)
Creating working copy for https://github.com/swiftlang/swift-java.git
Working copy of https://github.com/swiftlang/swift-java.git resolved at main (d6ff36c)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.1
Creating working copy for https://github.com/swiftlang/swift-java-jni-core
Working copy of https://github.com/swiftlang/swift-java-jni-core resolved at main (b440a0b)
Creating working copy for https://github.com/swiftwasm/JavaScriptKit.git
Working copy of https://github.com/swiftwasm/JavaScriptKit.git resolved at 0.59.0
Creating working copy for https://github.com/PureSwift/JavaLang.git
Working copy of https://github.com/PureSwift/JavaLang.git resolved at master (1b7320a)
Creating working copy for https://github.com/PureSwift/Kotlin.git
Working copy of https://github.com/PureSwift/Kotlin.git resolved at master (88a9bb9)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/PureSwift/Android.git
Working copy of https://github.com/PureSwift/Android.git resolved at master (4c941bc)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
warning: 'cairo': you may be able to install freetype2 using your system-packager:
    apt-get install libfreetype6-dev
warning: 'cairo': you may be able to install cairo using your system-packager:
    apt-get install libcairo2-dev
warning: 'fontconfig': you may be able to install fontconfig using your system-packager:
    apt-get install libfontconfig-dev
Building for debugging...
[Computing dependencies]
[Provisioning 33 / 39]
[Pre-planning 1 / 1028]
[Planning deferred tasks]
[186 / 389] SwiftSyntax509
[225 / 391] Silica
[228 / 409] SwiftSyntax
[228 / 409] SwiftSyntax602
[231 / 410] Silica
[239 / 412] SwiftSyntax602
[249 / 414] SwiftSyntax603
[254 / 415] SwiftSyntax600
[255 / 415] SwiftSyntax
[257 / 415] SwiftSyntax
[259 / 415] SwiftSyntax509
[261 / 415] Silica
[262 / 415] Silica
[263 / 415] SilicaTestSupport
[264 / 415] SilicaTestSupport
[266 / 415] Silica
[266 / 415]
[271 / 436] SilicaCoreGraphics
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Tests/SilicaTestSupport/Define.swift:43:8: error: no type for 'HTTPClient' can satisfy both 'HTTPClient == AnyObject' and 'HTTPClient : URLClient'
41 | }
42 |
43 | public extension TestAssetManager where HTTPClient == URLSession {
   |        `- error: no type for 'HTTPClient' can satisfy both 'HTTPClient == AnyObject' and 'HTTPClient : URLClient'
44 |
45 |     nonisolated(unsafe) static let shared: TestAssetManager<URLSession> = TestAssetManager(
/host/spi-builder-workspace/Tests/SilicaTestSupport/Define.swift:45:44: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLClient'
43 | public extension TestAssetManager where HTTPClient == URLSession {
44 |
45 |     nonisolated(unsafe) static let shared: TestAssetManager<URLSession> = TestAssetManager(
   |                                            `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLClient'
46 |         assets: testAssets,
47 |         cacheDirectory: URL(fileURLWithPath: TestPath.assets),
/host/spi-builder-workspace/Tests/SilicaTestSupport/Define.swift:45:75: error: 'AnyObject' cannot be used as a type conforming to protocol 'URLClient' because 'URLClient' has static requirements
43 | public extension TestAssetManager where HTTPClient == URLSession {
44 |
45 |     nonisolated(unsafe) static let shared: TestAssetManager<URLSession> = TestAssetManager(
   |                                                                           `- error: 'AnyObject' cannot be used as a type conforming to protocol 'URLClient' because 'URLClient' has static requirements
46 |         assets: testAssets,
47 |         cacheDirectory: URL(fileURLWithPath: TestPath.assets),
/host/spi-builder-workspace/Tests/SilicaTestSupport/Define.swift:48:21: error: argument type '_' expected to be an instance of a class or class-constrained type
46 |         assets: testAssets,
47 |         cacheDirectory: URL(fileURLWithPath: TestPath.assets),
48 |         httpClient: URLSession(configuration: .ephemeral)
   |                     `- error: argument type '_' expected to be an instance of a class or class-constrained type
49 |     )
50 | }
/host/spi-builder-workspace/Tests/SilicaTestSupport/Define.swift:48:21: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
46 |         assets: testAssets,
47 |         cacheDirectory: URL(fileURLWithPath: TestPath.assets),
48 |         httpClient: URLSession(configuration: .ephemeral)
   |                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
49 |     )
50 | }
/host/spi-builder-workspace/Tests/SilicaTestSupport/Define.swift:43:55: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
43 | public extension TestAssetManager where HTTPClient == URLSession {
   |                                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |
45 |     nonisolated(unsafe) static let shared: TestAssetManager<URLSession> = TestAssetManager(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Tests/SilicaTestSupport/URLClient.swift:16:28: error: cannot find type 'URLRequest' in scope
14 | public protocol URLClient {
15 |
16 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
17 | }
18 |
/host/spi-builder-workspace/Tests/SilicaTestSupport/URLClient.swift:16:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | public protocol URLClient {
15 |
16 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | }
18 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Tests/SilicaTestSupport/URLClient.swift:19:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
17 | }
18 |
19 | extension URLSession: URLClient {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
20 |
21 |     public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Tests/SilicaTestSupport/URLClient.swift:34:10: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
32 | }
33 |
34 | internal extension URLSession {
   |          `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
35 |
36 |     func _data(for request: URLRequest) async throws -> (Data, URLResponse) {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Tests/SilicaTestSupport/Define.swift /host/spi-builder-workspace/Tests/SilicaTestSupport/TestAssets.swift /host/spi-builder-workspace/Tests/SilicaTestSupport/TestStyleKit.swift /host/spi-builder-workspace/Tests/SilicaTestSupport/URLClient.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Silica.build/Debug-webassembly-wasm32/SilicaTestSupport-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Silica.build/Debug-webassembly-wasm32/SilicaTestSupport-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Silica.build/Debug-webassembly-wasm32/SilicaTestSupport-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SilicaTestSupport -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Silica.build/Debug-webassembly-wasm32/SilicaTestSupport-t.build/Objects-normal/wasm32/SilicaTestSupport_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Silica.build/Debug-webassembly-wasm32/SilicaTestSupport-t.build/Objects-normal/wasm32/Modules/SilicaTestSupport.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Silica.build/Debug-webassembly-wasm32/SilicaTestSupport-t.build/Objects-normal/wasm32/Modules/SilicaTestSupport.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Silica.build/Debug-webassembly-wasm32/SilicaTestSupport-t.build/Objects-normal/wasm32/SilicaTestSupport-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Silica.build/Debug-webassembly-wasm32/SilicaTestSupport-t.build/Objects-normal/wasm32/SilicaTestSupport-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Silica.build/Debug-webassembly-wasm32/SilicaTestSupport-t.build/Objects-normal/wasm32/SilicaTestSupport-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Silica.build/Debug-webassembly-wasm32/SilicaTestSupport-t.build/Objects-normal/wasm32/Modules/SilicaTestSupport.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm