Build Information
Failed to build PaperMC, reference main (19ae5a), with Swift 6.4 for Android on 28 Sep 2026 04:03:50 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: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: 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/OrzMC/PaperMC
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 19ae5af chore: add Apache-2.0 LICENSE
Cloned https://github.com/OrzMC/PaperMC.git
Revision (git rev-parse @):
19ae5af4452d04d84342f83748aa873a8e2de3f0
SUCCESS checkout https://github.com/OrzMC/PaperMC.git at main
========================================
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-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: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-runtime.git
Fetching https://github.com/apple/swift-openapi-urlsession.git
Fetching https://github.com/apple/swift-openapi-generator.git
[1/1183] Fetching swift-openapi-urlsession
[1184/8141] Fetching swift-openapi-urlsession, swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime.git (0.58s)
[1/18436] Fetching swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-urlsession.git (0.85s)
Fetched https://github.com/apple/swift-openapi-generator.git (0.85s)
Computing version for https://github.com/apple/swift-openapi-urlsession.git
Computed https://github.com/apple/swift-openapi-urlsession.git at 1.3.1 (1.97s)
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-collections
[1/1939] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (0.46s)
[1/27779] Fetching swift-collections
Fetched https://github.com/apple/swift-collections (1.29s)
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.48s)
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.25s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/mattpolzin/OpenAPIKit
[1/6159] Fetching swift-algorithms
[6160/18020] Fetching swift-algorithms, yams
[6161/36967] Fetching swift-algorithms, yams, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms (0.54s)
[1044/30808] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.76s)
[7473/11861] Fetching yams
[11862/187028] Fetching yams, openapikit
Fetched https://github.com/jpsim/Yams (4.73s)
Fetched https://github.com/mattpolzin/OpenAPIKit (4.78s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (5.84s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.60s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.4.0 (0.79s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.15s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.21s)
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/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.1 (0.29s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.15s)
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/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/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 6.4.0
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-openapi-generator.git
Working copy of https://github.com/apple/swift-openapi-generator.git resolved at 1.13.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-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-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-openapi-urlsession.git
Working copy of https://github.com/apple/swift-openapi-urlsession.git resolved at 1.3.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 746]
[Planning deferred tasks]
[149 / 293] CYaml
[159 / 341] Yams
[160 / 341] ArgumentParserToolInfo
[164 / 341] ArgumentParserToolInfo
[174 / 341] Yams
[175 / 341] InternalCollectionsUtilities
[186 / 341] Yams
[186 / 341] HTTPTypes
[197 / 341] Yams-product
[199 / 341] Yams-product
[201 / 341] RealModule-product
[205 / 341] RealModule
[206 / 341] OpenAPIKitCore
[208 / 342] RealModule
[210 / 342] RealModule
[217 / 342] InternalCollectionsUtilities
[218 / 343] OpenAPIKit30
[220 / 343] OpenAPIKitCore
[223 / 343] InternalCollectionsUtilities
[224 / 343] InternalCollectionsUtilities
[226 / 344] OpenAPIKitCore
[231 / 344] HTTPTypes
[232 / 344] HTTPTypes-product
[237 / 345] InternalCollectionsUtilities
[244 / 349] OpenAPIKit
[246 / 362] OpenAPIRuntime
[257 / 380] SpanPreview
[259 / 381] SpanPreview
[261 / 381] SpanPreview
[263 / 382] OpenAPIRuntime
[267 / 383] OpenAPIKit30
[271 / 383] OpenAPIRuntime
[279 / 383] OpenAPIKit
[282 / 383] OpenAPIRuntime
[284 / 383] OpenAPIRuntime-product
[285 / 383] OpenAPIKit30
[287 / 383] OpenAPIKit30-product
[288 / 383] OpenAPIRuntime
[289 / 384] OpenAPIKit30
[291 / 384] OpenAPIKit30
[294 / 384] OpenAPIKit
[296 / 384] OpenAPIKit
[297 / 384] OpenAPIKitCompat
[298 / 384] OpenAPIKitCompat
[300 / 384] DequeModule
[305 / 384] ArgumentParserToolInfo
[310 / 388] OpenAPIKitCompat
[318 / 391] Algorithms
[321 / 409] OpenAPIKit
[323 / 409] OpenAPIKit30
[324 / 409] OpenAPIKitCompat
[328 / 410] ArgumentParser
[335 / 410] ArgumentParser-product
[336 / 410] ArgumentParser
[337 / 410] ArgumentParser
[339 / 410] Algorithms
[341 / 410] Algorithms
[345 / 410] Algorithms
[345 / 410] ArgumentParser
[354 / 413] Common
[356 / 426] Common
[357 / 426] _OpenAPIGeneratorCore
[360 / 426] Common
[368 / 426] DequeModule
[369 / 427] DequeModule
[371 / 427] Common
[372 / 427] Common
[378 / 428] SpanPreview
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
error: Build failed
BUILD FAILURE 6.4 android