The Swift Package Index logo.Swift Package Index

Build Information

Failed to build archer, reference master (3aead0), with Swift 6.4 for Android on 21 Sep 2026 20:11:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/archer.git
Reference: master
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/tayloraswift/archer
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3aead02 adopt withSingleDash: true
Cloned https://github.com/tayloraswift/archer.git
Revision (git rev-parse @):
3aead02a105ebf24a150f23498589d5ca8037d41
SUCCESS checkout https://github.com/tayloraswift/archer.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/tayloraswift/archer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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
Fetching https://github.com/tayloraswift/swift-io
[1/697] Fetching swift-io
Fetched https://github.com/tayloraswift/swift-io (0.39s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftwasm/WasmTransformer
Fetching https://github.com/apple/swift-system
[1/809] Fetching wasmtransformer
[810/19727] Fetching wasmtransformer, swift-argument-parser
[1378/26625] Fetching wasmtransformer, swift-argument-parser, swift-system
Fetched https://github.com/swiftwasm/WasmTransformer (0.66s)
Fetched https://github.com/apple/swift-system (0.66s)
Fetched https://github.com/apple/swift-argument-parser (0.77s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (1.84s)
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-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.22s)
Creating working copy for https://github.com/swiftwasm/WasmTransformer
Working copy of https://github.com/swiftwasm/WasmTransformer resolved at 0.5.0
Creating working copy for https://github.com/tayloraswift/swift-io
Working copy of https://github.com/tayloraswift/swift-io resolved at master (413ba5a)
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-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 334]
[Planning deferred tasks]
[75 / 137] _GitVersion
[85 / 155] SystemPackage
[86 / 163] SystemPackage
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:14:8: error: unsupported platform
12 |
13 | #else
14 | #error("unsupported platform")
   |        `- error: unsupported platform
15 | #endif
16 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:14:8: error: unsupported platform
12 |
13 | #else
14 | #error("unsupported platform")
   |        `- error: unsupported platform
15 | #endif
16 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:21:38: error: cannot find type 'stat' in scope
19 |     @inlinable public static func _fstat(
20 |         _ file: Int32,
21 |     ) throws(SystemCallErrorType) -> stat {
   |                                      `- error: cannot find type 'stat' in scope
22 |         var result: stat = .init()
23 |         let status: Int32 = fstat(file, &result)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:45:17: error: cannot find type 'mode_t' in scope
43 |     @inlinable public static func _mkdir(
44 |         _ path: UnsafePointer<CChar>,
45 |         _ mode: mode_t
   |                 `- error: cannot find type 'mode_t' in scope
46 |     ) throws(SystemCallErrorType) {
47 |         let status: Int32 = mkdir(path, mode)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:74:38: error: cannot find type 'stat' in scope
72 |     @inlinable public static func _stat(
73 |         _ path: UnsafePointer<CChar>,
74 |     ) throws(SystemCallErrorType) -> stat {
   |                                      `- error: cannot find type 'stat' in scope
75 |         var result: stat = .init()
76 |         let status: Int32 = stat(path, &result)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:87:38: error: cannot find type 'statvfs' in scope
85 |     @inlinable public static func _statvfs(
86 |         _ path: UnsafePointer<CChar>,
87 |     ) throws(SystemCallErrorType) -> statvfs {
   |                                      `- error: cannot find type 'statvfs' in scope
88 |         var result: statvfs = .init()
89 |         let status: Int32 = statvfs(path, &result)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:22:21: error: cannot find type 'stat' in scope
20 |         _ file: Int32,
21 |     ) throws(SystemCallErrorType) -> stat {
22 |         var result: stat = .init()
   |                     `- error: cannot find type 'stat' in scope
23 |         let status: Int32 = fstat(file, &result)
24 |         if  status == 0 {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:23:29: error: cannot find 'fstat' in scope
21 |     ) throws(SystemCallErrorType) -> stat {
22 |         var result: stat = .init()
23 |         let status: Int32 = fstat(file, &result)
   |                             `- error: cannot find 'fstat' in scope
24 |         if  status == 0 {
25 |             return result
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:27:32: error: cannot find 'errno' in scope
25 |             return result
26 |         } else {
27 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
28 |         }
29 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:34:51: error: cannot find 'getcwd' in scope
32 |     ) throws(SystemCallError) -> T {
33 |         guard
34 |         let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
   |                                                   `- error: cannot find 'getcwd' in scope
35 |             throw .init(type: .init(errno: errno), call: .getcwd)
36 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:35:44: error: cannot find 'errno' in scope
33 |         guard
34 |         let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
35 |             throw .init(type: .init(errno: errno), call: .getcwd)
   |                                            `- error: cannot find 'errno' in scope
36 |         }
37 |         defer {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:38:13: error: cannot find 'free' in scope
36 |         }
37 |         defer {
38 |             free(buffer)
   |             `- error: cannot find 'free' in scope
39 |         }
40 |         return yield(buffer)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:47:29: error: cannot find 'mkdir' in scope
45 |         _ mode: mode_t
46 |     ) throws(SystemCallErrorType) {
47 |         let status: Int32 = mkdir(path, mode)
   |                             `- error: cannot find 'mkdir' in scope
48 |         if  status != 0 {
49 |             throw .init(errno: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:49:32: error: cannot find 'errno' in scope
47 |         let status: Int32 = mkdir(path, mode)
48 |         if  status != 0 {
49 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
50 |         }
51 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:56:45: error: cannot find 'opendir' in scope
54 |         _ path: UnsafePointer<CChar>
55 |     ) throws(SystemCallErrorType) -> DirectoryPointer {
56 |         if  let pointer: DirectoryPointer = opendir(path) {
   |                                             `- error: cannot find 'opendir' in scope
57 |             return pointer
58 |         } else {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:59:32: error: cannot find 'errno' in scope
57 |             return pointer
58 |         } else {
59 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
60 |         }
61 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:66:29: error: cannot find 'remove' in scope
64 |         _ path: UnsafePointer<CChar>
65 |     ) throws(SystemCallErrorType) {
66 |         let status: Int32 = remove(path)
   |                             `- error: cannot find 'remove' in scope
67 |         if  status != 0 {
68 |             throw .init(errno: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:68:32: error: cannot find 'errno' in scope
66 |         let status: Int32 = remove(path)
67 |         if  status != 0 {
68 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
69 |         }
70 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:75:21: error: cannot find type 'stat' in scope
73 |         _ path: UnsafePointer<CChar>,
74 |     ) throws(SystemCallErrorType) -> stat {
75 |         var result: stat = .init()
   |                     `- error: cannot find type 'stat' in scope
76 |         let status: Int32 = stat(path, &result)
77 |         if  status == 0 {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:76:29: error: cannot find 'stat' in scope
74 |     ) throws(SystemCallErrorType) -> stat {
75 |         var result: stat = .init()
76 |         let status: Int32 = stat(path, &result)
   |                             `- error: cannot find 'stat' in scope
77 |         if  status == 0 {
78 |             return result
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:80:32: error: cannot find 'errno' in scope
78 |             return result
79 |         } else {
80 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
81 |         }
82 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:88:21: error: cannot find type 'statvfs' in scope
86 |         _ path: UnsafePointer<CChar>,
87 |     ) throws(SystemCallErrorType) -> statvfs {
88 |         var result: statvfs = .init()
   |                     `- error: cannot find type 'statvfs' in scope
89 |         let status: Int32 = statvfs(path, &result)
90 |         if  status == 0 {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:89:29: error: cannot find 'statvfs' in scope
87 |     ) throws(SystemCallErrorType) -> statvfs {
88 |         var result: statvfs = .init()
89 |         let status: Int32 = statvfs(path, &result)
   |                             `- error: cannot find 'statvfs' in scope
90 |         if  status == 0 {
91 |             return result
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift:93:32: error: cannot find 'errno' in scope
91 |             return result
92 |         } else {
93 |             throw .init(errno: errno)
   |                                `- error: cannot find 'errno' in scope
94 |         }
95 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:24:63: error: cannot find 'EEXIST' in scope
22 | }
23 | extension SystemCallErrorType {
24 |     @inlinable public static var _EEXIST: Self { .init(errno: EEXIST) }
   |                                                               `- error: cannot find 'EEXIST' in scope
25 |     @inlinable public static var _ENOTDIR: Self { .init(errno: ENOTDIR) }
26 |     @inlinable public static var _ENOTEMPTY: Self { .init(errno: ENOTEMPTY) }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:25:64: error: cannot find 'ENOTDIR' in scope
23 | extension SystemCallErrorType {
24 |     @inlinable public static var _EEXIST: Self { .init(errno: EEXIST) }
25 |     @inlinable public static var _ENOTDIR: Self { .init(errno: ENOTDIR) }
   |                                                                `- error: cannot find 'ENOTDIR' in scope
26 |     @inlinable public static var _ENOTEMPTY: Self { .init(errno: ENOTEMPTY) }
27 |     @inlinable public static var _ENOENT: Self { .init(errno: ENOENT) }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:26:66: error: cannot find 'ENOTEMPTY' in scope
24 |     @inlinable public static var _EEXIST: Self { .init(errno: EEXIST) }
25 |     @inlinable public static var _ENOTDIR: Self { .init(errno: ENOTDIR) }
26 |     @inlinable public static var _ENOTEMPTY: Self { .init(errno: ENOTEMPTY) }
   |                                                                  `- error: cannot find 'ENOTEMPTY' in scope
27 |     @inlinable public static var _ENOENT: Self { .init(errno: ENOENT) }
28 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift:27:63: error: cannot find 'ENOENT' in scope
25 |     @inlinable public static var _ENOTDIR: Self { .init(errno: ENOTDIR) }
26 |     @inlinable public static var _ENOTEMPTY: Self { .init(errno: ENOTEMPTY) }
27 |     @inlinable public static var _ENOENT: Self { .init(errno: ENOENT) }
   |                                                               `- error: cannot find 'ENOENT' in scope
28 | }
29 | extension SystemCallErrorType: CustomStringConvertible {
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/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.DirectoryPointer.swift /host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCall.swift /host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallError.swift /host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallErrorType.swift /host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemCalls/SystemCallIdentifier.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 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-upcoming-feature InternalImportsByDefault -enable-experimental-feature StrictConcurrency -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/swift-io.build/Debug-android-aarch64/SystemCalls-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-io.build/Debug-android-aarch64/SystemCalls-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-io.build/Debug-android-aarch64/SystemCalls-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SystemCalls -package-name swift_io -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-io.build/Debug-android-aarch64/SystemCalls-t.build/Objects-normal/aarch64/SystemCalls_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/swift-io.build/Debug-android-aarch64/SystemCalls-t.build/Objects-normal/aarch64/Modules/SystemCalls.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-io.build/Debug-android-aarch64/SystemCalls-t.build/Objects-normal/aarch64/Modules/SystemCalls.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-io.build/Debug-android-aarch64/SystemCalls-t.build/Objects-normal/aarch64/SystemCalls-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-io.build/Debug-android-aarch64/SystemCalls-t.build/Objects-normal/aarch64/SystemCalls-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-io.build/Debug-android-aarch64/SystemCalls-t.build/Objects-normal/aarch64/SystemCalls-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-io.build/Debug-android-aarch64/SystemCalls-t.build/Objects-normal/aarch64/Modules/SystemCalls.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android