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 SwiftUtils, reference main (67d8a9), with Swift 6.1 for macOS (SPM) on 24 May 2025 22:03:02 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Genaro-Chris/SwiftUtils.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Genaro-Chris/SwiftUtils
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 67d8a95 0.1.0
Cloned https://github.com/Genaro-Chris/SwiftUtils.git
Revision (git rev-parse @):
67d8a953087181ef302d552729205da7de42a492
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Genaro-Chris/SwiftUtils.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftutils",
      "name": "SwiftUtils",
      "url": "https://github.com/Genaro-Chris/SwiftUtils.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUtils",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Genaro-Chris/SwiftUtils.git
[1/125] Fetching swiftutils
Fetched https://github.com/Genaro-Chris/SwiftUtils.git from cache (0.65s)
Creating working copy for https://github.com/Genaro-Chris/SwiftUtils.git
Working copy of https://github.com/Genaro-Chris/SwiftUtils.git resolved at main (67d8a95)
warning: '.resolve-product-dependencies': dependency 'swiftutils' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Genaro-Chris/SwiftUtils.git
https://github.com/Genaro-Chris/SwiftUtils.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftUtils",
  "name" : "SwiftUtils",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Utilities",
      "targets" : [
        "Utilities"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Utilities",
      "module_type" : "SwiftTarget",
      "name" : "Utilities",
      "path" : "Sources",
      "product_memberships" : [
        "Utilities"
      ],
      "sources" : [
        "SwiftUtils/AsyncFunction.swift",
        "SwiftUtils/AsyncThrowingFunction.swift",
        "SwiftUtils/Function.swift",
        "SwiftUtils/MaybeUninit.swift",
        "SwiftUtils/SwiftUtils.swift",
        "SwiftUtils/ThrowingFunction.swift",
        "SwiftUtils/Tuple.swift",
        "SwiftUtils/Utils.swift",
        "SwiftUtils/Variant+Error.swift",
        "SwiftUtils/Variant.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftUtilsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUtilsTests",
      "path" : "Tests/SwiftUtilsTests",
      "sources" : [
        "Declarations.swift",
        "FunctionTests.swift",
        "MaybeUninitTests.swift",
        "SwiftUtilsTests.swift",
        "TupleTests.swift",
        "VariantTests.swift"
      ],
      "target_dependencies" : [
        "Utilities"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/12] Compiling Utilities SwiftUtils.swift
[4/12] Compiling Utilities AsyncThrowingFunction.swift
[5/13] Compiling Utilities Utils.swift
[6/13] Compiling Utilities AsyncFunction.swift
[7/13] Compiling Utilities Tuple.swift
[8/13] Compiling Utilities ThrowingFunction.swift
[9/13] Compiling Utilities Variant+Error.swift
[10/13] Compiling Utilities MaybeUninit.swift
[11/13] Emitting module Utilities
[12/13] Compiling Utilities Function.swift
[13/13] Compiling Utilities Variant.swift
Build complete! (1.21s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftUtils",
  "name" : "SwiftUtils",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Utilities",
      "targets" : [
        "Utilities"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Utilities",
      "module_type" : "SwiftTarget",
      "name" : "Utilities",
      "path" : "Sources",
      "product_memberships" : [
        "Utilities"
      ],
      "sources" : [
        "SwiftUtils/AsyncFunction.swift",
        "SwiftUtils/AsyncThrowingFunction.swift",
        "SwiftUtils/Function.swift",
        "SwiftUtils/MaybeUninit.swift",
        "SwiftUtils/SwiftUtils.swift",
        "SwiftUtils/ThrowingFunction.swift",
        "SwiftUtils/Tuple.swift",
        "SwiftUtils/Utils.swift",
        "SwiftUtils/Variant+Error.swift",
        "SwiftUtils/Variant.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftUtilsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUtilsTests",
      "path" : "Tests/SwiftUtilsTests",
      "sources" : [
        "Declarations.swift",
        "FunctionTests.swift",
        "MaybeUninitTests.swift",
        "SwiftUtilsTests.swift",
        "TupleTests.swift",
        "VariantTests.swift"
      ],
      "target_dependencies" : [
        "Utilities"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "6.0"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/genaro-chris/swiftutils/main
Repository:               Genaro-Chris/SwiftUtils
Swift version used:       6.1
Target:                   Utilities
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            4633b45fc732d8c55568be09dd852f9dc1582c25 -> FETCH_HEAD
HEAD is now at 4633b45 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Extracting symbol information for 'Utilities'...
Finished extracting symbol information for 'Utilities'. (0.70s)
Building documentation for 'Utilities'...
warning: External name 'to' used to document parameter
  --> Sources/SwiftUtils/MaybeUninit.swift:90:21-90:23
88 |
89 |     /// Fully initialize the value of the MaybeUninit<Value> instance.
90 +     /// - Parameter to: the value to use in initializing this instance
   |                     ╰─suggestion: Replace 'to' with 'initialValue'
91 |     @_transparent
92 |     @_alwaysEmitIntoClient
warning: External name 'by' used to document parameter
  --> Sources/SwiftUtils/Tuple.swift:14:21-14:23
12 |     /// Initializes the Tuple instance with a variadic arguments list of arbitrary types
13 |     ///
14 +     /// - Parameter by: a variadic list of values of arbitrary type
   |                     ╰─suggestion: Replace 'by' with 'value'
15 |     @_alwaysEmitIntoClient
16 |     @_transparent
warning: External name 'with' used to document parameter
  --> Sources/SwiftUtils/Tuple.swift:23:21-23:25
21 |     /// Initializes the Tuple instance with a tuple of values
22 |     ///
23 +     /// - Parameter with: tuple of arbitrary values
   |                     ╰─suggestion: Replace 'with' with 'value'
24 |     @_alwaysEmitIntoClient
25 |     @_transparent
warning: External name 'with' used to document parameter
  --> Sources/SwiftUtils/Variant.swift:23:21-23:25
21 |     /// Initializes a Variant instance with the argument value passed in
22 |     ///
23 +     /// - Parameter with: the value to initialize with
   |                     ╰─suggestion: Replace 'with' with 'value'
24 |     /// - Throws: if the argument's type is not among the variant generic parameter pack types
25 |     /// or if the number of types are less than two (2)
warning: External name 'to' used to document parameter
  --> Sources/SwiftUtils/Variant.swift:82:13-82:15
80 |     /// - Parameters:
81 |     ///   - resultType: the metatype of the old value
82 +     ///   - to: the new value to change this variant type to
   |             ╰─suggestion: Replace 'to' with 'value'
83 |     /// - Returns: the old value but casted to the return type specified
84 |     /// - Throws: if the argument's type or the return type is not among the variant generic parameter pack types
warning: External name 'to' used to document parameter
   --> Sources/SwiftUtils/Variant.swift:136:13-136:15
134 |     ///
135 |     /// - Parameters:
136 +     ///   - to: the new value to change this variant type to
    |             ╰─suggestion: Replace 'to' with 'value'
137 |     /// - Returns: the old value but casted to the return type specified
138 |     /// - Throws: if the argument's type is not among the variant generic parameter pack types
warning: External name 'as' used to document parameter
   --> Sources/SwiftUtils/Variant.swift:269:13-269:15
267 |     ///
268 |     /// - Parameters:
269 +     ///   - as: the type this variant value is of
    |             ╰─suggestion: Replace 'as' with 'type'
270 |     ///   - body: closure to call
271 |     /// - Returns: anything the closure returns
warning: External name 'as' used to document parameter
   --> Sources/SwiftUtils/Variant.swift:325:21-325:23
323 |     /// might fail at runtime if the argument's type is not among the variant generic parameter pack types
324 |     ///
325 +     /// - Parameter as: the type this variant value is of
    |                     ╰─suggestion: Replace 'as' with 'type'
326 |     /// - Returns: the value if the type passed in is correct
327 |     @_alwaysEmitIntoClient
warning: External name 'as' used to document parameter
   --> Sources/SwiftUtils/Variant.swift:401:21-401:23
399 |
400 |     /// Returns the value this instance has if the type passed in is the correct type
401 +     /// - Parameter as: the metatype of this instance value's type
    |                     ╰─suggestion: Replace 'as' with 'type'
402 |     /// - Returns: this instance value
403 |     /// - Throws: if the type passed in is not correct type
warning: External name 'as' used to document parameter
   --> Sources/SwiftUtils/Variant.swift:432:21-432:23
430 |
431 |     /// Returns the value this instance has if the type is correct one otherwise nil
432 +     /// - Parameter as: the metatype of this instance value's type
    |                     ╰─suggestion: Replace 'as' with 'type'
433 |     /// - Returns: this instance value
434 |     @_transparent
Finished building documentation for 'Utilities' (0.14s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/genaro-chris/swiftutils/main
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (3.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.81s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.46s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit SemanticVersion.swift
[8/57] Compiling SymbolKit AccessControl.swift
[9/57] Compiling SymbolKit Availability.swift
[10/57] Compiling SymbolKit AvailabilityItem.swift
[11/57] Compiling SymbolKit Domain.swift
[12/57] Emitting module Snippets
[13/57] Compiling Snippets Snippet.swift
[14/57] Compiling Snippets SnippetParser.swift
[15/57] Compiling SymbolKit Names.swift
[16/57] Compiling SymbolKit SPI.swift
[17/57] Compiling SymbolKit Snippet.swift
[18/57] Compiling SymbolKit Extension.swift
[19/57] Compiling SymbolKit Mixin+Equals.swift
[20/57] Compiling SymbolKit Mixin+Hash.swift
[21/57] Compiling SymbolKit Mixin.swift
[22/57] Compiling SymbolKit LineList.swift
[23/57] Compiling SymbolKit Position.swift
[24/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[25/57] Compiling SymbolKit UnifiedSymbol.swift
[26/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[27/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[28/57] Compiling SymbolKit DeclarationFragments.swift
[29/57] Compiling SymbolKit Fragment.swift
[30/57] Compiling SymbolKit FragmentKind.swift
[31/57] Compiling SymbolKit FunctionParameter.swift
[32/57] Compiling SymbolKit FunctionSignature.swift
[33/57] Compiling SymbolKit GenericConstraint.swift
[34/57] Compiling SymbolKit GenericParameter.swift
[35/57] Compiling SymbolKit Generics.swift
[36/57] Compiling SymbolKit Namespace.swift
[37/57] Compiling SymbolKit SourceRange.swift
[38/57] Compiling SymbolKit Metadata.swift
[39/57] Compiling SymbolKit Module.swift
[40/57] Compiling SymbolKit OperatingSystem.swift
[41/57] Compiling SymbolKit Platform.swift
[42/57] Compiling SymbolKit Relationship.swift
[43/57] Compiling SymbolKit RelationshipKind.swift
[44/57] Compiling SymbolKit SourceOrigin.swift
[45/57] Compiling SymbolKit GenericConstraints.swift
[46/57] Compiling SymbolKit Swift.swift
[47/57] Compiling SymbolKit Identifier.swift
[48/57] Compiling SymbolKit KindIdentifier.swift
[49/57] Compiling SymbolKit Location.swift
[50/57] Compiling SymbolKit Mutability.swift
[51/57] Compiling SymbolKit Symbol.swift
[52/57] Compiling SymbolKit SymbolKind.swift
[53/57] Compiling SymbolKit SymbolGraph.swift
[54/57] Compiling SymbolKit GraphCollector.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (5.48s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/11] Compiling Utilities Variant+Error.swift
[3/11] Compiling Utilities Utils.swift
[4/12] Compiling Utilities SwiftUtils.swift
[5/12] Compiling Utilities ThrowingFunction.swift
[6/12] Compiling Utilities AsyncThrowingFunction.swift
[7/12] Compiling Utilities Tuple.swift
[8/12] Compiling Utilities MaybeUninit.swift
[9/12] Compiling Utilities Function.swift
[10/12] Emitting module Utilities
[11/12] Compiling Utilities AsyncFunction.swift
[12/12] Compiling Utilities Variant.swift
Build of target: 'Utilities' complete! (0.62s)
     180
2	/Users/admin/builder/spi-builder-workspace/.docs/genaro-chris/swiftutils/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/genaro-chris/swiftutils/main
File count: 180
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-genaro-chris-swiftutils-main-8eddb996.zip to s3://spi-docs-inbox/prod-genaro-chris-swiftutils-main-8eddb996.zip
Copying... [14%]
Copying... [28%]
Copying... [42%]
Copying... [56%]
Copying... [70%]
Copying... [84%]
Copying... [99%]
Copying... [100%]
Done.