The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 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:         android
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-53886770-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-macro-testing
[1/1002] Fetching swift-macro-testing
[1003/80988] Fetching swift-macro-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing (2.84s)
Fetched https://github.com/swiftlang/swift-syntax (2.86s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.05s)
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.19s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.5 (2.37s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.51s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.71s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6136] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.72s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (1.82s)
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/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/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 / 257]
[138 / 272] _SwiftSyntaxCShims
[166 / 273] SwiftSyntax
[170 / 282] SwiftSyntax
[175 / 285] SwiftSyntax601
[189 / 287] SwiftSyntax602
[190 / 287]
[190 / 287] SwiftSyntax
[203 / 315] SwiftParser
[206 / 315] SwiftParser
[209 / 315] SwiftDiagnostics
[212 / 315] SwiftParser
[218 / 315] SwiftParser
[220 / 315] SwiftParser
[224 / 315] SwiftParser
[225 / 315] SwiftParser-product
[226 / 315] SwiftParser-product
[227 / 315] SwiftParser-product
[229 / 315] SwiftOperators
[231 / 315] SwiftParser
[234 / 316] SwiftParser
[238 / 316] SwiftParserDiagnostics
[245 / 327] SwiftParserDiagnostics
[246 / 327] SwiftParserDiagnostics
[247 / 327] SwiftParserDiagnostics
[249 / 328] SwiftParserDiagnostics
[251 / 328] SwiftParserDiagnostics
[255 / 328] SwiftParserDiagnostics
[257 / 328] SwiftSyntaxBuilder
[263 / 348] SwiftSyntaxBuilder
[264 / 348] SwiftOperators
[267 / 348] SwiftOperators
[272 / 349] SwiftSyntaxBuilder
[274 / 349] SwiftSyntaxBuilder
[278 / 349] SwiftSyntaxBuilder
[286 / 349] SwiftOperators-product
[287 / 349] SwiftOperators-product
[291 / 349] SwiftBasicFormat
[294 / 359] SwiftSyntaxMacros
[299 / 359] SwiftSyntaxMacros
[304 / 360] SwiftSyntaxMacros
[310 / 362] SwiftSyntaxMacroExpansion
[317 / 372] SwiftSyntaxMacros
[317 / 372] SwiftSyntaxMacroExpansion
[321 / 372] SwiftSyntaxMacroExpansion
[331 / 382] SwiftCompilerPluginMessageHandling
[332 / 382] SwiftCompilerPluginMessageHandling
[334 / 382] SwiftCompilerPluginMessageHandling
[340 / 382] SwiftCompilerPluginMessageHandling
[342 / 382] SwiftCompilerPluginMessageHandling
[342 / 382] SwiftSyntaxMacroExpansion
[347 / 386] SwiftCompilerPlugin
[352 / 386] SwiftCompilerPlugin
[354 / 387] SwiftSyntax
[354 / 387] SwiftCompilerPluginMessageHandling
[356 / 388] SwiftSyntax
[359 / 389] SwiftSyntax
[366 / 389] SwiftSyntaxMacros
[374 / 390] PapyrusPlugin
[383 / 399] PapyrusPlugin
[384 / 399] PapyrusPlugin
[388 / 400] PapyrusPlugin
error: SwiftCompile normal aarch64 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:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-android-aarch64/Papyrus-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-android-aarch64/Papyrus-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-android-aarch64/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-android-aarch64/Papyrus-t.build/Objects-normal/aarch64/Papyrus_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-android-aarch64/Papyrus-t.build/Objects-normal/aarch64/Modules/Papyrus.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-android-aarch64/Papyrus-t.build/Objects-normal/aarch64/Modules/Papyrus.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-android-aarch64/Papyrus-t.build/Objects-normal/aarch64/Papyrus-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-android-aarch64/Papyrus-t.build/Objects-normal/aarch64/Papyrus-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-android-aarch64/Papyrus-t.build/Objects-normal/aarch64/Papyrus-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/papyrus.build/Debug-android-aarch64/Papyrus-t.build/Objects-normal/aarch64/Modules/Papyrus.swiftmodule
[398 / 410] Papyrus
error: Build failed
BUILD FAILURE 6.4 android