Build Information
Failed to build swift-helper, reference main (b6da4d), with Swift 6.1 for Linux on 27 Mar 2026 22:13:14 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/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adammcarter/swift-helper.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/adammcarter/swift-helper
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b6da4d9 Install
Cloned https://github.com/adammcarter/swift-helper.git
Revision (git rev-parse @):
b6da4d96f28131636ab39c10f92b6f1ca1f071c9
SUCCESS checkout https://github.com/adammcarter/swift-helper.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/adammcarter/swift-helper.git
https://github.com/adammcarter/swift-helper.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-subprocess",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-subprocess"
}
],
"manifest_display_name" : "swift-helper",
"name" : "swift-helper",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "swift-helper",
"targets" : [
"swift-helper"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swift_helper",
"module_type" : "SwiftTarget",
"name" : "swift-helper",
"path" : "Sources/swift-helper",
"product_dependencies" : [
"ArgumentParser",
"Subprocess"
],
"product_memberships" : [
"swift-helper"
],
"sources" : [
"Build.swift",
"Clone.swift",
"Diagnostics.swift",
"Doctor.swift",
"Shell.swift",
"SwiftHelper.swift",
"SyncToolchain.swift",
"Test.swift"
],
"type" : "executable"
}
],
"tools_version" : "6.0"
}
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/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Fetching https://github.com/swiftlang/swift-subprocess
Fetching https://github.com/apple/swift-argument-parser
[1/17464] Fetching swift-argument-parser
[3844/20226] Fetching swift-argument-parser, swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess from cache (1.09s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.10s)
Computing version for https://github.com/swiftlang/swift-subprocess
Computed https://github.com/swiftlang/swift-subprocess at 0.4.0 (2.09s)
Fetching https://github.com/apple/swift-system
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.77s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (1.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.66s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/swiftlang/swift-subprocess
Working copy of https://github.com/swiftlang/swift-subprocess resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/17] Write sources
[7/17] Compiling CSystem shims.c
[8/17] Compiling _SubprocessCShims process_shims.c
[8/17] Write swift-version-24593BA9C3E375BF.txt
[11/50] Emitting module SystemPackage
[12/54] Emitting module ArgumentParserToolInfo
[13/54] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/55] Compiling SystemPackage SystemString.swift
[16/55] Compiling SystemPackage Util+StringArray.swift
[17/55] Compiling SystemPackage Util.swift
[18/55] Compiling SystemPackage UtilConsumers.swift
[18/55] Wrapping AST for ArgumentParserToolInfo for debugging
[20/55] Compiling SystemPackage FilePath.swift
[21/55] Compiling SystemPackage FilePathComponentView.swift
[22/55] Compiling SystemPackage FilePathComponents.swift
[23/55] Compiling SystemPackage FilePathParsing.swift
[24/55] Compiling SystemPackage FilePathString.swift
[25/55] Compiling SystemPackage FilePathWindows.swift
[26/55] Compiling SystemPackage FilePermissions.swift
[27/55] Compiling SystemPackage IOCompletion.swift
[28/55] Compiling SystemPackage IORequest.swift
[29/55] Compiling SystemPackage Errno.swift
[30/55] Compiling SystemPackage ErrnoWindows.swift
[31/55] Compiling SystemPackage FileDescriptor.swift
[32/55] Compiling SystemPackage FileHelpers.swift
[33/55] Compiling SystemPackage FileOperations.swift
[34/101] Compiling ArgumentParser Name.swift
[35/101] Compiling ArgumentParser Parsed.swift
[36/101] Compiling ArgumentParser ParsedValues.swift
[37/101] Compiling ArgumentParser ParserError.swift
[38/101] Compiling ArgumentParser SplitArguments.swift
[39/101] Compiling ArgumentParser Foundation.swift
[40/101] Compiling ArgumentParser Mutex.swift
[41/101] Compiling ArgumentParser Platform.swift
[42/101] Compiling ArgumentParser SequenceExtensions.swift
[43/101] Compiling ArgumentParser StringExtensions.swift
[44/101] Compiling ArgumentParser SwiftExtensions.swift
[45/101] Compiling ArgumentParser ParsableCommand.swift
[46/101] Compiling ArgumentParser ArgumentDecoder.swift
[47/101] Compiling ArgumentParser ArgumentDefinition.swift
[48/101] Compiling ArgumentParser ArgumentSet.swift
[49/101] Compiling ArgumentParser CommandParser.swift
[50/102] Wrapping AST for SystemPackage for debugging
[52/124] Emitting module Subprocess
[53/126] Compiling Subprocess Subprocess+Windows.swift
[54/126] Compiling Subprocess Result.swift
[55/126] Compiling Subprocess Span+Subprocess.swift
[56/126] Compiling ArgumentParser ParentCommand.swift
[57/126] Compiling ArgumentParser AsyncParsableCommand.swift
[58/126] Compiling ArgumentParser CommandConfiguration.swift
[59/126] Compiling ArgumentParser CommandGroup.swift
[60/126] Compiling ArgumentParser EnumerableFlag.swift
[61/126] Compiling ArgumentParser ExpressibleByArgument.swift
[62/126] Compiling ArgumentParser ParsableArguments.swift
[63/126] Compiling ArgumentParser ArgumentVisibility.swift
[64/126] Compiling ArgumentParser CompletionKind.swift
[65/126] Compiling ArgumentParser Errors.swift
[66/126] Compiling ArgumentParser Flag.swift
[67/126] Compiling ArgumentParser NameSpecification.swift
[68/126] Compiling ArgumentParser Option.swift
[69/126] Compiling ArgumentParser OptionGroup.swift
[70/132] Compiling Subprocess Input.swift
[71/132] Compiling Subprocess Output.swift
[72/132] Compiling Subprocess Subprocess+BSD.swift
[73/132] Compiling Subprocess Input+Foundation.swift
[74/132] Compiling Subprocess Output+Foundation.swift
[75/132] Compiling Subprocess Span+SubprocessFoundation.swift
[76/132] Emitting module ArgumentParser
[77/132] Compiling Subprocess API.swift
[78/132] Compiling Subprocess AsyncBufferSequence.swift
[79/132] Compiling Subprocess Buffer.swift
[80/132] Compiling Subprocess Configuration.swift
[81/132] Compiling Subprocess Error.swift
[82/132] Compiling Subprocess Execution.swift
[83/132] Compiling Subprocess AsyncIO+Dispatch.swift
[87/132] Compiling Subprocess Subprocess+Linux.swift
[88/132] Compiling Subprocess Subprocess+Unix.swift
[95/132] Compiling Subprocess Teardown.swift
[96/132] Compiling Subprocess Thread.swift
[104/132] Compiling ArgumentParser InputKey.swift
[105/132] Compiling Subprocess AsyncIO+Linux.swift
[106/132] Compiling Subprocess AsyncIO+Windows.swift
[110/132] Compiling Subprocess Subprocess+Darwin.swift
[111/132] Compiling ArgumentParser Tree.swift
[112/132] Compiling ArgumentParser CodingKeyValidator.swift
[113/132] Compiling ArgumentParser NonsenseFlagsValidator.swift
[114/132] Compiling ArgumentParser ParsableArgumentsValidation.swift
[115/132] Compiling ArgumentParser PositionalArgumentsValidator.swift
[116/132] Compiling ArgumentParser UniqueNamesValidator.swift
[117/133] Wrapping AST for ArgumentParser for debugging
[130/134] Wrapping AST for Subprocess for debugging
[132/142] Compiling swift_helper Diagnostics.swift
[133/143] Compiling swift_helper SwiftHelper.swift
[134/143] Compiling swift_helper SyncToolchain.swift
[135/143] Compiling swift_helper Doctor.swift
[136/143] Compiling swift_helper Shell.swift
/host/spi-builder-workspace/Sources/swift-helper/Shell.swift:24:15: error: type 'TerminationStatus' has no member 'unhandledException'
22 | case .exited(let code):
23 | exitCode = Int32(code)
24 | case .unhandledException(let signal):
| `- error: type 'TerminationStatus' has no member 'unhandledException'
25 | exitCode = Int32(signal)
26 | @unknown default:
/host/spi-builder-workspace/Sources/swift-helper/Shell.swift:51:15: error: type 'TerminationStatus' has no member 'unhandledException'
49 | case .exited(let code):
50 | return Int32(code)
51 | case .unhandledException(let signal):
| `- error: type 'TerminationStatus' has no member 'unhandledException'
52 | return Int32(signal)
53 | @unknown default:
[137/143] Compiling swift_helper Test.swift
/host/spi-builder-workspace/Sources/swift-helper/Test.swift:60:29: error: type 'TerminationStatus' has no member 'unhandledException'
58 | if case .exited(let code) = result.terminationStatus, code != 0 {
59 | throw ExitCode.failure
60 | } else if case .unhandledException = result.terminationStatus {
| `- error: type 'TerminationStatus' has no member 'unhandledException'
61 | throw ExitCode.failure
62 | }
[138/143] Compiling swift_helper Build.swift
[139/143] Compiling swift_helper Clone.swift
[140/143] Emitting module swift_helper
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/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/10] Write swift-version-24593BA9C3E375BF.txt
[4/43] Compiling SystemPackage IORing.swift
[5/43] Compiling SystemPackage RawIORequest.swift
[6/43] Compiling SystemPackage Backcompat.swift
[7/43] Compiling SystemPackage CInterop.swift
[8/43] Compiling SystemPackage Syscalls.swift
[9/43] Compiling SystemPackage WindowsSyscallAdapters.swift
[10/43] Compiling SystemPackage MachPort.swift
[11/43] Compiling SystemPackage PlatformString.swift
[12/47] Compiling SystemPackage FilePathWindows.swift
[13/47] Compiling SystemPackage FilePermissions.swift
[14/47] Compiling SystemPackage IOCompletion.swift
[15/47] Compiling SystemPackage IORequest.swift
[16/47] Emitting module SystemPackage
[17/47] Compiling SystemPackage FilePathSyntax.swift
[18/47] Compiling SystemPackage FilePathTemp.swift
[19/47] Compiling SystemPackage FilePathTempPosix.swift
[20/47] Compiling SystemPackage FilePathTempWindows.swift
[21/47] Compiling SystemPackage Constants.swift
[22/47] Compiling SystemPackage Exports.swift
[23/47] Compiling SystemPackage Mocking.swift
[24/47] Compiling SystemPackage RawBuffer.swift
[25/47] Compiling SystemPackage Errno.swift
[26/47] Compiling SystemPackage ErrnoWindows.swift
[27/47] Compiling SystemPackage FileDescriptor.swift
[28/47] Compiling SystemPackage FileHelpers.swift
[29/47] Compiling SystemPackage FileOperations.swift
[30/47] Compiling ArgumentParserToolInfo ToolInfo.swift
[31/47] Emitting module ArgumentParserToolInfo
[33/48] Compiling SystemPackage FilePath.swift
[34/48] Compiling SystemPackage FilePathComponentView.swift
[35/48] Compiling SystemPackage FilePathComponents.swift
[36/48] Compiling SystemPackage FilePathParsing.swift
[37/48] Compiling SystemPackage FilePathString.swift
[38/48] Compiling SystemPackage SystemString.swift
[39/48] Compiling SystemPackage Util+StringArray.swift
[40/48] Compiling SystemPackage Util.swift
[41/48] Compiling SystemPackage UtilConsumers.swift
[43/115] Compiling Subprocess Input+Foundation.swift
[44/115] Compiling Subprocess Output+Foundation.swift
[45/115] Compiling Subprocess Span+SubprocessFoundation.swift
[46/117] Compiling Subprocess Subprocess+Windows.swift
[47/117] Compiling Subprocess Result.swift
[48/117] Compiling Subprocess Span+Subprocess.swift
[49/117] Compiling ArgumentParser Foundation.swift
[50/117] Compiling ArgumentParser Mutex.swift
[51/117] Compiling ArgumentParser Platform.swift
[52/117] Compiling ArgumentParser SequenceExtensions.swift
[53/117] Compiling ArgumentParser StringExtensions.swift
[54/117] Compiling ArgumentParser SwiftExtensions.swift
[55/123] Emitting module ArgumentParser
[56/123] Compiling Subprocess API.swift
[57/123] Compiling Subprocess AsyncBufferSequence.swift
[58/123] Compiling Subprocess Buffer.swift
[59/123] Compiling Subprocess Configuration.swift
[60/123] Compiling Subprocess Error.swift
[61/123] Compiling Subprocess Execution.swift
[62/123] Compiling Subprocess AsyncIO+Dispatch.swift
[63/123] Compiling Subprocess Input.swift
[64/123] Compiling Subprocess Output.swift
[65/123] Compiling Subprocess Subprocess+BSD.swift
[67/123] Compiling Subprocess AsyncIO+Linux.swift
[68/123] Compiling Subprocess AsyncIO+Windows.swift
[69/123] Compiling Subprocess Teardown.swift
[70/123] Compiling Subprocess Thread.swift
[71/123] Compiling ArgumentParser InputOrigin.swift
[72/123] Compiling ArgumentParser Name.swift
[73/123] Compiling ArgumentParser Parsed.swift
[74/123] Compiling ArgumentParser ParsedValues.swift
[75/123] Compiling ArgumentParser ParserError.swift
[76/123] Compiling ArgumentParser SplitArguments.swift
[77/123] Compiling ArgumentParser Tree.swift
[78/123] Compiling ArgumentParser CodingKeyValidator.swift
[79/123] Compiling ArgumentParser NonsenseFlagsValidator.swift
[80/123] Compiling ArgumentParser ParsableArgumentsValidation.swift
[81/123] Compiling ArgumentParser PositionalArgumentsValidator.swift
[82/123] Compiling ArgumentParser UniqueNamesValidator.swift
[83/123] Compiling Subprocess Subprocess+Unix.swift
[90/123] Compiling Subprocess Subprocess+Darwin.swift
[91/123] Compiling Subprocess Subprocess+Linux.swift
[93/123] Emitting module Subprocess
[107/124] Compiling ArgumentParser DumpHelpGenerator.swift
[108/124] Compiling ArgumentParser HelpCommand.swift
[109/124] Compiling ArgumentParser HelpGenerator.swift
[110/124] Compiling ArgumentParser MessageInfo.swift
[111/124] Compiling ArgumentParser UsageGenerator.swift
[112/124] Compiling ArgumentParser CollectionExtensions.swift
[116/123] Compiling ArgumentParser ArgumentDefinition.swift
[117/123] Compiling ArgumentParser ArgumentSet.swift
[118/123] Compiling ArgumentParser CommandParser.swift
[119/123] Compiling ArgumentParser InputKey.swift
[121/131] Compiling swift_helper SyncToolchain.swift
[122/132] Compiling swift_helper Build.swift
[123/132] Compiling swift_helper SwiftHelper.swift
[124/132] Compiling swift_helper Diagnostics.swift
[125/132] Compiling swift_helper Doctor.swift
[126/132] Compiling swift_helper Clone.swift
[127/132] Emitting module swift_helper
[128/132] Compiling swift_helper Shell.swift
/host/spi-builder-workspace/Sources/swift-helper/Shell.swift:24:15: error: type 'TerminationStatus' has no member 'unhandledException'
22 | case .exited(let code):
23 | exitCode = Int32(code)
24 | case .unhandledException(let signal):
| `- error: type 'TerminationStatus' has no member 'unhandledException'
25 | exitCode = Int32(signal)
26 | @unknown default:
/host/spi-builder-workspace/Sources/swift-helper/Shell.swift:51:15: error: type 'TerminationStatus' has no member 'unhandledException'
49 | case .exited(let code):
50 | return Int32(code)
51 | case .unhandledException(let signal):
| `- error: type 'TerminationStatus' has no member 'unhandledException'
52 | return Int32(signal)
53 | @unknown default:
[129/132] Compiling swift_helper Test.swift
/host/spi-builder-workspace/Sources/swift-helper/Test.swift:60:29: error: type 'TerminationStatus' has no member 'unhandledException'
58 | if case .exited(let code) = result.terminationStatus, code != 0 {
59 | throw ExitCode.failure
60 | } else if case .unhandledException = result.terminationStatus {
| `- error: type 'TerminationStatus' has no member 'unhandledException'
61 | throw ExitCode.failure
62 | }
BUILD FAILURE 6.1 linux