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 LiteSupport, reference 0.3.0 (0cdb97), with Swift 6.2 (beta) for Linux on 10 Sep 2025 07:47:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/llvm-swift/lite.git
Reference: 0.3.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/llvm-swift/lite
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 0cdb971 Downgrade back to 6.1
Cloned https://github.com/llvm-swift/lite.git
Revision (git rev-parse @):
0cdb971f84a29d92f03ed8c186bad0dd21791ec9
SUCCESS checkout https://github.com/llvm-swift/lite.git at 0.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/llvm-swift/lite.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:c6c8e08ea30bca759adf847aac87887750120fe9b6eaea09f5af37036a41e81a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/swiftlang/swift-subprocess
[1/2252] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess from cache (0.74s)
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/apple/swift-system
[1/1335] Fetching rainbow
[1336/6272] Fetching rainbow, swift-system
Fetched https://github.com/onevcat/Rainbow.git from cache (0.78s)
Fetched https://github.com/apple/swift-system from cache (0.79s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.54s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (3.31s)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/swiftlang/swift-subprocess
Working copy of https://github.com/swiftlang/swift-subprocess resolved at main (eafdd72)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Building for debugging...
[0/15] Write sources
[5/15] Compiling CSystem shims.c
[6/15] Write swift-version-24593BA9C3E375BF.txt
[7/15] Compiling _SubprocessCShims process_shims.c
[9/54] Emitting module SystemPackage
[10/57] Compiling SystemPackage Util+StringArray.swift
[11/57] Compiling SystemPackage Util.swift
[12/57] Compiling SystemPackage UtilConsumers.swift
[13/57] Compiling SystemPackage MachPort.swift
[14/57] Compiling SystemPackage PlatformString.swift
[15/57] Compiling SystemPackage SystemString.swift
[16/57] Compiling SystemPackage FileOperations.swift
[17/57] Compiling SystemPackage FilePath.swift
[18/57] Compiling SystemPackage FilePathComponentView.swift
[19/57] Compiling SystemPackage FilePathComponents.swift
[20/57] Compiling Rainbow Style.swift
[21/58] Compiling Rainbow StringGenerator.swift
[22/58] Compiling Rainbow String+Rainbow.swift
[23/58] Compiling SystemPackage FilePathParsing.swift
[24/58] Compiling SystemPackage FilePathString.swift
[25/58] Compiling SystemPackage FilePathSyntax.swift
[26/58] Compiling SystemPackage FilePathTemp.swift
[27/58] Compiling SystemPackage Errno.swift
[28/58] Compiling SystemPackage ErrnoWindows.swift
[29/58] Compiling SystemPackage FileDescriptor.swift
[30/58] Compiling SystemPackage FileHelpers.swift
[31/58] Compiling Rainbow XcodeColorsSupport.swift
[32/58] Compiling SystemPackage Mocking.swift
[33/58] Compiling SystemPackage RawBuffer.swift
[34/58] Compiling SystemPackage Syscalls.swift
[35/58] Compiling SystemPackage WindowsSyscallAdapters.swift
[36/58] Compiling SystemPackage Backcompat.swift
[37/58] Compiling SystemPackage CInterop.swift
[38/58] Compiling SystemPackage Constants.swift
[39/58] Compiling SystemPackage Exports.swift
[40/58] Compiling SystemPackage FilePathTempPosix.swift
[41/58] Compiling SystemPackage FilePathTempWindows.swift
[42/58] Compiling SystemPackage FilePathWindows.swift
[43/58] Compiling SystemPackage FilePermissions.swift
[45/59] Compiling Rainbow Rainbow.swift
[50/59] Emitting module Rainbow
[53/60] Wrapping AST for SystemPackage for debugging
[54/82] Wrapping AST for Rainbow for debugging
[56/82] Compiling Subprocess Input.swift
[57/82] Compiling Subprocess Output.swift
[58/82] Compiling Subprocess Subprocess+BSD.swift
[59/84] Compiling Subprocess Input+Foundation.swift
[60/84] Compiling Subprocess Output+Foundation.swift
[61/84] Compiling Subprocess Span+SubprocessFoundation.swift
[62/84] Emitting module Subprocess
[63/84] Compiling Subprocess Subprocess+Windows.swift
[64/84] Compiling Subprocess Result.swift
[65/84] Compiling Subprocess Span+Subprocess.swift
[66/84] Compiling Subprocess Configuration.swift
[67/84] Compiling Subprocess Error.swift
[68/84] Compiling Subprocess Execution.swift
[69/84] Compiling Subprocess Teardown.swift
[70/84] Compiling Subprocess Thread.swift
[71/84] Compiling Subprocess AsyncIO+Dispatch.swift
[72/84] Compiling Subprocess AsyncIO+Linux.swift
[73/84] Compiling Subprocess AsyncIO+Windows.swift
[74/84] Compiling Subprocess Subprocess+Darwin.swift
[75/84] Compiling Subprocess Subprocess+Linux.swift
[76/84] Compiling Subprocess Subprocess+Unix.swift
[77/84] Compiling Subprocess API.swift
[78/84] Compiling Subprocess AsyncBufferSequence.swift
[79/84] Compiling Subprocess Buffer.swift
[80/85] Wrapping AST for Subprocess for debugging
[82/93] Compiling LiteSupport TestFile.swift
[83/94] Compiling LiteSupport TimeInterval+Formatting.swift
[84/94] Compiling LiteSupport Substitutor.swift
[85/94] Compiling LiteSupport Run.swift
[86/94] Emitting module LiteSupport
[87/94] Compiling LiteSupport LiteError.swift
[88/94] Compiling LiteSupport RunLineParser.swift
[89/94] Compiling LiteSupport String+CommonPrefix.swift
[90/94] Compiling LiteSupport TestRunner.swift
[91/95] Wrapping AST for LiteSupport for debugging
[93/97] Emitting module lite_test
[94/97] Compiling lite_test LiteTest.swift
/host/spi-builder-workspace/Sources/lite-test/LiteTest.swift:26:44: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
24 |             exit(allPassed ? 0 : -1)
25 |         } catch let err as LiteError {
26 |             fputs("error: \(err.message)", stderr)
   |                                            `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
27 |             exit(-1)
28 |         } catch {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
BUILD FAILURE 6.2 linux