The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build skip, reference 1.6.30 (3f5d9a), with Swift 6.2 for Linux on 25 Nov 2025 08:00:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skiptools/skip.git
Reference: 1.6.30
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
 * tag               1.6.30     -> FETCH_HEAD
HEAD is now at 3f5d9a5 Release 1.6.30
Cloned https://github.com/skiptools/skip.git
Revision (git rev-parse @):
3f5d9a5b670e3411a302dcbfcb39de7fa51cc781
SUCCESS checkout https://github.com/skiptools/skip.git at 1.6.30
========================================
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-4609320-3":/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 (21.02s)
[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 SourceMap.swift
[8/11] Compiling SkipDrive ToolSupport.swift
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:977:13: error: cannot find 'posix_spawn_file_actions_addchdir_np' in scope
 975 |
 976 |         if let workingDirectory = workingDirectory?.path {
 977 |             posix_spawn_file_actions_addchdir_np(&fileActions, workingDirectory)
     |             `- error: cannot find 'posix_spawn_file_actions_addchdir_np' in scope
 978 |         }
 979 |
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1055:60: warning: reference to captured var 'outputPipe' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1053 |             group.enter()
1054 |             let stdoutThread = Thread { [weak self] in
1055 |                 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]
1056 |                     pendingLock.withLock {
1057 |                         if let stderrResult = pending {
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1057:47: warning: reference to captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1055 |                 if let readResult = self?.readOutput(onFD: outputPipe[0], outputClosure: outputClosures?.stdoutClosure) {
1056 |                     pendingLock.withLock {
1057 |                         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]
1058 |                             self?.stateLock.withLock {
1059 |                                 self?.state = .outputReady(stdout: readResult, stderr: stderrResult)
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1062:29: warning: mutation of captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1060 |                             }
1061 |                         } else  {
1062 |                             pending = readResult
     |                             `- warning: mutation of captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1063 |                         }
1064 |                     }
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1066:70: warning: reference to captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1064 |                     }
1065 |                     group.leave()
1066 |                 } 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]
1067 |                     // TODO: this is more of an error
1068 |                     self?.stateLock.withLock {
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1084:64: warning: reference to captured var 'stderrPipe' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1082 |                 group.enter()
1083 |                 stderrThread = Thread { [weak self] in
1084 |                     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]
1085 |                         pendingLock.withLock {
1086 |                             if let stdoutResult = pending {
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1086:51: warning: reference to captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1084 |                     if let readResult = self?.readOutput(onFD: stderrPipe[0], outputClosure: outputClosures?.stderrClosure) {
1085 |                         pendingLock.withLock {
1086 |                             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]
1087 |                                 self?.stateLock.withLock {
1088 |                                     self?.state = .outputReady(stdout: stdoutResult, stderr: readResult)
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1091:33: warning: mutation of captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1089 |                                 }
1090 |                             } else {
1091 |                                 pending = readResult
     |                                 `- warning: mutation of captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1092 |                             }
1093 |                         }
/host/spi-builder-workspace/Sources/SkipDrive/ToolSupport.swift:1095:74: warning: reference to captured var 'pending' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1093 |                         }
1094 |                         group.leave()
1095 |                     } 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]
1096 |                         // TODO: this is more of an error
1097 |                         self?.stateLock.withLock {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[9/11] Compiling SkipDrive GradleHarness.swift
[10/11] Emitting module SkipDrive
[11/11] Compiling SkipDrive GradleDriver.swift
BUILD FAILURE 6.2 linux