Build Information
Failed to build Aoxiang, reference 1.1.0 (8ead0b), with Swift 6.3 for Linux on 29 Oct 2026 02:59:21 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:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/isaced/Aoxiang.git
Reference: 1.1.0
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/isaced/Aoxiang
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at 8ead0b7 test: keep the shared fetch helper out of the connection pool
Cloned https://github.com/isaced/Aoxiang.git
Revision (git rev-parse @):
8ead0b7ad5c5a64527373fd2c33da047d8555375
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/isaced/Aoxiang.git at 1.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/isaced/Aoxiang.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:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:caade26a8dd5b9e237c5c17486feb4a843d699145c768feadca9f1b811831234
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling Aoxiang Socket.swift
/host/spi-builder-workspace/Sources/Aoxiang/Socket.swift:60:29: error: cannot assign value of type '(Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8)' to type '(UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8)'
58 | serveraddr.sin_port = port.bigEndian
59 | serveraddr.sin_addr = in_addr(s_addr: in_addr_t(0))
60 | serveraddr.sin_zero = (zero, zero, zero, zero, zero, zero, zero, zero)
| `- error: cannot assign value of type '(Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8)' to type '(UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8)'
61 | self.sock = socket(internetLayerProtocol, Int32(transportLayerType), 0)
62 |
/host/spi-builder-workspace/Sources/Aoxiang/Socket.swift:61:51: error: initializer 'init(_:)' requires that '__socket_type' conform to 'BinaryFloatingPoint'
59 | serveraddr.sin_addr = in_addr(s_addr: in_addr_t(0))
60 | serveraddr.sin_zero = (zero, zero, zero, zero, zero, zero, zero, zero)
61 | self.sock = socket(internetLayerProtocol, Int32(transportLayerType), 0)
| `- error: initializer 'init(_:)' requires that '__socket_type' conform to 'BinaryFloatingPoint'
62 |
63 | // reuse socket address (for fix "Address already in use")
Swift.FixedWidthInteger.init:2:19: note: where 'T' = '__socket_type'
1 | protocol FixedWidthInteger {
2 | @inlinable public init<T>(_ source: T) where T : BinaryFloatingPoint}
| `- note: where 'T' = '__socket_type'
3 |
/host/spi-builder-workspace/Sources/Aoxiang/Socket.swift:91:28: error: cannot find 'Darwin' in scope
89 |
90 | public func accept() throws -> Socket {
91 | let clientSocket = Darwin.accept(sock, nil, nil)
| `- error: cannot find 'Darwin' in scope
92 | if clientSocket == -1 {
93 | throw SocketError.acceptFailed(errorDescription())
/host/spi-builder-workspace/Sources/Aoxiang/Socket.swift:91:48: error: 'nil' requires a contextual type
89 |
90 | public func accept() throws -> Socket {
91 | let clientSocket = Darwin.accept(sock, nil, nil)
| `- error: 'nil' requires a contextual type
92 | if clientSocket == -1 {
93 | throw SocketError.acceptFailed(errorDescription())
/host/spi-builder-workspace/Sources/Aoxiang/Socket.swift:91:53: error: 'nil' requires a contextual type
89 |
90 | public func accept() throws -> Socket {
91 | let clientSocket = Darwin.accept(sock, nil, nil)
| `- error: 'nil' requires a contextual type
92 | if clientSocket == -1 {
93 | throw SocketError.acceptFailed(errorDescription())
/host/spi-builder-workspace/Sources/Aoxiang/Socket.swift:103:22: error: cannot convert value of type 'Int32' to expected argument type '__suseconds_t' (aka 'Int')
101 | var timeout = timeval(
102 | tv_sec: Int(seconds),
103 | tv_usec: Int32((seconds - seconds.rounded(.down)) * 1_000_000)
| `- error: cannot convert value of type 'Int32' to expected argument type '__suseconds_t' (aka 'Int')
104 | )
105 | setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &timeout, socklen_t(MemoryLayout<timeval>.size))
/host/spi-builder-workspace/Sources/Aoxiang/Socket.swift:113:9: error: cannot find 'Darwin' in scope
111 | guard !closed else { return }
112 | closed = true
113 | Darwin.close(sock)
| `- error: cannot find 'Darwin' in scope
114 | }
115 |
/host/spi-builder-workspace/Sources/Aoxiang/Socket.swift:140:26: error: cannot find 'Darwin' in scope
138 | var sent = 0
139 | while sent < length {
140 | let result = Darwin.write(sock, pointer + sent, Int(length - sent))
| `- error: cannot find 'Darwin' in scope
141 | if result <= 0 {
142 | throw SocketError.writeFailed(errorDescription())
/host/spi-builder-workspace/Sources/Aoxiang/Socket.swift:156:21: error: cannot find 'Darwin' in scope
154 | open func read() throws -> UInt8 {
155 | var byte: UInt8 = 0
156 | let count = Darwin.read(sock, &byte, 1)
| `- error: cannot find 'Darwin' in scope
157 | if count == 0 {
158 | throw SocketError.connectionClosed
/host/spi-builder-workspace/Sources/Aoxiang/Socket.swift:192:29: error: cannot find 'Darwin' in scope
190 | // Compute next read length in bytes. The bytes read is never more than kBufferLength at once.
191 | let readLength = offset + Socket.kBufferLength < length ? Socket.kBufferLength : length - offset
192 | let bytesRead = Darwin.read(sock, baseAddress + offset, readLength)
| `- error: cannot find 'Darwin' in scope
193 | guard bytesRead > 0 else {
194 | throw SocketError.recvFailed(errorDescription())
[4/9] Emitting module Aoxiang
[5/9] Compiling Aoxiang HTTPRouter.swift
[6/9] Compiling Aoxiang HTTPRequest.swift
[7/9] Compiling Aoxiang HTTPServer.swift
/host/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:275:29: warning: result of call to 'wait(timeout:)' is unused [#no-usage]
273 | // loop could still accept on it.
274 | if waitForAcceptLoop {
275 | acceptLoopDone?.wait(timeout: .now() + 2)
| `- warning: result of call to 'wait(timeout:)' is unused [#no-usage]
276 | }
277 | }
[8/9] Compiling Aoxiang HTTPParser.swift
[9/9] Compiling Aoxiang HTTPResponse.swift
BUILD FAILURE 6.3 linux