Build Information
Failed to build unbreak, reference main (997dcb), with Swift 6.3 for Linux on 29 Sep 2026 01:21:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bart-turczynski/unbreak.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/bart-turczynski/unbreak
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 997dcb7 Merge branch 'docs/agents-mirror-note' into 'main'
Cloned https://github.com/bart-turczynski/unbreak.git
Revision (git rev-parse @):
997dcb7c28f985a8362190cf0446096584ed8ba5
SUCCESS checkout https://github.com/bart-turczynski/unbreak.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/bart-turczynski/unbreak.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:c577f8f8f4df4f423827bf5e7d96027716bb7030ef75b2fd4a15f7fb0043ce6d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/30] Compiling Clipboard Pasteboard.swift
[10/30] Emitting module Clipboard
[11/31] Wrapping AST for Clipboard for debugging
[13/31] Compiling UnbreakCore RepairReport.swift
[14/31] Compiling UnbreakCore Signals.swift
[15/31] Compiling UnbreakCore Unshatter.swift
[16/31] Compiling UnbreakCore WatchGate.swift
[17/32] Compiling UnbreakCore MergeSplit.swift
[18/32] Compiling UnbreakCore Repair+QuoteBar.swift
[19/32] Compiling UnbreakCore DisplayWidth.swift
[20/32] Compiling UnbreakCore Heredoc.swift
[21/32] Compiling UnbreakCore Repair+QuotedScript.swift
[22/32] Compiling UnbreakCore Repair.swift
[23/32] Emitting module UnbreakCore
[24/32] Compiling UnbreakCore WrapProfile.swift
[25/33] Wrapping AST for UnbreakCore for debugging
[27/45] Compiling Watch WatchSession.swift
[28/46] Compiling Watch WatchLock.swift
[29/46] Compiling Watch WatchLog.swift
[30/46] Compiling Watch UndoSocket.swift
/host/spi-builder-workspace/Sources/Watch/UndoSocket.swift:66:51: error: cannot find 'Darwin' in scope
64 | while buffer.count < maxBytes {
65 | let want = min(chunk.count, maxBytes - buffer.count)
66 | let read = chunk.withUnsafeMutableBytes { Darwin.read(fd, $0.baseAddress, want) }
| `- error: cannot find 'Darwin' in scope
67 | guard read > 0 else { break }
68 | buffer.append(contentsOf: chunk[0..<read])
/host/spi-builder-workspace/Sources/Watch/UndoSocket.swift:84:21: error: cannot find 'Darwin' in scope
82 | var written = 0
83 | while written < count {
84 | let n = Darwin.write(fd, base + written, count - written)
| `- error: cannot find 'Darwin' in scope
85 | guard n > 0 else { return false }
86 | written += n
/host/spi-builder-workspace/Sources/Watch/UndoSocket.swift:111:9: error: cannot find 'Darwin' in scope
109 | func close() {
110 | guard !isClosed else { return }
111 | Darwin.close(fd)
| `- error: cannot find 'Darwin' in scope
112 | isClosed = true
113 | }
/host/spi-builder-workspace/Sources/Watch/UndoSocket.swift:153:13: error: cannot find 'Darwin' in scope
151 | }
152 | readSource.setCancelHandler {
153 | Darwin.close(fd)
| `- error: cannot find 'Darwin' in scope
154 | }
155 | source = readSource
/host/spi-builder-workspace/Sources/Watch/UndoSocket.swift:180:34: error: cannot convert value of type '__socket_type' to expected argument type 'Int32'
178 | throw UndoSocketError.pathTooLong(path.utf8.count)
179 | }
180 | let fd = socket(AF_UNIX, SOCK_STREAM, 0)
| `- error: cannot convert value of type '__socket_type' to expected argument type 'Int32'
181 | guard fd >= 0 else { throw UndoSocketError.socketFailed(errno) }
182 |
/host/spi-builder-workspace/Sources/Watch/UndoSocket.swift:193:13: error: cannot find 'Darwin' in scope
191 | guard bound == 0 else {
192 | let code = errno
193 | Darwin.close(fd)
| `- error: cannot find 'Darwin' in scope
194 | throw UndoSocketError.bindFailed(code)
195 | }
/host/spi-builder-workspace/Sources/Watch/UndoSocket.swift:198:13: error: cannot find 'Darwin' in scope
196 | guard listen(fd, 4) == 0 else {
197 | let code = errno
198 | Darwin.close(fd)
| `- error: cannot find 'Darwin' in scope
199 | throw UndoSocketError.listenFailed(code)
200 | }
/host/spi-builder-workspace/Sources/Watch/UndoSocket.swift:234:34: error: cannot convert value of type '__socket_type' to expected argument type 'Int32'
232 | return .error("socket path too long")
233 | }
234 | let fd = socket(AF_UNIX, SOCK_STREAM, 0)
| `- error: cannot convert value of type '__socket_type' to expected argument type 'Int32'
235 | guard fd >= 0 else { return .error("socket() failed") }
236 | defer { Darwin.close(fd) }
/host/spi-builder-workspace/Sources/Watch/UndoSocket.swift:236:17: error: cannot find 'Darwin' in scope
234 | let fd = socket(AF_UNIX, SOCK_STREAM, 0)
235 | guard fd >= 0 else { return .error("socket() failed") }
236 | defer { Darwin.close(fd) }
| `- error: cannot find 'Darwin' in scope
237 |
238 | var addr = makeUndoSockaddr(path: path)
[31/46] Compiling Watch UndoServer.swift
[32/46] Compiling Watch Rollback.swift
[33/46] Compiling Watch UndoProtocol.swift
[34/46] Emitting module Watch
[35/46] Compiling Config ConfigLoader.swift
[36/46] Compiling Config TOML.swift
[37/46] Emitting module Config
[38/46] Compiling Config Config.swift
[40/47] Compiling Watch Watcher.swift
[40/47] Wrapping AST for Config for debugging
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
BUILD FAILURE 6.3 linux