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 v0.1.6 (021164), with Swift 6.0 for macOS (SPM) on 4 Jun 2025 06:05:37 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NeedleInAJayStack/Units.git
Reference: v0.1.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NeedleInAJayStack/Units
 * tag               v0.1.6     -> FETCH_HEAD
HEAD is now at 0211648 Merge pull request #17 from NeedleInAJayStack/feat/add-dimensionally-equivalent-units
Cloned https://github.com/NeedleInAJayStack/Units.git
Revision (git rev-parse @):
02116483b38b3eb938ce9040d90f9fc91a90a079
SUCCESS checkout https://github.com/NeedleInAJayStack/Units.git at v0.1.6
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/NeedleInAJayStack/Units.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/10] Write sources
[2/10] Write unit-entitlement.plist
[2/10] Write sources
[6/10] Write swift-version-5BDAB9E9C0126B9D.txt
[8/25] Emitting module ArgumentParserToolInfo
[9/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/64] Compiling ArgumentParser ArgumentHelp.swift
[11/64] Compiling ArgumentParser ArgumentVisibility.swift
[12/64] Compiling ArgumentParser CompletionKind.swift
[13/64] Compiling ArgumentParser Errors.swift
[14/64] Compiling ArgumentParser Flag.swift
[15/68] Emitting module ArgumentParser
[16/68] Compiling ArgumentParser NameSpecification.swift
[17/68] Compiling ArgumentParser Option.swift
[18/68] Compiling ArgumentParser OptionGroup.swift
[19/68] Compiling ArgumentParser AsyncParsableCommand.swift
[20/68] Compiling ArgumentParser ParsableArguments.swift
[21/68] Compiling ArgumentParser ParsableArgumentsValidation.swift
[22/68] Compiling ArgumentParser ParsableCommand.swift
[23/68] Compiling ArgumentParser ArgumentDecoder.swift
[24/68] Compiling ArgumentParser BashCompletionsGenerator.swift
[25/68] Compiling ArgumentParser CompletionsGenerator.swift
[26/68] Compiling ArgumentParser FishCompletionsGenerator.swift
[27/68] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/68] Compiling ArgumentParser Argument.swift
[29/68] Compiling ArgumentParser Platform.swift
[30/68] Compiling ArgumentParser SequenceExtensions.swift
[31/68] Compiling ArgumentParser StringExtensions.swift
[32/68] Compiling ArgumentParser Tree.swift
[33/68] Compiling ArgumentParser CommandConfiguration.swift
[34/68] Compiling ArgumentParser CommandGroup.swift
[35/68] Compiling ArgumentParser EnumerableFlag.swift
[36/68] Compiling ArgumentParser ExpressibleByArgument.swift
[37/68] Compiling ArgumentParser ParserError.swift
[38/68] Compiling ArgumentParser SplitArguments.swift
[39/68] Compiling ArgumentParser DumpHelpGenerator.swift
[40/68] Compiling ArgumentParser HelpCommand.swift
[41/68] Compiling ArgumentParser ArgumentDefinition.swift
[42/68] Compiling ArgumentParser ArgumentSet.swift
[43/68] Compiling ArgumentParser CommandParser.swift
[44/68] Compiling ArgumentParser InputKey.swift
[45/68] Compiling ArgumentParser InputOrigin.swift
[46/68] Compiling ArgumentParser Name.swift
[47/68] Compiling ArgumentParser Parsed.swift
[48/68] Compiling ArgumentParser ParsedValues.swift
[49/68] Compiling ArgumentParser HelpGenerator.swift
[50/68] Compiling ArgumentParser MessageInfo.swift
[51/68] Compiling ArgumentParser UsageGenerator.swift
[52/68] Compiling ArgumentParser CollectionExtensions.swift
[53/68] Compiling Units DefinedUnit.swift
[54/68] Compiling Units Unit+DefaultUnits.swift
[55/68] Compiling Units Unit.swift
[56/68] Compiling Units Equations.swift
[57/68] Compiling Units Registry.swift
[60/69] Emitting module Units
[63/69] Compiling Units DefaultUnits.swift
[66/69] Compiling Units UnitError.swift
[67/74] Compiling CLI main.swift
[68/74] Compiling CLI Unit.swift
[69/74] Compiling CLI List.swift
[70/74] Compiling CLI Convert.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Convert.swift:42:1: warning: extension declares a conformance of imported type 'Expression' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
40 | }
41 |
42 | extension Expression: ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'Expression' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
43 |     public convenience init?(argument: String) {
44 |         let argument = argument.replacingOccurrences(of: "_", with: " ")
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Convert.swift:49:1: warning: extension declares a conformance of imported type 'Unit' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
47 | }
48 |
49 | extension Units.Unit: ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'Unit' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
50 |     public init?(argument: String) {
51 |         if let unit = try? Self(fromName: argument) {
[71/74] Emitting module CLI
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Convert.swift:42:1: warning: extension declares a conformance of imported type 'Expression' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
40 | }
41 |
42 | extension Expression: ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'Expression' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
43 |     public convenience init?(argument: String) {
44 |         let argument = argument.replacingOccurrences(of: "_", with: " ")
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Convert.swift:49:1: warning: extension declares a conformance of imported type 'Unit' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
47 | }
48 |
49 | extension Units.Unit: ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'Unit' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Units' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
50 |     public init?(argument: String) {
51 |         if let unit = try? Self(fromName: argument) {
[71/74] Write Objects.LinkFileList
[72/74] Linking unit
[73/74] Applying unit
Build complete! (11.07s)
Fetching https://github.com/apple/swift-argument-parser
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.51s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.48s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
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" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Units",
      "targets" : [
        "Units"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "unit",
      "targets" : [
        "CLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "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",
        "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"
}
Done.