The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftUtilities, reference main (9948d3), with Swift 6.3 for Linux on 30 Apr 2026 11:20:47 UTC.

Swift 6 data race errors: 0

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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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.3
Building package at path:  $PWD
https://github.com/stefanspringer1/SwiftUtilities.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/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/stefanspringer1/AutoreleasepoolShim
[1/27] Fetching autoreleasepoolshim
[28/17554] Fetching autoreleasepoolshim, swift-argument-parser
[4586/20562] Fetching autoreleasepoolshim, swift-argument-parser, swift-subprocess
Fetched https://github.com/stefanspringer1/AutoreleasepoolShim from cache (0.57s)
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.58s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.73s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (1.17s)
Fetching https://github.com/apple/swift-system
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.50s)
Computing version for https://github.com/stefanspringer1/AutoreleasepoolShim
Computed https://github.com/stefanspringer1/AutoreleasepoolShim at 1.0.3 (2.87s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.41s)
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/stefanspringer1/AutoreleasepoolShim
Working copy of https://github.com/stefanspringer1/AutoreleasepoolShim resolved at 1.0.3
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/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] Emitting module SystemPackage
[13/50] Compiling SystemPackage SystemString.swift
[14/50] Compiling SystemPackage Util+StringArray.swift
[15/50] Compiling SystemPackage Util.swift
[16/50] Compiling SystemPackage UtilConsumers.swift
[17/50] Emitting module AutoreleasepoolShim
[18/50] Compiling AutoreleasepoolShim AutoreleasepoolShim.swift
[20/51] Compiling SystemPackage FilePath.swift
[21/51] Compiling SystemPackage FilePathComponentView.swift
[22/51] Compiling SystemPackage FilePathComponents.swift
[23/51] Compiling SystemPackage FilePathParsing.swift
[24/51] Compiling SystemPackage FilePathString.swift
[25/51] Compiling SystemPackage FilePathWindows.swift
[26/51] Compiling SystemPackage FilePermissions.swift
[27/51] Compiling SystemPackage IOCompletion.swift
[28/51] Compiling SystemPackage IORequest.swift
[29/51] Compiling SystemPackage Errno.swift
[30/51] Compiling SystemPackage ErrnoWindows.swift
[31/51] Compiling SystemPackage FileDescriptor.swift
[32/51] Compiling SystemPackage FileHelpers.swift
[33/51] Compiling SystemPackage FileOperations.swift
[34/51] Compiling SystemPackage FilePathSyntax.swift
[35/51] Compiling SystemPackage FilePathTemp.swift
[36/51] Compiling SystemPackage FilePathTempPosix.swift
[37/51] Compiling SystemPackage FilePathTempWindows.swift
[38/51] Compiling ArgumentParserToolInfo ToolInfo.swift
[39/51] Emitting module ArgumentParserToolInfo
[41/98] Compiling ArgumentParser OptionGroup.swift
[42/98] Compiling ArgumentParser DumpHelpGenerator.swift
[43/98] Compiling ArgumentParser HelpCommand.swift
[44/98] Compiling ArgumentParser HelpGenerator.swift
[45/98] Emitting module ArgumentParser
[46/104] Compiling ArgumentParser ParentCommand.swift
[47/104] Compiling ArgumentParser AsyncParsableCommand.swift
[48/104] Compiling ArgumentParser CommandConfiguration.swift
[49/104] Compiling ArgumentParser CommandGroup.swift
[50/104] Compiling ArgumentParser EnumerableFlag.swift
[51/104] Compiling ArgumentParser ExpressibleByArgument.swift
[52/104] Compiling ArgumentParser ParsableArguments.swift
[53/104] Compiling ArgumentParser Foundation.swift
[54/104] Compiling ArgumentParser Mutex.swift
[55/104] Compiling ArgumentParser Platform.swift
[56/104] Compiling ArgumentParser SequenceExtensions.swift
[57/104] Compiling ArgumentParser StringExtensions.swift
[58/104] Compiling ArgumentParser SwiftExtensions.swift
[59/104] Compiling ArgumentParser InputOrigin.swift
[60/104] Compiling ArgumentParser Name.swift
[61/104] Compiling ArgumentParser Parsed.swift
[62/104] Compiling ArgumentParser ParsedValues.swift
[63/104] Compiling ArgumentParser ParserError.swift
[64/104] Compiling ArgumentParser SplitArguments.swift
[65/104] Compiling ArgumentParser ArgumentVisibility.swift
[66/104] Compiling ArgumentParser CompletionKind.swift
[67/104] Compiling ArgumentParser Errors.swift
[68/104] Compiling ArgumentParser Flag.swift
[69/104] Compiling ArgumentParser NameSpecification.swift
[70/104] Compiling ArgumentParser Option.swift
[72/104] Compiling ArgumentParser MessageInfo.swift
[73/104] Compiling ArgumentParser UsageGenerator.swift
[74/104] Compiling ArgumentParser CollectionExtensions.swift
[81/105] Compiling ArgumentParser Tree.swift
[82/105] Compiling ArgumentParser CodingKeyValidator.swift
[83/105] Compiling ArgumentParser NonsenseFlagsValidator.swift
[84/105] Compiling ArgumentParser ParsableArgumentsValidation.swift
[85/105] Compiling ArgumentParser PositionalArgumentsValidator.swift
[86/105] Compiling ArgumentParser UniqueNamesValidator.swift
[87/127] Compiling Subprocess Span+SubprocessFoundation.swift
[88/127] Compiling Subprocess Subprocess+Windows.swift
[89/127] Compiling Subprocess Result.swift
[90/127] Compiling Subprocess Span+Subprocess.swift
[91/127] Compiling Subprocess Input.swift
[92/127] Compiling Subprocess Output.swift
[93/127] Compiling Subprocess API.swift
[94/127] Compiling Subprocess AsyncBufferSequence.swift
[95/127] Compiling Subprocess Buffer.swift
[96/127] Compiling Subprocess Subprocess+Darwin.swift
[97/127] Compiling Subprocess Subprocess+Linux.swift
[98/127] Compiling Subprocess Subprocess+Unix.swift
[99/127] Compiling Subprocess AsyncIO+Dispatch.swift
[100/127] Compiling ArgumentParser ParsableCommand.swift
[101/127] Compiling ArgumentParser ArgumentDecoder.swift
[102/127] Compiling ArgumentParser ArgumentDefinition.swift
[103/127] Compiling ArgumentParser ArgumentSet.swift
[104/127] Compiling ArgumentParser CommandParser.swift
[105/127] Compiling ArgumentParser InputKey.swift
[110/130] Emitting module Subprocess
[111/130] Compiling Subprocess Input+Foundation.swift
[112/130] Compiling Subprocess Output+Foundation.swift
[116/130] Compiling Subprocess Subprocess+BSD.swift
[117/130] Compiling Subprocess Teardown.swift
[118/130] Compiling Subprocess Thread.swift
[126/130] Compiling Subprocess AsyncIO+Linux.swift
[127/130] Compiling Subprocess AsyncIO+Windows.swift
[128/130] Compiling Subprocess Configuration.swift
[129/130] Compiling Subprocess Error.swift
[130/130] Compiling Subprocess Execution.swift
[132/146] Compiling Utilities Lengths.swift
[133/146] Compiling Utilities Parallel.swift
[134/146] 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>
[135/146] 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>
[136/148] Compiling Utilities SequenceUtilities.swift
[137/148] Compiling Utilities StringUtilities.swift
[138/148] Compiling Utilities SystemUtilities.swift
[139/148] Compiling Utilities TimeUtilities.swift
[140/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)
[141/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)
[142/148] Compiling Utilities DataTypes.swift
[143/148] Compiling Utilities Encoding.swift
[144/148] Compiling Utilities CharacterEntities1.swift
[145/148] Compiling Utilities CharacterEntities2.swift
[146/148] Compiling Utilities CharacterEntities3.swift
[147/148] Compiling Utilities CharacterUtilities.swift
[148/148] Emitting module Utilities
Build complete! (32.17s)
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.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.