The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftUtils, reference main (87ad56), with Swift 6.1 for macOS (SPM) on 11 Aug 2025 05:33:09 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.65.0
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 87ad560 some fixes and docs
Cloned https://github.com/Genaro-Chris/SwiftUtils.git
Revision (git rev-parse @):
87ad56079e41b81bf26c9f935f30e17cb8cf8331
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/146] Fetching swiftutils
Fetched https://github.com/Genaro-Chris/SwiftUtils.git from cache (0.64s)
Creating working copy for https://github.com/Genaro-Chris/SwiftUtils.git
Working copy of https://github.com/Genaro-Chris/SwiftUtils.git resolved at main (87ad560)
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 Utils.swift
[4/13] Compiling Utilities Variant+Error.swift
[5/13] Compiling Utilities ThrowingFunction.swift
[6/13] Compiling Utilities Tuple.swift
[7/13] Compiling Utilities Function.swift
[8/13] Compiling Utilities SwiftUtils.swift
[9/13] Compiling Utilities AsyncFunction.swift
[10/13] Emitting module Utilities
[11/13] Compiling Utilities AsyncThrowingFunction.swift
[12/13] Compiling Utilities MaybeUninit.swift
[13/13] Compiling Utilities Variant.swift
Build complete! (1.17s)
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.65s)
Building documentation for 'Utilities'...
warning: External name 'to' used to document parameter
  --> Sources/SwiftUtils/MaybeUninit.swift:37:25-37:27
35 |
36 |         /// Fully initialize the value of the MaybeUninit<Value> instance.
37 +         /// - Parameter to: the value to use in initializing this instance
   |                         ╰─suggestion: Replace 'to' with 'initialValue'
38 |         @_transparent
39 |         @_alwaysEmitIntoClient
warning: External name 'by' used to document parameter
  --> Sources/SwiftUtils/Tuple.swift:27:21-27:23
25 |     /// Initializes the Tuple instance with a variadic arguments list of arbitrary types
26 |     ///
27 +     /// - Parameter by: a variadic list of values of arbitrary type
   |                     ╰─suggestion: Replace 'by' with 'value'
28 |     @_alwaysEmitIntoClient
29 |     @_transparent
warning: External name 'with' used to document parameter
  --> Sources/SwiftUtils/Tuple.swift:36:21-36:25
34 |     /// Initializes the Tuple instance with a tuple of values
35 |     ///
36 +     /// - Parameter with: tuple of arbitrary values
   |                     ╰─suggestion: Replace 'with' with 'value'
37 |     @_alwaysEmitIntoClient
38 |     @_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 otherwise nil
434 |     @_transparent
Finished building documentation for 'Utilities' (0.13s)
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.67s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (3.69s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.84s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.50s)
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.5
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 Identifier.swift
[8/57] Compiling SymbolKit KindIdentifier.swift
[9/57] Compiling SymbolKit Location.swift
[10/57] Compiling SymbolKit Mutability.swift
[11/57] Compiling SymbolKit SourceRange.swift
[12/57] Compiling SymbolKit Metadata.swift
[13/57] Compiling SymbolKit Module.swift
[14/57] Compiling SymbolKit OperatingSystem.swift
[15/57] Compiling SymbolKit Platform.swift
[16/57] Compiling SymbolKit Symbol.swift
[17/57] Compiling SymbolKit SymbolKind.swift
[18/57] Compiling SymbolKit SymbolGraph.swift
[19/57] Compiling SymbolKit GraphCollector.swift
[20/57] Compiling SymbolKit Mixin+Equals.swift
[21/57] Compiling SymbolKit Mixin+Hash.swift
[22/57] Compiling SymbolKit Mixin.swift
[23/57] Compiling SymbolKit LineList.swift
[24/57] Compiling SymbolKit Position.swift
[25/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[26/57] Compiling SymbolKit UnifiedSymbol.swift
[27/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[28/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[29/57] Compiling SymbolKit GenericConstraint.swift
[30/57] Compiling SymbolKit GenericParameter.swift
[31/57] Compiling SymbolKit Generics.swift
[32/57] Compiling SymbolKit Namespace.swift
[33/57] Compiling SymbolKit SemanticVersion.swift
[34/57] Compiling SymbolKit AccessControl.swift
[35/57] Compiling SymbolKit Availability.swift
[36/57] Compiling SymbolKit AvailabilityItem.swift
[37/57] Compiling SymbolKit Domain.swift
[38/57] Compiling SymbolKit Relationship.swift
[39/57] Compiling SymbolKit RelationshipKind.swift
[40/57] Compiling SymbolKit SourceOrigin.swift
[41/57] Compiling SymbolKit GenericConstraints.swift
[42/57] Compiling SymbolKit Swift.swift
[43/57] Compiling SymbolKit Names.swift
[44/57] Compiling SymbolKit SPI.swift
[45/57] Compiling SymbolKit Snippet.swift
[46/57] Compiling SymbolKit Extension.swift
[47/57] Compiling SymbolKit DeclarationFragments.swift
[48/57] Compiling SymbolKit Fragment.swift
[49/57] Compiling SymbolKit FragmentKind.swift
[50/57] Compiling SymbolKit FunctionParameter.swift
[51/57] Compiling SymbolKit FunctionSignature.swift
[52/57] Compiling Snippets Snippet.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets SnippetParser.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.61s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/11] Compiling Utilities SwiftUtils.swift
[3/11] Compiling Utilities Utils.swift
[4/11] Compiling Utilities Variant+Error.swift
[5/12] Compiling Utilities ThrowingFunction.swift
[6/12] Compiling Utilities MaybeUninit.swift
[7/12] Compiling Utilities Function.swift
[8/12] Compiling Utilities AsyncThrowingFunction.swift
[9/12] Compiling Utilities Tuple.swift
[10/12] Compiling Utilities AsyncFunction.swift
[11/12] Emitting module Utilities
[12/12] Compiling Utilities Variant.swift
Build of target: 'Utilities' complete! (0.57s)
     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-78d08995.zip to s3://spi-docs-inbox/prod-genaro-chris-swiftutils-main-78d08995.zip
Copying... [14%]
Copying... [28%]
Copying... [42%]
Copying... [56%]
Copying... [70%]
Copying... [84%]
Copying... [98%]
Copying... [100%]
Done.