Build Information
Failed to build skip, reference main (f56f45), with Swift 6.2 for Linux on 12 Dec 2025 05:10:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skiptools/skip.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/skiptools/skip
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f56f459 Enable issues in Skip Fuse Android builds to jump to correct file and line when selected in Xcode (#553)
Cloned https://github.com/skiptools/skip.git
Revision (git rev-parse @):
f56f459422d3a0e76d5772b8c9c5ce2deeee54bc
SUCCESS checkout https://github.com/skiptools/skip.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/skiptools/skip.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:36dcf51aceebb7518dd97346bbe30fd556b23ffe7a4d72d70473700580e8e541
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Downloading binary artifact https://source.skip.tools/skip/releases/download/1.6.30/skip-linux.zip
[1369/168635381] Downloading https://source.skip.tools/skip/releases/download/1.6.30/skip-linux.zip
Downloaded https://source.skip.tools/skip/releases/download/1.6.30/skip-linux.zip (16.73s)
[1/1] Compiling plugin Create SkipLink
[2/2] Compiling plugin skipstone
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/11] Compiling SkipDrive Version.swift
[7/11] Compiling SkipDrive ToolSupport.swift
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:978:13: error: cannot find 'posix_spawn_file_actions_addchdir_np' in scope
976 |
977 | if let workingDirectory = workingDirectory?.path {
978 | posix_spawn_file_actions_addchdir_np(&fileActions, workingDirectory)
| `- error: cannot find 'posix_spawn_file_actions_addchdir_np' in scope
979 | }
980 |
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1056:60: warning: reference to captured var 'outputPipe' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1054 | group.enter()
1055 | let stdoutThread = Thread { [weak self] in
1056 | if let readResult = self?.readOutput(onFD: outputPipe[0], outputClosure: outputClosures?.stdoutClosure) {
| `- warning: reference to captured var 'outputPipe' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1057 | pendingLock.withLock {
1058 | if let stderrResult = pending {
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1058:47: warning: reference to captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1056 | if let readResult = self?.readOutput(onFD: outputPipe[0], outputClosure: outputClosures?.stdoutClosure) {
1057 | pendingLock.withLock {
1058 | if let stderrResult = pending {
| `- warning: reference to captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1059 | self?.stateLock.withLock {
1060 | self?.state = .outputReady(stdout: readResult, stderr: stderrResult)
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1063:29: warning: mutation of captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1061 | }
1062 | } else {
1063 | pending = readResult
| `- warning: mutation of captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1064 | }
1065 | }
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1067:70: warning: reference to captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1065 | }
1066 | group.leave()
1067 | } else if let stderrResult = (pendingLock.withLock { pending }) {
| `- warning: reference to captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1068 | // TODO: this is more of an error
1069 | self?.stateLock.withLock {
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1085:64: warning: reference to captured var 'stderrPipe' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1083 | group.enter()
1084 | stderrThread = Thread { [weak self] in
1085 | if let readResult = self?.readOutput(onFD: stderrPipe[0], outputClosure: outputClosures?.stderrClosure) {
| `- warning: reference to captured var 'stderrPipe' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1086 | pendingLock.withLock {
1087 | if let stdoutResult = pending {
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1087:51: warning: reference to captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1085 | if let readResult = self?.readOutput(onFD: stderrPipe[0], outputClosure: outputClosures?.stderrClosure) {
1086 | pendingLock.withLock {
1087 | if let stdoutResult = pending {
| `- warning: reference to captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1088 | self?.stateLock.withLock {
1089 | self?.state = .outputReady(stdout: stdoutResult, stderr: readResult)
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1092:33: warning: mutation of captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1090 | }
1091 | } else {
1092 | pending = readResult
| `- warning: mutation of captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1093 | }
1094 | }
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1096:74: warning: reference to captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1094 | }
1095 | group.leave()
1096 | } else if let stdoutResult = (pendingLock.withLock { pending }) {
| `- warning: reference to captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1097 | // TODO: this is more of an error
1098 | self?.stateLock.withLock {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[8/11] Compiling SkipDrive SourceMap.swift
[9/11] Compiling SkipDrive GradleDriver.swift
[10/11] Emitting module SkipDrive
[11/11] Compiling SkipDrive GradleHarness.swift
BUILD FAILURE 6.2 linux