Build Information
Successful build of SwiftUtilities, reference main (9948d3), with Swift 6.2 for Linux on 30 Apr 2026 11:21:38 UTC.
Swift 6 data race errors: 0
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/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stefanspringer1/SwiftUtilities.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/stefanspringer1/SwiftUtilities
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9948d3a append(relativePath:)/appending(relativePath:) nowe understands "."
Cloned https://github.com/stefanspringer1/SwiftUtilities.git
Revision (git rev-parse @):
9948d3aec9d1320c8760e31f525e479fada7606f
SUCCESS checkout https://github.com/stefanspringer1/SwiftUtilities.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/stefanspringer1/SwiftUtilities.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/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/stefanspringer1/AutoreleasepoolShim
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/27] Fetching autoreleasepoolshim
[28/17554] Fetching autoreleasepoolshim, swift-argument-parser
[4410/20562] Fetching autoreleasepoolshim, swift-argument-parser, swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.79s)
Fetched https://github.com/stefanspringer1/AutoreleasepoolShim 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.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (1.62s)
Fetching https://github.com/apple/swift-system
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.83s)
Computing version for https://github.com/stefanspringer1/AutoreleasepoolShim
Computed https://github.com/stefanspringer1/AutoreleasepoolShim at 1.0.3 (3.22s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.49s)
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
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.4.0
Creating working copy for https://github.com/stefanspringer1/AutoreleasepoolShim
Working copy of https://github.com/stefanspringer1/AutoreleasepoolShim resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/11] Write sources
[8/11] Compiling CSystem shims.c
[9/11] Write swift-version-24593BA9C3E375BF.txt
[10/11] Compiling _SubprocessCShims process_shims.c
[12/46] Compiling AutoreleasepoolShim AutoreleasepoolShim.swift
[13/46] Emitting module AutoreleasepoolShim
[15/47] Compiling SystemPackage FilePath.swift
[16/47] Compiling SystemPackage FilePathComponentView.swift
[17/47] Compiling SystemPackage FilePathComponents.swift
[18/47] Compiling SystemPackage FilePathParsing.swift
[19/47] Compiling SystemPackage FilePathString.swift
[20/51] Compiling SystemPackage FilePathSyntax.swift
[21/51] Compiling SystemPackage FilePathTemp.swift
[22/51] Compiling SystemPackage FilePathTempPosix.swift
[23/51] Compiling SystemPackage FilePathTempWindows.swift
[24/51] Emitting module SystemPackage
[25/51] Compiling SystemPackage Errno.swift
[26/51] Compiling SystemPackage ErrnoWindows.swift
[27/51] Compiling SystemPackage FileDescriptor.swift
[28/51] Compiling SystemPackage FileHelpers.swift
[29/51] Compiling SystemPackage FileOperations.swift
[30/51] Emitting module ArgumentParserToolInfo
[31/51] Compiling ArgumentParserToolInfo ToolInfo.swift
[33/98] Compiling ArgumentParser ParentCommand.swift
[34/98] Compiling ArgumentParser AsyncParsableCommand.swift
[35/98] Compiling ArgumentParser CommandConfiguration.swift
[36/98] Compiling ArgumentParser CommandGroup.swift
[37/98] Compiling ArgumentParser InputKey.swift
[38/98] Compiling ArgumentParser InputOrigin.swift
[39/98] Compiling ArgumentParser Name.swift
[40/98] Compiling ArgumentParser Parsed.swift
[41/98] Compiling ArgumentParser ParsedValues.swift
[42/98] Compiling ArgumentParser ParserError.swift
[43/98] Compiling ArgumentParser SplitArguments.swift
[44/98] Compiling ArgumentParser DumpHelpGenerator.swift
[45/98] Emitting module ArgumentParser
[50/104] Compiling ArgumentParser EnumerableFlag.swift
[51/104] Compiling ArgumentParser ExpressibleByArgument.swift
[52/104] Compiling ArgumentParser ParsableArguments.swift
[53/104] Compiling ArgumentParser ArgumentDecoder.swift
[54/104] Compiling ArgumentParser ArgumentDefinition.swift
[55/104] Compiling ArgumentParser ArgumentSet.swift
[56/104] Compiling ArgumentParser CommandParser.swift
[60/104] Compiling ArgumentParser ParsableCommand.swift
[62/127] Compiling ArgumentParser Foundation.swift
[63/127] Compiling ArgumentParser Mutex.swift
[64/127] Compiling ArgumentParser Platform.swift
[65/127] Compiling ArgumentParser SequenceExtensions.swift
[66/127] Compiling ArgumentParser StringExtensions.swift
[67/127] Compiling ArgumentParser SwiftExtensions.swift
[75/127] Compiling ArgumentParser HelpCommand.swift
[76/127] Compiling ArgumentParser HelpGenerator.swift
[77/127] Compiling ArgumentParser MessageInfo.swift
[78/127] Compiling ArgumentParser UsageGenerator.swift
[79/127] Compiling ArgumentParser CollectionExtensions.swift
[80/127] Compiling ArgumentParser Tree.swift
[81/127] Compiling ArgumentParser CodingKeyValidator.swift
[82/127] Compiling ArgumentParser NonsenseFlagsValidator.swift
[83/127] Compiling ArgumentParser ParsableArgumentsValidation.swift
[84/127] Compiling ArgumentParser PositionalArgumentsValidator.swift
[85/127] Compiling ArgumentParser UniqueNamesValidator.swift
[86/127] Compiling Subprocess API.swift
[87/127] Compiling Subprocess AsyncBufferSequence.swift
[88/127] Compiling Subprocess Buffer.swift
[89/127] Compiling Subprocess Configuration.swift
[90/127] Compiling Subprocess Error.swift
[91/127] Compiling Subprocess Execution.swift
[92/127] Compiling Subprocess AsyncIO+Dispatch.swift
[93/127] Compiling Subprocess AsyncIO+Linux.swift
[94/127] Compiling Subprocess AsyncIO+Windows.swift
[95/127] Compiling Subprocess Input.swift
[96/127] Compiling Subprocess Output.swift
[97/127] Compiling Subprocess Subprocess+BSD.swift
[98/127] Compiling Subprocess Subprocess+Darwin.swift
[99/127] Compiling Subprocess Subprocess+Linux.swift
[107/128] Compiling Subprocess Input+Foundation.swift
[108/128] Compiling Subprocess Output+Foundation.swift
[109/128] Compiling Subprocess Span+SubprocessFoundation.swift
[110/128] Compiling Subprocess Subprocess+Windows.swift
[111/128] Compiling Subprocess Result.swift
[112/128] Compiling Subprocess Span+Subprocess.swift
[116/130] Compiling Subprocess Teardown.swift
[117/130] Compiling Subprocess Thread.swift
[120/130] Compiling Subprocess Subprocess+Unix.swift
[127/130] Emitting module Subprocess
[132/146] Compiling Utilities DataTypes.swift
[133/146] Compiling Utilities Encoding.swift
[134/148] Compiling Utilities SequenceUtilities.swift
[135/148] Compiling Utilities StringUtilities.swift
[136/148] Compiling Utilities Process.swift
/host/spi-builder-workspace/Sources/Utilities/Process.swift:103:13: warning: mutation of captured var 'tempStdOutStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
101 | group.leave()
102 | } else {
103 | tempStdOutStorage.append(stdOutPartialData)
| `- warning: mutation of captured var 'tempStdOutStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
104 | }
105 | }
/host/spi-builder-workspace/Sources/Utilities/Process.swift:117:13: warning: mutation of captured var 'tempStdErrStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
115 | group.leave()
116 | } else {
117 | tempStdErrStorage.append(stdErrPartialData)
| `- warning: mutation of captured var 'tempStdErrStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
118 | }
119 | }
/host/spi-builder-workspace/Sources/Utilities/Process.swift:134:42: warning: reference to captured var 'tempStdOutStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
132 | process.terminationHandler = { process in
133 | group.wait()
134 | if let stdOutText = String(data: tempStdOutStorage, encoding: outputEncoding) {
| `- warning: reference to captured var 'tempStdOutStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
135 | stdOutText.split(separator: "\n").forEach { line in standardOutHandler(String(line)) }
136 | }
/host/spi-builder-workspace/Sources/Utilities/Process.swift:137:42: warning: reference to captured var 'tempStdErrStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
135 | stdOutText.split(separator: "\n").forEach { line in standardOutHandler(String(line)) }
136 | }
137 | if let stdErrText = String(data: tempStdErrStorage, encoding: outputEncoding) {
| `- warning: reference to captured var 'tempStdErrStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
138 | stdErrText.split(separator: "\n").forEach { line in errorOutHandler(String(line)) }
139 | }
/host/spi-builder-workspace/Sources/Utilities/Properties.swift:95:21: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
93 |
94 | // Create file and open it for writing
95 | fileManager.createFile(atPath: path, contents:Data(" ".utf8), attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
96 | let fileHandle = FileHandle(forWritingAtPath: path)
97 | if fileHandle == nil
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[137/148] Compiling Utilities Properties.swift
/host/spi-builder-workspace/Sources/Utilities/Process.swift:103:13: warning: mutation of captured var 'tempStdOutStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
101 | group.leave()
102 | } else {
103 | tempStdOutStorage.append(stdOutPartialData)
| `- warning: mutation of captured var 'tempStdOutStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
104 | }
105 | }
/host/spi-builder-workspace/Sources/Utilities/Process.swift:117:13: warning: mutation of captured var 'tempStdErrStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
115 | group.leave()
116 | } else {
117 | tempStdErrStorage.append(stdErrPartialData)
| `- warning: mutation of captured var 'tempStdErrStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
118 | }
119 | }
/host/spi-builder-workspace/Sources/Utilities/Process.swift:134:42: warning: reference to captured var 'tempStdOutStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
132 | process.terminationHandler = { process in
133 | group.wait()
134 | if let stdOutText = String(data: tempStdOutStorage, encoding: outputEncoding) {
| `- warning: reference to captured var 'tempStdOutStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
135 | stdOutText.split(separator: "\n").forEach { line in standardOutHandler(String(line)) }
136 | }
/host/spi-builder-workspace/Sources/Utilities/Process.swift:137:42: warning: reference to captured var 'tempStdErrStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
135 | stdOutText.split(separator: "\n").forEach { line in standardOutHandler(String(line)) }
136 | }
137 | if let stdErrText = String(data: tempStdErrStorage, encoding: outputEncoding) {
| `- warning: reference to captured var 'tempStdErrStorage' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
138 | stdErrText.split(separator: "\n").forEach { line in errorOutHandler(String(line)) }
139 | }
/host/spi-builder-workspace/Sources/Utilities/Properties.swift:95:21: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
93 |
94 | // Create file and open it for writing
95 | fileManager.createFile(atPath: path, contents:Data(" ".utf8), attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
96 | let fileHandle = FileHandle(forWritingAtPath: path)
97 | if fileHandle == nil
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[138/148] Compiling Utilities Errors.swift
/host/spi-builder-workspace/Sources/Utilities/FileUtilities.swift:286:13: warning: variable 'enumerator' was never mutated; consider changing to 'let' constant
284 | var isEmpty: Bool {
285 | guard isDirectory else { return false }
286 | var enumerator = FileManager.default.enumerator(at: self, includingPropertiesForKeys: nil)?.makeIterator()
| `- warning: variable 'enumerator' was never mutated; consider changing to 'let' constant
287 | return enumerator?.next() == nil
288 | }
/host/spi-builder-workspace/Sources/Utilities/FileUtilities.swift:602:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
600 | }
601 | if !fileManager.fileExists(atPath: path) {
602 | fileManager.createFile(atPath: path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
603 | }
604 | let maybeFileHandle = FileHandle(forWritingAtPath: path)
[139/148] Compiling Utilities FileUtilities.swift
/host/spi-builder-workspace/Sources/Utilities/FileUtilities.swift:286:13: warning: variable 'enumerator' was never mutated; consider changing to 'let' constant
284 | var isEmpty: Bool {
285 | guard isDirectory else { return false }
286 | var enumerator = FileManager.default.enumerator(at: self, includingPropertiesForKeys: nil)?.makeIterator()
| `- warning: variable 'enumerator' was never mutated; consider changing to 'let' constant
287 | return enumerator?.next() == nil
288 | }
/host/spi-builder-workspace/Sources/Utilities/FileUtilities.swift:602:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
600 | }
601 | if !fileManager.fileExists(atPath: path) {
602 | fileManager.createFile(atPath: path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
603 | }
604 | let maybeFileHandle = FileHandle(forWritingAtPath: path)
[140/148] Compiling Utilities Lengths.swift
[141/148] Compiling Utilities Parallel.swift
[142/148] Compiling Utilities SystemUtilities.swift
[143/148] Compiling Utilities TimeUtilities.swift
[144/148] Emitting module Utilities
[145/148] Compiling Utilities CharacterEntities3.swift
[146/148] Compiling Utilities CharacterUtilities.swift
[147/148] Compiling Utilities CharacterEntities1.swift
[148/148] Compiling Utilities CharacterEntities2.swift
Build complete! (43.91s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "autoreleasepoolshim",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stefanspringer1/AutoreleasepoolShim"
},
{
"identity" : "swift-subprocess",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-subprocess.git"
}
],
"manifest_display_name" : "SwiftUtilities",
"name" : "SwiftUtilities",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "Utilities",
"targets" : [
"Utilities"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UtilitiesTests",
"module_type" : "SwiftTarget",
"name" : "UtilitiesTests",
"path" : "Tests/UtilitiesTests",
"sources" : [
"SwiftUtilitiesTests.swift"
],
"target_dependencies" : [
"Utilities"
],
"type" : "test"
},
{
"c99name" : "Utilities",
"module_type" : "SwiftTarget",
"name" : "Utilities",
"path" : "Sources/Utilities",
"product_dependencies" : [
"ArgumentParser",
"AutoreleasepoolShim",
"Subprocess"
],
"product_memberships" : [
"Utilities"
],
"sources" : [
"CharacterEntities1.swift",
"CharacterEntities2.swift",
"CharacterEntities3.swift",
"CharacterUtilities.swift",
"DataTypes.swift",
"Encoding.swift",
"Errors.swift",
"FileUtilities.swift",
"Lengths.swift",
"Parallel.swift",
"Process.swift",
"Properties.swift",
"SequenceUtilities.swift",
"StringUtilities.swift",
"SystemUtilities.swift",
"TimeUtilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Done.