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 (eefd86), with Swift 6.0 for macOS (SPM) on 4 Jun 2025 06:05:32 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NeedleInAJayStack/Units
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at eefd864 Merge pull request #18 from NeedleInAJayStack/ci/fix-publish-name
Cloned https://github.com/NeedleInAJayStack/Units.git
Revision (git rev-parse @):
eefd864e85a8dd181df83756a5aba2ca0cda7831
SUCCESS checkout https://github.com/NeedleInAJayStack/Units.git at main
========================================
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
[4/10] Write unit-entitlement.plist
[6/10] Write swift-version-5BDAB9E9C0126B9D.txt
[8/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/25] Emitting module ArgumentParserToolInfo
[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/64] Compiling ArgumentParser InputOrigin.swift
[16/64] Compiling ArgumentParser Name.swift
[17/64] Compiling ArgumentParser Parsed.swift
[18/64] Compiling ArgumentParser ParsedValues.swift
[19/64] Compiling ArgumentParser CommandConfiguration.swift
[20/64] Compiling ArgumentParser CommandGroup.swift
[21/64] Compiling ArgumentParser EnumerableFlag.swift
[22/64] Compiling ArgumentParser ExpressibleByArgument.swift
[23/68] Emitting module ArgumentParser
[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 ParsableArguments.swift
[30/68] Compiling ArgumentParser ParsableArgumentsValidation.swift
[31/68] Compiling ArgumentParser ParsableCommand.swift
[32/68] Compiling ArgumentParser ArgumentDecoder.swift
[33/68] Compiling ArgumentParser Platform.swift
[34/68] Compiling ArgumentParser SequenceExtensions.swift
[35/68] Compiling ArgumentParser StringExtensions.swift
[36/68] Compiling ArgumentParser Tree.swift
[37/68] Compiling ArgumentParser NameSpecification.swift
[38/68] Compiling ArgumentParser Option.swift
[39/68] Compiling ArgumentParser OptionGroup.swift
[40/68] Compiling ArgumentParser AsyncParsableCommand.swift
[41/68] Compiling ArgumentParser ParserError.swift
[42/68] Compiling ArgumentParser SplitArguments.swift
[43/68] Compiling ArgumentParser DumpHelpGenerator.swift
[44/68] Compiling ArgumentParser HelpCommand.swift
[45/68] Compiling ArgumentParser HelpGenerator.swift
[46/68] Compiling ArgumentParser MessageInfo.swift
[47/68] Compiling ArgumentParser UsageGenerator.swift
[48/68] Compiling ArgumentParser CollectionExtensions.swift
[49/68] Compiling ArgumentParser ArgumentDefinition.swift
[50/68] Compiling ArgumentParser ArgumentSet.swift
[51/68] Compiling ArgumentParser CommandParser.swift
[52/68] Compiling ArgumentParser InputKey.swift
[53/68] Compiling Units Unit+DefaultUnits.swift
[54/68] Compiling Units Equations.swift
[55/68] Compiling Units DefinedUnit.swift
[56/68] Compiling Units Registry.swift
[57/68] Compiling Units Unit.swift
[62/69] Emitting module Units
[65/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] 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) {
[70/74] Compiling CLI List.swift
[71/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] Write Objects.LinkFileList
[72/74] Linking unit
[73/74] Applying unit
Build complete! (11.56s)
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.50s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.49s)
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.