The Swift Package Index logo.Swift Package Index

Build Information

Failed to build slash, reference master (01e55c), with Swift 6.4 for Android on 16 Sep 2026 10:19:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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/slash-hq/slash.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/slash-hq/slash
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 01e55ce Add support for message reactions.
Cloned https://github.com/slash-hq/slash.git
Revision (git rev-parse @):
01e55ce89b9015c98bae32ba1371ef7a48a3c0f0
SUCCESS checkout https://github.com/slash-hq/slash.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/slash-hq/slash.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/Server.swift:141:18: error: cannot find type 'in_port_t' in scope
139 | protocol TcpServer {
140 |
141 |     init(_ port: in_port_t) throws
    |                  `- error: cannot find type 'in_port_t' in scope
142 |
143 |     func wait(_ callback: ((TcpServerEvent) -> Void)) throws
/host/spi-builder-workspace/Sources/Server.swift:189:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HttpIncomingDataPorcessor' to 'Hashable' by implementing 'hash(into:)' instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
187 |     }
188 |
189 |     var hashValue: Int { return Int(self.socket) }
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HttpIncomingDataPorcessor' to 'Hashable' by implementing 'hash(into:)' instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
190 |
191 |     func process(_ chunk: ArraySlice<UInt8>) throws {
/host/spi-builder-workspace/Sources/Server.swift:318:18: error: cannot find type 'in_port_t' in scope
316 |     private let server: TcpServer
317 |
318 |     init(_ port: in_port_t = 8080) throws {
    |                  `- error: cannot find type 'in_port_t' in scope
319 |         #if os(Linux)
320 |             self.server = try LinuxAsyncServer(port)
/host/spi-builder-workspace/Sources/Server.swift:428:27: error: cannot find type 'in_port_t' in scope
426 |     private let server: UInt
427 |
428 |     required init(_ port: in_port_t = 8080) throws {
    |                           `- error: cannot find type 'in_port_t' in scope
429 |
430 |         self.kernelQueue = try KernelQueue()
/host/spi-builder-workspace/Sources/Server.swift:531:57: error: cannot find type 'in_port_t' in scope
529 |     }
530 |
531 |     static func nonBlockingSocketForListenening(_ port: in_port_t = 8080) throws -> Int32 {
    |                                                         `- error: cannot find type 'in_port_t' in scope
532 |
533 |         let server = Darwin.socket(AF_INET, SOCK_STREAM, 0)
/host/spi-builder-workspace/Sources/Server.swift:575:54: error: cannot find type 'sockaddr_in' in scope
573 |     }
574 |
575 |     static func anyAddrForPort(_ port: in_port_t) -> sockaddr_in {
    |                                                      `- error: cannot find type 'sockaddr_in' in scope
576 |         var addr = sockaddr_in()
577 |         addr.sin_len = __uint8_t(MemoryLayout<sockaddr_in>.size)
/host/spi-builder-workspace/Sources/Server.swift:575:40: error: cannot find type 'in_port_t' in scope
573 |     }
574 |
575 |     static func anyAddrForPort(_ port: in_port_t) -> sockaddr_in {
    |                                        `- error: cannot find type 'in_port_t' in scope
576 |         var addr = sockaddr_in()
577 |         addr.sin_len = __uint8_t(MemoryLayout<sockaddr_in>.size)
/host/spi-builder-workspace/Sources/Server.swift:601:51: error: cannot find 'kevent' in scope
599 | class KernelQueue {
600 |
601 |     private var events = Array<kevent>(repeating: kevent(), count: 256)
    |                                                   `- error: cannot find 'kevent' in scope
602 |     private var changes = Array<kevent>()
603 |
/host/spi-builder-workspace/Sources/Server.swift:601:32: error: cannot find type 'kevent' in scope
599 | class KernelQueue {
600 |
601 |     private var events = Array<kevent>(repeating: kevent(), count: 256)
    |                                `- error: cannot find type 'kevent' in scope
602 |     private var changes = Array<kevent>()
603 |
/host/spi-builder-workspace/Sources/Server.swift:602:33: error: cannot find type 'kevent' in scope
600 |
601 |     private var events = Array<kevent>(repeating: kevent(), count: 256)
602 |     private var changes = Array<kevent>()
    |                                 `- error: cannot find type 'kevent' in scope
603 |
604 |     private let queue: Int32
/host/spi-builder-workspace/Sources/Server.swift:644:76: error: cannot find type 'kevent' in scope
642 |     }
643 |
644 |     private func event(_ ident: UInt, _ filter: Int16, _ flags: UInt16) -> kevent {
    |                                                                            `- error: cannot find type 'kevent' in scope
645 |         return kevent(ident: ident, filter: filter, flags: flags, fflags: 0, data: 0, udata: nil)
646 |     }
/host/spi-builder-workspace/Sources/TerminalDevice.swift:39:35: error: cannot find 'termios' in scope
 37 |     }
 38 |
 39 |     private var originalTermios = termios()
    |                                   `- error: cannot find 'termios' in scope
 40 |
 41 |     init() throws {
/host/spi-builder-workspace/Sources/URLSession.swift:9:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 7 | import Foundation
 8 |
 9 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
10 |
11 |     /// Synchonized version of dataTask(with URLRequest)
/host/spi-builder-workspace/Sources/WebSocketClient.swift:37:25: error: cannot find type 'TLSSocket' in scope
 35 |
 36 |     private let mask: [UInt8]
 37 |     private let socket: TLSSocket
    |                         `- error: cannot find type 'TLSSocket' in scope
 38 |
 39 |     private var inputBuffer = [UInt8]()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#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/Sources/Application.swift /host/spi-builder-workspace/Sources/ChannelsListView.swift /host/spi-builder-workspace/Sources/CrashReporter.swift /host/spi-builder-workspace/Sources/MessagesListView.swift /host/spi-builder-workspace/Sources/R.swift /host/spi-builder-workspace/Sources/Server.swift /host/spi-builder-workspace/Sources/SlackAdapter.swift /host/spi-builder-workspace/Sources/SlackChannel.swift /host/spi-builder-workspace/Sources/SlackContext.swift /host/spi-builder-workspace/Sources/SlackEmojiDecoder.swift /host/spi-builder-workspace/Sources/SlackEvent.swift /host/spi-builder-workspace/Sources/SlackGroup.swift /host/spi-builder-workspace/Sources/SlackIM.swift /host/spi-builder-workspace/Sources/SlackMessage.swift /host/spi-builder-workspace/Sources/SlackMessageReaction.swift /host/spi-builder-workspace/Sources/SlackOAuth2.swift /host/spi-builder-workspace/Sources/SlackRealTimeClient.swift /host/spi-builder-workspace/Sources/SlackTeam.swift /host/spi-builder-workspace/Sources/SlackUser.swift /host/spi-builder-workspace/Sources/SlackWebClient.swift /host/spi-builder-workspace/Sources/Socket.swift /host/spi-builder-workspace/Sources/TLSSocket.swift /host/spi-builder-workspace/Sources/TerminalCanvas.swift /host/spi-builder-workspace/Sources/TerminalDevice.swift /host/spi-builder-workspace/Sources/TextLayout.swift /host/spi-builder-workspace/Sources/URLSession.swift /host/spi-builder-workspace/Sources/UserInputView.swift /host/spi-builder-workspace/Sources/Utils.swift /host/spi-builder-workspace/Sources/WebSocketClient.swift /host/spi-builder-workspace/Sources/main.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 4.2 -Onone -D SWIFT_PACKAGE -D DEBUG -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/slash.build/Debug-android-aarch64/slash-p.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/slash.build/Debug-android-aarch64/slash-p.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/slash.build/Debug-android-aarch64/slash-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name slash -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/slash.build/Debug-android-aarch64/slash-p.build/Objects-normal/aarch64/slash_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/.[25 / 29] slash-product
build/out/Intermediates.noindex/slash.build/Debug-android-aarch64/slash-p.build/Objects-normal/aarch64/Modules/slash.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/slash.build/Debug-android-aarch64/slash-p.build/Objects-normal/aarch64/Modules/slash.swiftsourceinfo -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/slash.build/Debug-android-aarch64/slash-p.build/Objects-normal/aarch64/slash-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/slash.build/Debug-android-aarch64/slash-p.build/Objects-normal/aarch64/slash-primary-emit-module.d -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/slash.build/Debug-android-aarch64/slash-p.build/Objects-normal/aarch64/Modules/slash.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android