The Swift Package Index logo.Swift Package Index

Build Information

Failed to build unbreak, reference v0.8.0 (b11d40), with Swift 6.4 for Linux on 24 Oct 2026 17:57:12 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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bart-turczynski/unbreak.git
Reference: v0.8.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/bart-turczynski/unbreak
 * tag               v0.8.0     -> FETCH_HEAD
HEAD is now at b11d404 Merge branch 'chore/release-v0.8.0' into 'main'
Cloned https://github.com/bart-turczynski/unbreak.git
Revision (git rev-parse @):
b11d404d968ddcc986e7ecd0236f266111f694fe
SUCCESS checkout https://github.com/bart-turczynski/unbreak.git at v0.8.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/bart-turczynski/unbreak.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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ad3afec1d6cff9a88dbd06b5b923cd7d46d6f55cc44d4c49fe48cde94ee812a7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Building for debugging...
[Provisioning 2 / 10]
[Planning deferred tasks]
[68 / 117] UnbreakCore
[75 / 117] UnbreakCore
[80 / 117] UnbreakCore-product
[83 / 127] Watch
[84 / 127] Watch
[94 / 127] Watch
[102 / 134] UnbreakCore
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/Watch/UndoSocket.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile 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)
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Watch/Rollback.swift /host/spi-builder-workspace/Sources/Watch/UndoProtocol.swift /host/spi-builder-workspace/Sources/Watch/UndoServer.swift -primary-file /host/spi-builder-workspace/Sources/Watch/UndoSocket.swift /host/spi-builder-workspace/Sources/Watch/WatchLock.swift /host/spi-builder-workspace/Sources/Watch/WatchLog.swift /host/spi-builder-workspace/Sources/Watch/WatchSession.swift /host/spi-builder-workspace/Sources/Watch/Watcher.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/unbreak.build/Debug-linux-x86_64/Watch-t.build/Objects-normal/x86_64/UndoSocket.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/unbreak.build/Debug-linux-x86_64/Watch-t.build/Objects-normal/x86_64/UndoSocket.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/unbreak.build/Debug-linux-x86_64/Watch-t.build/Objects-normal/x86_64/UndoSocket.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/unbreak.build/Debug-linux-x86_64/Watch-t.build/Objects-normal/x86_64/UndoSocket.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 /usr/lib/swift/host/plugins/testing\#/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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/unbreak.build/Debug-linux-x86_64/Watch-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/unbreak.build/Debug-linux-x86_64/Watch-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/unbreak.build/Debug-linux-x86_64/Watch-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Watch -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/unbreak.build/Debug-linux-x86_64/Watch-t.build/Objects-normal/x86_64/Watch_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/unbreak.build/Debug-linux-x86_64/Watch-t.build/Objects-normal/x86_64/UndoSocket.o -index-unit-output-path /unbreak.build/Debug-linux-x86_64/Watch-t.build/Objects-normal/x86_64/UndoSocket.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux