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

Successful build of Units, reference main (55df9c), with Swift 6.2 (beta) for Linux on 2 Sep 2025 08:05:26 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/NeedleInAJayStack/Units.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/NeedleInAJayStack/Units
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 55df9cc Merge pull request #19 from NeedleInAJayStack/feat/swift-6
Cloned https://github.com/NeedleInAJayStack/Units.git
Revision (git rev-parse @):
55df9cc3a399fabb37348392b97eb9a10285e2d9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NeedleInAJayStack/Units.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/NeedleInAJayStack/Units.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/apple/swift-argument-parser
[1/15689] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.44s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (2.13s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/13] Write sources
[6/13] Write swift-version-24593BA9C3E375BF.txt
[8/29] Emitting module ArgumentParserToolInfo
[9/29] Emitting module Units
[10/30] Compiling Units Registry.swift
[11/30] Compiling Units RegistryBuilder.swift
[12/30] Compiling Units UnitError.swift
[13/30] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/31] Wrapping AST for ArgumentParserToolInfo for debugging
[16/75] Compiling ArgumentParser CommandConfiguration.swift
[17/75] Compiling ArgumentParser CommandGroup.swift
[18/75] Compiling ArgumentParser EnumerableFlag.swift
[19/75] Compiling ArgumentParser ExpressibleByArgument.swift
[20/75] Compiling Units Unit.swift
[21/75] Compiling ArgumentParser Errors.swift
[22/75] Compiling ArgumentParser Flag.swift
[23/75] Compiling ArgumentParser ArgumentVisibility.swift
[24/75] Compiling ArgumentParser CompletionKind.swift
[25/75] Compiling ArgumentParser OptionGroup.swift
[26/75] Compiling ArgumentParser AsyncParsableCommand.swift
[27/76] Wrapping AST for Units for debugging
[35/82] Compiling ArgumentParser CollectionExtensions.swift
[36/82] Compiling ArgumentParser Mutex.swift
[37/82] Compiling ArgumentParser Platform.swift
[38/82] Compiling ArgumentParser SequenceExtensions.swift
[39/82] Compiling ArgumentParser StringExtensions.swift
[40/82] Compiling ArgumentParser SwiftExtensions.swift
[45/82] Compiling ArgumentParser NameSpecification.swift
[46/82] Compiling ArgumentParser Option.swift
[47/82] Emitting module ArgumentParser
[48/82] Compiling ArgumentParser BashCompletionsGenerator.swift
[49/82] Compiling ArgumentParser CompletionsGenerator.swift
[50/82] Compiling ArgumentParser FishCompletionsGenerator.swift
[51/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[52/82] Compiling ArgumentParser Argument.swift
[53/82] Compiling ArgumentParser ArgumentDiscussion.swift
[54/82] Compiling ArgumentParser ArgumentHelp.swift
[55/82] Compiling ArgumentParser Tree.swift
[56/82] Compiling ArgumentParser CodingKeyValidator.swift
[57/82] Compiling ArgumentParser NonsenseFlagsValidator.swift
[58/82] Compiling ArgumentParser ParsableArgumentsValidation.swift
[59/82] Compiling ArgumentParser PositionalArgumentsValidator.swift
[60/82] Compiling ArgumentParser UniqueNamesValidator.swift
[61/82] Compiling ArgumentParser InputKey.swift
[62/82] Compiling ArgumentParser InputOrigin.swift
[63/82] Compiling ArgumentParser Name.swift
[64/82] Compiling ArgumentParser Parsed.swift
[65/82] Compiling ArgumentParser ParsedValues.swift
[66/82] Compiling ArgumentParser ParserError.swift
[67/82] Compiling ArgumentParser SplitArguments.swift
[68/82] Compiling ArgumentParser DumpHelpGenerator.swift
[69/82] Compiling ArgumentParser HelpCommand.swift
[70/82] Compiling ArgumentParser HelpGenerator.swift
[71/82] Compiling ArgumentParser MessageInfo.swift
[72/82] Compiling ArgumentParser UsageGenerator.swift
[73/82] Compiling ArgumentParser ParsableArguments.swift
[74/82] Compiling ArgumentParser ParsableCommand.swift
[75/82] Compiling ArgumentParser ArgumentDecoder.swift
[76/82] Compiling ArgumentParser ArgumentDefinition.swift
[77/82] Compiling ArgumentParser ArgumentSet.swift
[78/82] Compiling ArgumentParser CommandParser.swift
[79/83] Wrapping AST for ArgumentParser for debugging
[81/88] Compiling CLI main.swift
[82/88] Compiling CLI Unit.swift
[83/88] Compiling CLI List.swift
[84/88] Emitting module CLI
/host/spi-builder-workspace/Sources/CLI/Convert.swift:44:1: warning: extension declares a conformance of imported type 'Expression' to imported protocol '_SendableMetatype'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
42 | let registry = Units.Registry.default
43 |
44 | extension Units.Expression: ArgumentParser.ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'Expression' to imported protocol '_SendableMetatype'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
45 |     public convenience init?(argument: String) {
46 |         let argument = argument.replacingOccurrences(of: "_", with: " ")
/host/spi-builder-workspace/Sources/CLI/Convert.swift:51:1: warning: extension declares a conformance of imported type 'Unit' to imported protocol '_SendableMetatype'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
49 | }
50 |
51 | extension Units.Unit: ArgumentParser.ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'Unit' to imported protocol '_SendableMetatype'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
52 |     public init?(argument: String) {
53 |         if let unit = try? Self(fromName: argument, registry: registry) {
[85/88] Compiling CLI Convert.swift
/host/spi-builder-workspace/Sources/CLI/Convert.swift:44:1: warning: extension declares a conformance of imported type 'Expression' to imported protocol '_SendableMetatype'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
42 | let registry = Units.Registry.default
43 |
44 | extension Units.Expression: ArgumentParser.ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'Expression' to imported protocol '_SendableMetatype'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
45 |     public convenience init?(argument: String) {
46 |         let argument = argument.replacingOccurrences(of: "_", with: " ")
/host/spi-builder-workspace/Sources/CLI/Convert.swift:51:1: warning: extension declares a conformance of imported type 'Unit' to imported protocol '_SendableMetatype'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
49 | }
50 |
51 | extension Units.Unit: ArgumentParser.ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'Unit' to imported protocol '_SendableMetatype'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
52 |     public init?(argument: String) {
53 |         if let unit = try? Self(fromName: argument, registry: registry) {
[86/89] Wrapping AST for CLI for debugging
[87/89] Write Objects.LinkFileList
[88/89] Linking unit
Build complete! (30.87s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "Units",
  "name" : "Units",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Units",
      "targets" : [
        "Units"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "unit",
      "targets" : [
        "CLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5",
    "6"
  ],
  "targets" : [
    {
      "c99name" : "UnitsTests",
      "module_type" : "SwiftTarget",
      "name" : "UnitsTests",
      "path" : "Tests/UnitsTests",
      "sources" : [
        "DefinitionTests.swift",
        "ExpressionTests.swift",
        "MeasurementTests.swift",
        "ParserTests.swift",
        "UnitTests.swift",
        "XCTest+Measurement.swift"
      ],
      "target_dependencies" : [
        "Units"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Units",
      "module_type" : "SwiftTarget",
      "name" : "Units",
      "path" : "Sources/Units",
      "product_memberships" : [
        "Units",
        "unit"
      ],
      "sources" : [
        "Expression.swift",
        "Measurement/Double+Measurement.swift",
        "Measurement/Int+Measurement.swift",
        "Measurement/Measurement.swift",
        "Parser.swift",
        "Quantity.swift",
        "Registry.swift",
        "RegistryBuilder.swift",
        "Unit/DefaultUnits.swift",
        "Unit/DefinedUnit.swift",
        "Unit/Equations.swift",
        "Unit/Unit+DefaultUnits.swift",
        "Unit/Unit.swift",
        "UnitError.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PerformanceTests",
      "module_type" : "SwiftTarget",
      "name" : "PerformanceTests",
      "path" : "Tests/PerformanceTests",
      "sources" : [
        "PerformanceTests.swift"
      ],
      "target_dependencies" : [
        "Units"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CLI",
      "module_type" : "SwiftTarget",
      "name" : "CLI",
      "path" : "Sources/CLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "unit"
      ],
      "sources" : [
        "Convert.swift",
        "List.swift",
        "Unit.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Units"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.4"
}
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
Done.