The Swift Package Index logo.Swift Package Index

Build Information

Failed to build papyrus, reference main (63fbe1), with Swift 6.4 for Wasm on 20 Sep 2026 17:37:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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/joshuawright11/papyrus.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/joshuawright11/papyrus
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 63fbe12 bump swift-syntax
Cloned https://github.com/joshuawright11/papyrus.git
Revision (git rev-parse @):
63fbe12b859fdc1dd7b66be807f423c3f21d12b3
SUCCESS checkout https://github.com/joshuawright11/papyrus.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/joshuawright11/papyrus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/pointfreeco/swift-macro-testing
Fetching https://github.com/swiftlang/swift-syntax
[1/1002] Fetching swift-macro-testing
[1003/80988] Fetching swift-macro-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing (2.88s)
Fetched https://github.com/swiftlang/swift-syntax (2.90s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.07s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.7.0 (0.18s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16416] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.02s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.5 (2.20s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.57s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.76s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6136] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.76s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (1.86s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.5
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.0
Creating working copy for https://github.com/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.7.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 624]
[Planning deferred tasks]
[1 / 255]
[137 / 270] _SwiftSyntaxCShims
[169 / 280] SwiftSyntax
[179 / 283] SwiftSyntax601
[183 / 284] SwiftSyntax601
[189 / 285] SwiftSyntax
[202 / 313] SwiftParser
[206 / 313] SwiftDiagnostics
[212 / 313] SwiftBasicFormat
[217 / 313] SwiftParser
[218 / 313] SwiftParser
[224 / 313] SwiftParser
[225 / 313] SwiftParser
[226 / 313] SwiftParser
[227 / 313] SwiftParser-product
[231 / 313] SwiftDiagnostics
[232 / 313] SwiftBasicFormat
[233 / 313] SwiftBasicFormat
[234 / 314] SwiftBasicFormat
[239 / 315] SwiftBasicFormat
[241 / 315]
[246 / 335] SwiftOperators
[247 / 335] SwiftParserDiagnostics
[248 / 336] SwiftParserDiagnostics
[251 / 336] SwiftParserDiagnostics
[257 / 336] SwiftParserDiagnostics
[261 / 336] SwiftParserDiagnostics
[262 / 336] SwiftParserDiagnostics
[264 / 336] SwiftParserDiagnostics-product
[266 / 336] SwiftParserDiagnostics
[269 / 337] SwiftOperators
[271 / 337] SwiftOperators
[275 / 338] SwiftSyntaxBuilder
[279 / 347] SwiftOperators
[281 / 348] SwiftSyntaxBuilder
[283 / 348] SwiftSyntaxBuilder
[284 / 348] SwiftSyntaxBuilder
[285 / 348] SwiftOperators
[295 / 358] SwiftSyntaxMacros
[304 / 358] SwiftSyntaxBuilder
[308 / 359]
[313 / 368] SwiftSyntaxMacroExpansion
[315 / 369] SwiftSyntaxMacros
[318 / 370] SwiftSyntaxMacros
[330 / 380] SwiftCompilerPluginMessageHandling
[332 / 380] SwiftCompilerPluginMessageHandling
[333 / 380] SwiftCompilerPluginMessageHandling
[334 / 380] SwiftCompilerPluginMessageHandling
[337 / 380] SwiftCompilerPluginMessageHandling
[341 / 380] SwiftCompilerPluginMessageHandling
[344 / 383]
[349 / 384] SwiftCompilerPlugin
[351 / 384] SwiftSyntaxMacroExpansion
[353 / 385] SwiftCompilerPluginMessageHandling
[355 / 386] SwiftSyntax
[358 / 387] SwiftSyntax
[365 / 387] SwiftSyntaxMacros
[373 / 388] PapyrusPlugin
[382 / 397] PapyrusPlugin
[383 / 397] PapyrusPlugin
[387 / 398] PapyrusPlugin
[397 / 408] Papyrus
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: value of type '_' expected to be instance of class or class-constrained type
  6 | extension Provider {
  7 |     public convenience init(baseURL: String,
  8 |                             urlSession: URLSession = .shared,
    |                                                       `- error: value of type '_' expected to be instance of class or class-constrained type
  9 |                             modifiers: [RequestModifier] = [],
 10 |                             interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 15 | // MARK: `HTTPService` Conformance
 16 |
 17 | extension URLSession: HTTPService {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 18 |     public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
 19 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
 48 |
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
    |                            `- error: cannot find type 'URLRequest' in scope
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
 52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 | extension PapyrusResponse {
 50 |     public var urlRequest: URLRequest { (self as! _Response).urlRequest }
 51 |     public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 | }
 53 |
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
 53 |
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
    |                     `- error: cannot find type 'URLRequest' in scope
 56 |     let urlResponse: URLResponse?
 57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 | private struct _Response: PapyrusResponse {
 55 |     let urlRequest: URLRequest
 56 |     let urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |     var request: PapyrusRequest? { urlRequest }
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                   `- error: cannot find type 'URLRequest' in scope
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
 63 |
 64 |     init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         self.urlRequest = request
 66 |         self.urlResponse = response
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/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
 87 |
 88 | extension PapyrusRequest {
 89 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 90 |         (self as! URLRequest)
 91 |     }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
 92 | }
 93 |
 94 | extension URLRequest: PapyrusRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 95 |     public var body: Data? {
 96 |         get { httpBody }
[#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/Papyrus/Sources/Coders.swift /host/spi-builder-workspace/Papyrus/Sources/Extensions/String+Multipart.swift /host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift /host/spi-builder-workspace/Papyrus/Sources/HTTPBodyDecoder.swift /host/spi-builder-workspace/Papyrus/Sources/HTTPBodyEncoder.swift /host/spi-builder-workspace/Papyrus/Sources/HTTPService.swift /host/spi-builder-workspace/Papyrus/Sources/Interceptors/CurlInterceptor.swift /host/spi-builder-workspace/Papyrus/Sources/KeyMappable.swift /host/spi-builder-workspace/Papyrus/Sources/KeyMapping.swift /host/spi-builder-workspace/Papyrus/Sources/Multipart/MultipartDecoder.swift /host/spi-builder-workspace/Papyrus/Sources/Multipart/MultipartEncoder.swift /host/spi-builder-workspace/Papyrus/Sources/Multipart/Part.swift /host/spi-builder-workspace/Papyrus/Sources/PapyrusError.swift /host/spi-builder-workspace/Papyrus/Sources/PapyrusMacros.swift /host/spi-builder-workspace/Papyrus/Sources/PapyrusRequest.swift /host/spi-builder-workspace/Papyrus/Sources/PapyrusResponse.swift /host/spi-builder-workspace/Papyrus/Sources/Provider.swift /host/spi-builder-workspace/Papyrus/Sources/RequestBuilder.swift /host/spi-builder-workspace/Papyrus/Sources/Routing/PapyrusRouter.swift /host/spi-builder-workspace/Papyrus/Sources/Routing/RequestParser.swift /host/spi-builder-workspace/Papyrus/Sources/Routing/RouterRequest.swift /host/spi-builder-workspace/Papyrus/Sources/Routing/RouterResponse.swift /host/spi-builder-workspace/Papyrus/Sources/URLEncoded/URLEncodedForm.swift /host/spi-builder-workspace/Papyrus/Sources/URLEncoded/URLEncodedFormDecoder.swift /host/spi-builder-workspace/Papyrus/Sources/URLEncoded/URLEncodedFormEncoder.swift /host/spi-builder-workspace/Papyrus/Sources/URLEncoded/URLEncodedFormNode.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 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/PapyrusPlugin\#PapyrusPlugin -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/papyrus.build/Debug-webassembly-wasm32/Papyrus-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-webassembly-wasm32/Papyrus-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-webassembly-wasm32/Papyrus-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Papyrus -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-webassembly-wasm32/Papyrus-t.build/Objects-normal/wasm32/Papyrus_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/papyrus.build/Debug-webassembly-wasm32/Papyrus-t.build/Objects-normal/wasm32/Modules/Papyrus.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-webassembly-wasm32/Papyrus-t.build/Objects-normal/wasm32/Modules/Papyrus.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-webassembly-wasm32/Papyrus-t.build/Objects-normal/wasm32/Papyrus-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-webassembly-wasm32/Papyrus-t.build/Objects-normal/wasm32/Papyrus-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-webassembly-wasm32/Papyrus-t.build/Objects-normal/wasm32/Papyrus-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-webassembly-wasm32/Papyrus-t.build/Objects-normal/wasm32/Modules/Papyrus.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm