Build Information
Failed to build PaperMC, reference 0.0.9 (5ed83c), with Swift 6.4 for Android on 28 Sep 2026 04:03:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OrzMC/PaperMC.git
Reference: 0.0.9
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/OrzMC/PaperMC
* tag 0.0.9 -> FETCH_HEAD
HEAD is now at 5ed83c8 format code and change download plugin to file unit test;
Cloned https://github.com/OrzMC/PaperMC.git
Revision (git rev-parse @):
5ed83c80d6a3fef34deae4bac2a5734a1db62cf1
SUCCESS checkout https://github.com/OrzMC/PaperMC.git at 0.0.9
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/OrzMC/PaperMC.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:13:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
11 | .iOS(.v12),
12 | .tvOS(.v12),
13 | .watchOS(.v4),
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
14 | .visionOS(.v1),
15 | ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/apple/swift-openapi-urlsession.git
Fetching https://github.com/apple/swift-openapi-generator.git
Fetching https://github.com/apple/swift-openapi-runtime.git
[1/1183] Fetching swift-openapi-urlsession
[995/8141] Fetching swift-openapi-urlsession, swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-urlsession.git (0.48s)
[2714/6958] Fetching swift-openapi-runtime
[6959/25394] Fetching swift-openapi-runtime, swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-runtime.git (0.90s)
Fetched https://github.com/apple/swift-openapi-generator.git (0.91s)
Computing version for https://github.com/apple/swift-openapi-urlsession.git
Computed https://github.com/apple/swift-openapi-urlsession.git at 1.3.1 (2.06s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-http-types
[1/1939] Fetching swift-http-types
[1940/29718] Fetching swift-http-types, swift-collections
Fetched https://github.com/apple/swift-http-types (1.23s)
Fetched https://github.com/apple/swift-collections (1.24s)
Computing version for https://github.com/apple/swift-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.12.1 (1.44s)
Computing version for https://github.com/apple/swift-openapi-generator.git
Computed https://github.com/apple/swift-openapi-generator.git at 1.13.1 (0.28s)
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-argument-parser
[1/6159] Fetching swift-algorithms
[6160/25106] Fetching swift-algorithms, swift-argument-parser
[6729/36967] Fetching swift-algorithms, swift-argument-parser, yams
Fetched https://github.com/apple/swift-algorithms (0.74s)
Fetched https://github.com/apple/swift-argument-parser (0.75s)
[6050/11861] Fetching yams
Fetched https://github.com/jpsim/Yams (1.17s)
[1/175167] Fetching openapikit
Fetched https://github.com/mattpolzin/OpenAPIKit (5.13s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (6.20s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.62s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.4.0 (0.82s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.16s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.22s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.18s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.1 (0.30s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.16s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
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/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/apple/swift-openapi-runtime.git
Working copy of https://github.com/apple/swift-openapi-runtime.git resolved at 1.12.1
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-openapi-urlsession.git
Working copy of https://github.com/apple/swift-openapi-urlsession.git resolved at 1.3.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.2
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 6.4.0
Creating working copy for https://github.com/apple/swift-openapi-generator.git
Working copy of https://github.com/apple/swift-openapi-generator.git resolved at 1.13.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 746]
[Planning deferred tasks]
[148 / 294] _NumericsShims
[157 / 341] InternalCollectionsUtilities
[158 / 341] _NumericsShims
[160 / 341] Yams
[164 / 341] ArgumentParserToolInfo
[173 / 341] InternalCollectionsUtilities
[176 / 341] InternalCollectionsUtilities
[185 / 341] Yams
[186 / 341] HTTPTypes
[197 / 341] Yams-product
[198 / 341] Yams-product
[199 / 341] Yams-product
[200 / 341] RealModule-product
[201 / 341] RealModule-product
[204 / 341] RealModule
[205 / 341] RealModule
[207 / 341] OpenAPIKitCore
[208 / 342] RealModule
[215 / 342] OpenAPIKitCore
[215 / 342] Yams
[217 / 343] Yams
[219 / 343] Yams
[222 / 343] InternalCollectionsUtilities
[225 / 344] SpanPreview
[227 / 344] InternalCollectionsUtilities
[232 / 344] OpenAPIRuntime
[236 / 345] InternalCollectionsUtilities
[238 / 345] InternalCollectionsUtilities
[240 / 345] HTTPTypes
[247 / 351] RealModule
[249 / 355] SpanPreview
[250 / 356] SpanPreview
[252 / 356] SpanPreview
[258 / 357] SpanPreview
[262 / 357]
[264 / 358] SpanPreview
[264 / 358] Algorithms
[271 / 403] OpenAPIRuntime
[271 / 412] ArgumentParser
[275 / 412] ArgumentParser
[277 / 413] ArgumentParser
[282 / 413] OpenAPIRuntime
[284 / 413] OpenAPIRuntime
[286 / 413] OpenAPIRuntime
[301 / 413] OpenAPIRuntime
[304 / 413] Algorithms
[309 / 413] OpenAPIKit30
[311 / 413] OpenAPIKit30
[312 / 413] OpenAPIKit30-product
[313 / 413] OpenAPIKit30-product
[314 / 413] OpenAPIRuntime
[317 / 414] DequeModule
[323 / 414] OpenAPIRuntime
[325 / 414] OpenAPIKit
[326 / 414] OpenAPIKit
[327 / 414] OpenAPIKit30
[328 / 414] OpenAPIKitCompat
[329 / 414] OpenAPIKit-product
[331 / 414] HTTPTypes
[333 / 415] OpenAPIKit30
[337 / 415] OpenAPIKit30
[338 / 415] HTTPTypes
[339 / 415] DequeModule
[340 / 415] DequeModule-product
[341 / 415] DequeModule-product
[342 / 415] DequeModule
[346 / 415] ArgumentParser-product
[347 / 415] ArgumentParser-product
[349 / 415] Algorithms
[350 / 415] Algorithms-product
[351 / 415] Algorithms-product
[354 / 415] Algorithms
[356 / 415]
[359 / 423] OpenAPIURLSession
[360 / 424] OpenAPIURLSession
[361 / 424] OpenAPIURLSession
[362 / 424] OpenAPIURLSession
[366 / 425]
[379 / 429] HTTPTypes
[382 / 434] OpenAPIKit30-product
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/Common/SimpleDownloader.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile SimpleDownloader.swift
/host/spi-builder-workspace/Sources/Common/SimpleDownloader.swift:3:50: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m public func downloadFileWithBuffer(from url: URL, bufferSize: Int = 512 * 1024) async throws -> (stream: AsyncStream<Result<Data, Error>>, size: Int64) {
[0;36m3 |[0;0m let (bytes, response) = try await [4;39mURLSession[0;0m.[4;39mshared[0;0m.bytes(from: url)
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m4 |[0;0m
[0;36m5 |[0;0m guard let httpResponse = response as? HTTPURLResponse,
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Common/ISO8601DateTranscoder.swift -primary-file /host/spi-builder-workspace/Sources/Common/SimpleDownloader.swift /host/spi-builder-workspace/Sources/Common/TimestampParser.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-android-aarch64/Common-t.build/Objects-normal/aarch64/SimpleDownloader.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-android-aarch64/Common-t.build/Objects-normal/aarch64/SimpleDownloader.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-android-aarch64/Common-t.build/Objects-normal/aarch64/SimpleDownloader.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-android-aarch64/Common-t.build/Objects-normal/aarch64/SimpleDownloader.dia -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 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 /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/PaperMC.build/Debug-android-aarch64/Common-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-android-aarch64/Common-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-android-aarch64/Common-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Common -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-android-aarch64/Common-t.build/Objects-normal/aarch64/Common_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaperMC.build/Debug-android-aarch64/Common-t.build/Objects-normal/aarch64/SimpleDownloader.o -index-unit-output-path /PaperMC.build/Debug-android-aarch64/Common-t.build/Objects-normal/aarch64/SimpleDownloader.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[391 / 434] Common
error: Build failed
BUILD FAILURE 6.4 android