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 v1.1.0 (78ffb0), with Swift 6.2 for Linux on 19 Sep 2025 09:19:28 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/NeedleInAJayStack/Units.git
Reference: v1.1.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/NeedleInAJayStack/Units
 * tag               v1.1.0     -> FETCH_HEAD
HEAD is now at 78ffb04 Merge pull request #21 from wildthink/percent
Cloned https://github.com/NeedleInAJayStack/Units.git
Revision (git rev-parse @):
78ffb042179acbc3271aacbc2899b62aa4aa9c10
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NeedleInAJayStack/Units.git at v1.1.0
========================================
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-4609320-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/apple/swift-argument-parser
[1/16294] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.96s)
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/30] Compiling Units DefinedUnit.swift
[9/30] Compiling Units Equations.swift
[10/31] Compiling Units UnitError.swift
[11/31] Emitting module ArgumentParserToolInfo
[12/31] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/32] Wrapping AST for ArgumentParserToolInfo for debugging
[15/76] Compiling ArgumentParser CommandGroup.swift
[16/76] Compiling ArgumentParser EnumerableFlag.swift
[17/76] Compiling ArgumentParser AsyncParsableCommand.swift
[18/76] Compiling ArgumentParser CommandConfiguration.swift
[19/76] Emitting module Units
[20/76] Compiling ArgumentParser ExpressibleByArgument.swift
[21/76] Compiling ArgumentParser CollectionExtensions.swift
[22/76] Compiling ArgumentParser ArgumentHelp.swift
[23/76] Compiling ArgumentParser OptionGroup.swift
[24/76] Compiling ArgumentParser BashCompletionsGenerator.swift
[25/76] Compiling ArgumentParser CompletionsGenerator.swift
[26/76] Compiling ArgumentParser FishCompletionsGenerator.swift
[27/76] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/77] Wrapping AST for Units for debugging
[30/77] Emitting module ArgumentParser
[35/83] Compiling ArgumentParser Argument.swift
[36/83] Compiling ArgumentParser ArgumentDiscussion.swift
[38/83] Compiling ArgumentParser Tree.swift
[39/83] Compiling ArgumentParser CodingKeyValidator.swift
[40/83] Compiling ArgumentParser NonsenseFlagsValidator.swift
[41/83] Compiling ArgumentParser ParsableArgumentsValidation.swift
[42/83] Compiling ArgumentParser PositionalArgumentsValidator.swift
[43/83] Compiling ArgumentParser UniqueNamesValidator.swift
[45/83] Compiling ArgumentParser Mutex.swift
[46/83] Compiling ArgumentParser Platform.swift
[47/83] Compiling ArgumentParser SequenceExtensions.swift
[48/83] Compiling ArgumentParser StringExtensions.swift
[49/83] Compiling ArgumentParser SwiftExtensions.swift
[50/83] Compiling ArgumentParser SplitArguments.swift
[51/83] Compiling ArgumentParser DumpHelpGenerator.swift
[52/83] Compiling ArgumentParser HelpCommand.swift
[53/83] Compiling ArgumentParser HelpGenerator.swift
[54/83] Compiling ArgumentParser MessageInfo.swift
[55/83] Compiling ArgumentParser UsageGenerator.swift
[62/83] Compiling ArgumentParser InputKey.swift
[63/83] Compiling ArgumentParser InputOrigin.swift
[64/83] Compiling ArgumentParser Name.swift
[65/83] Compiling ArgumentParser Parsed.swift
[66/83] Compiling ArgumentParser ParsedValues.swift
[67/83] Compiling ArgumentParser ParserError.swift
[68/83] Compiling ArgumentParser ArgumentVisibility.swift
[69/83] Compiling ArgumentParser CompletionKind.swift
[70/83] Compiling ArgumentParser Errors.swift
[71/83] Compiling ArgumentParser Flag.swift
[72/83] Compiling ArgumentParser NameSpecification.swift
[73/83] Compiling ArgumentParser Option.swift
[74/83] Compiling ArgumentParser ParsableArguments.swift
[75/83] Compiling ArgumentParser ParsableCommand.swift
[76/83] Compiling ArgumentParser ArgumentDecoder.swift
[77/83] Compiling ArgumentParser ArgumentDefinition.swift
[78/83] Compiling ArgumentParser ArgumentSet.swift
[79/83] Compiling ArgumentParser CommandParser.swift
[80/84] Wrapping AST for ArgumentParser for debugging
[82/89] Compiling CLI main.swift
[83/89] Compiling CLI Unit.swift
[84/89] Compiling CLI List.swift
[85/89] Emitting module CLI
/host/spi-builder-workspace/Sources/CLI/Convert.swift:45: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
43 | let registry = Units.Registry.default
44 |
45 | 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
46 |     public convenience init?(argument: String) {
47 |         let argument = argument.replacingOccurrences(of: "_", with: " ")
/host/spi-builder-workspace/Sources/CLI/Convert.swift:52: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
50 | }
51 |
52 | 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
53 |     public init?(argument: String) {
54 |         if let unit = try? Self(fromName: argument, registry: registry) {
[86/89] Compiling CLI Convert.swift
/host/spi-builder-workspace/Sources/CLI/Convert.swift:45: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
43 | let registry = Units.Registry.default
44 |
45 | 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
46 |     public convenience init?(argument: String) {
47 |         let argument = argument.replacingOccurrences(of: "_", with: " ")
/host/spi-builder-workspace/Sources/CLI/Convert.swift:52: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
50 | }
51 |
52 | 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
53 |     public init?(argument: String) {
54 |         if let unit = try? Self(fromName: argument, registry: registry) {
[87/90] Wrapping AST for CLI for debugging
[88/90] Write Objects.LinkFileList
[89/90] Linking unit
Build complete! (21.73s)
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",
        "PercentTests.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",
        "Measurement/Percent+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.