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.0.0 (55df9c), with Swift 6.2 (beta) for Linux on 2 Sep 2025 08:05:27 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: v1.0.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.0.0     -> FETCH_HEAD
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 v1.0.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-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 (3.59s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (6.88s)
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] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/30] Wrapping AST for ArgumentParserToolInfo for debugging
[12/74] Compiling ArgumentParser CompletionKind.swift
[13/74] Compiling ArgumentParser Errors.swift
[14/75] Compiling ArgumentParser Flag.swift
[15/75] Compiling ArgumentParser NameSpecification.swift
[16/75] Compiling Units Unit.swift
[17/75] Compiling ArgumentParser Argument.swift
[18/75] Compiling ArgumentParser ArgumentDiscussion.swift
[19/75] Compiling ArgumentParser BashCompletionsGenerator.swift
[20/75] Compiling ArgumentParser CompletionsGenerator.swift
[21/75] Compiling ArgumentParser FishCompletionsGenerator.swift
[22/75] Compiling ArgumentParser ZshCompletionsGenerator.swift
[23/75] Emitting module Units
[24/75] Compiling ArgumentParser ArgumentHelp.swift
[25/75] Compiling ArgumentParser ArgumentVisibility.swift
[26/75] Compiling Units UnitError.swift
[27/76] Wrapping AST for Units for debugging
[29/76] Compiling ArgumentParser CollectionExtensions.swift
[30/76] Compiling ArgumentParser Mutex.swift
[31/76] Compiling ArgumentParser Platform.swift
[32/76] Compiling ArgumentParser SequenceExtensions.swift
[33/76] Compiling ArgumentParser StringExtensions.swift
[34/76] Compiling ArgumentParser SwiftExtensions.swift
[35/82] Compiling ArgumentParser Tree.swift
[36/82] Compiling ArgumentParser CodingKeyValidator.swift
[37/82] Compiling ArgumentParser NonsenseFlagsValidator.swift
[38/82] Compiling ArgumentParser ParsableArgumentsValidation.swift
[39/82] Compiling ArgumentParser PositionalArgumentsValidator.swift
[40/82] Compiling ArgumentParser UniqueNamesValidator.swift
[41/82] Emitting module ArgumentParser
[49/82] Compiling ArgumentParser InputKey.swift
[50/82] Compiling ArgumentParser InputOrigin.swift
[51/82] Compiling ArgumentParser Name.swift
[52/82] Compiling ArgumentParser Parsed.swift
[53/82] Compiling ArgumentParser ParsedValues.swift
[54/82] Compiling ArgumentParser ParserError.swift
[55/82] Compiling ArgumentParser SplitArguments.swift
[56/82] Compiling ArgumentParser DumpHelpGenerator.swift
[57/82] Compiling ArgumentParser HelpCommand.swift
[58/82] Compiling ArgumentParser HelpGenerator.swift
[59/82] Compiling ArgumentParser MessageInfo.swift
[60/82] Compiling ArgumentParser UsageGenerator.swift
[66/82] Compiling ArgumentParser Option.swift
[67/82] Compiling ArgumentParser OptionGroup.swift
[68/82] Compiling ArgumentParser AsyncParsableCommand.swift
[69/82] Compiling ArgumentParser CommandConfiguration.swift
[70/82] Compiling ArgumentParser CommandGroup.swift
[71/82] Compiling ArgumentParser EnumerableFlag.swift
[72/82] Compiling ArgumentParser ExpressibleByArgument.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 List.swift
[83/88] Compiling CLI Unit.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! (29.50s)
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.