The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-testing-performance, reference 0.3.1 (1a1967), with Swift 6.2 for macOS (SPM) on 21 Dec 2025 03:41:22 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/coenttb/swift-testing-performance.git
Reference: 0.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/coenttb/swift-testing-performance
 * tag               0.3.1      -> FETCH_HEAD
HEAD is now at 1a1967f Fix trackAllocations logic - directly control allocation tracking
Cloned https://github.com/coenttb/swift-testing-performance.git
Revision (git rev-parse @):
1a1967f7acfcb081e57122db463817c142cc7186
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/coenttb/swift-testing-performance.git at 0.3.1
Fetching https://github.com/coenttb/swift-memory-allocation
Fetching https://github.com/apple/swift-numerics
[1/59] Fetching swift-memory-allocation
[60/6443] Fetching swift-memory-allocation, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.12s)
Fetched https://github.com/coenttb/swift-memory-allocation from cache (1.12s)
Computing version for https://github.com/coenttb/swift-memory-allocation
Computed https://github.com/coenttb/swift-memory-allocation at 0.2.0 (1.55s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.41s)
Creating working copy for https://github.com/coenttb/swift-memory-allocation
Working copy of https://github.com/coenttb/swift-memory-allocation resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
========================================
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": "swift-testing-performance",
      "name": "swift-testing-performance",
      "url": "https://github.com/coenttb/swift-testing-performance.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-testing-performance",
      "dependencies": [
        {
          "identity": "swift-numerics",
          "name": "swift-numerics",
          "url": "https://github.com/apple/swift-numerics",
          "version": "1.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-memory-allocation",
          "name": "swift-memory-allocation",
          "url": "https://github.com/coenttb/swift-memory-allocation",
          "version": "0.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-memory-allocation",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/coenttb/swift-testing-performance.git
[1/343] Fetching swift-testing-performance
Fetched https://github.com/coenttb/swift-testing-performance.git from cache (0.76s)
Fetching https://github.com/coenttb/swift-memory-allocation from cache
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-numerics from cache (0.60s)
Fetched https://github.com/coenttb/swift-memory-allocation from cache (0.60s)
Computing version for https://github.com/coenttb/swift-memory-allocation
Computed https://github.com/coenttb/swift-memory-allocation at 0.2.0 (0.66s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.03s)
Creating working copy for https://github.com/coenttb/swift-memory-allocation
Working copy of https://github.com/coenttb/swift-memory-allocation resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/coenttb/swift-testing-performance.git
Working copy of https://github.com/coenttb/swift-testing-performance.git resolved at 0.3.1 (1a1967f)
warning: '.resolve-product-dependencies': dependency 'swift-testing-performance' is not used by any target
Found 2 product dependencies
  - swift-numerics
  - swift-memory-allocation
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/coenttb/swift-testing-performance.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[5/7] Write swift-version-49B95AFC49DCD68C.txt
[6/7] Compiling _NumericsShims _NumericsShims.c
[8/26] Compiling RealModule RealFunctions.swift
[9/27] Compiling RealModule Real.swift
[10/27] Compiling RealModule Float80+Real.swift
[11/27] Compiling RealModule Float16+Real.swift
[12/27] Emitting module RealModule
[13/27] Compiling RealModule ElementaryFunctions.swift
[14/27] Compiling RealModule Double+Real.swift
[15/27] Compiling RealModule AugmentedArithmetic.swift
[16/27] Compiling RealModule AlgebraicField.swift
[17/27] Compiling RealModule ApproximateEquality.swift
[18/27] Compiling RealModule Float+Real.swift
[19/27] Compiling RealModule RelaxedArithmetic.swift
[20/38] Compiling ComplexModule Complex+StringConvertible.swift
[21/38] Compiling ComplexModule Polar.swift
[22/38] Compiling ComplexModule Complex.swift
[23/38] Compiling ComplexModule Complex+Numeric.swift
[24/38] Compiling ComplexModule Complex+IntegerLiteral.swift
[25/39] Compiling ComplexModule Scale.swift
[26/39] Compiling ComplexModule Complex+ElementaryFunctions.swift
[27/39] Compiling ComplexModule Complex+Hashable.swift
[28/39] Compiling ComplexModule Complex+Codable.swift
[29/39] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[30/39] Compiling ComplexModule Complex+AlgebraicField.swift
[31/39] Emitting module ComplexModule
[32/41] Emitting module Numerics
[33/41] Compiling Numerics Numerics.swift
[34/41] Compiling MemoryAllocation LeakDetector.swift
[35/41] Compiling MemoryAllocation AllocationTracker.swift
[36/41] Compiling MemoryAllocation MemoryAllocation.swift
[37/41] Compiling MemoryAllocation AllocationStats.swift
[38/41] Compiling MemoryAllocation PeakMemoryTracker.swift
[39/41] Compiling MemoryAllocation Lock.swift
[40/41] Emitting module MemoryAllocation
[41/41] Compiling MemoryAllocation AllocationProfiler.swift
[42/51] Compiling TestingPerformance Measurement.swift
[43/51] Compiling TestingPerformance Assertions.swift
[44/51] Compiling TestingPerformance AllocationTracking.swift
[45/51] Emitting module TestingPerformance
[46/51] Compiling TestingPerformance TestingPerformance.swift
[47/51] Compiling TestingPerformance Threshold.swift
[48/51] Compiling TestingPerformance Reporting.swift
[49/51] Compiling TestingPerformance Statistics.swift
[50/51] Compiling TestingPerformance Trait.swift
[51/51] Compiling TestingPerformance Duration.swift
Build complete! (4.09s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    },
    {
      "identity" : "swift-memory-allocation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/coenttb/swift-memory-allocation"
    }
  ],
  "manifest_display_name" : "swift-testing-performance",
  "name" : "swift-testing-performance",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "26.0"
    },
    {
      "name" : "ios",
      "version" : "26.0"
    },
    {
      "name" : "tvos",
      "version" : "26.0"
    },
    {
      "name" : "watchos",
      "version" : "26.0"
    },
    {
      "name" : "visionos",
      "version" : "26.0"
    }
  ],
  "products" : [
    {
      "name" : "TestingPerformance",
      "targets" : [
        "TestingPerformance"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "TestingPerformance_Tests",
      "module_type" : "SwiftTarget",
      "name" : "TestingPerformance Tests",
      "path" : "Tests/TestingPerformance Tests",
      "sources" : [
        "AllocationTrackingTests.swift",
        "BasicPerformanceTests.swift",
        "CodableTests.swift",
        "ComparableTests.swift",
        "DurationFormattingTests.swift",
        "LeakDetectionTests.swift",
        "ManualMeasurementTests.swift",
        "MetricsTests.swift",
        "ParallelAllocationTests.swift",
        "PeakMemoryTests.swift",
        "PercentileTests.swift",
        "PerformanceAssertionTests.swift",
        "PerformanceComparisonTests.swift",
        "PerformanceSuiteTests.swift",
        "ReadmeVerificationTests.swift",
        "StatisticsTests.swift",
        "Support/PerformanceTests.swift",
        "ThresholdTests.swift"
      ],
      "target_dependencies" : [
        "TestingPerformance"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TestingPerformance",
      "module_type" : "SwiftTarget",
      "name" : "TestingPerformance",
      "path" : "Sources/TestingPerformance",
      "product_dependencies" : [
        "Numerics",
        "MemoryAllocation"
      ],
      "product_memberships" : [
        "TestingPerformance"
      ],
      "sources" : [
        "AllocationTracking.swift",
        "Assertions.swift",
        "Duration.swift",
        "Measurement.swift",
        "Reporting.swift",
        "Statistics.swift",
        "TestingPerformance.swift",
        "Threshold.swift",
        "Trait.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/coenttb/swift-testing-performance/0.3.1
Repository:               coenttb/swift-testing-performance
Swift version used:       6.2
Target:                   TestingPerformance
Extracting symbol information for 'TestingPerformance'...
Finished extracting symbol information for 'TestingPerformance'. (0.86s)
Building documentation for 'TestingPerformance'...
warning: 'printPerformance(_:_:allocations:)' doesn't exist at '/TestingPerformance/TestingPerformance'
  --> TestingPerformance.md:50:24-50:58
48 | ### Reporting and Formatting
49 |
50 + - ``TestingPerformance/printPerformance(_:_:allocations:)``
   |                        ╰─suggestion: Replace 'printPerformance(_:_:allocations:)' with 'printPerformance(_:_:allocations:peakMemory:)'
51 | - ``TestingPerformance/printComparisonReport(_:)``
52 |
warning: 'printPerformance(_:_:allocations:)' doesn't exist at '/TestingPerformance/TestingPerformance'
  --> ../TestingPerformance.swift:80:9-80:43
78 | /// ### Reporting
79 | ///
80 + /// - ``printPerformance(_:_:allocations:)``
   |         ╰─suggestion: Replace 'printPerformance(_:_:allocations:)' with 'printPerformance(_:_:allocations:peakMemory:)'
81 | /// - ``printComparisonReport(_:)``
82 | ///
warning: Parameter 'peakMemoryLimit' is missing documentation
   --> ../Trait.swift:413:17-413:17
411 |             ///   - maxAllocations: Optional memory allocation limit in bytes - test fails if exceeded
412 |             ///   - metric: Metric to check against threshold (default: .median)
413 +             ///
    |                 ╰─suggestion: Document 'peakMemoryLimit' parameter
414 |             /// - Note: Always prints performance statistics. Use `.serialized` on suite
415 |             ///   to avoid interference between tests.
warning: Parameter 'sourceLocation' is missing documentation
   --> ../Trait.swift:413:17-413:17
411 |             ///   - maxAllocations: Optional memory allocation limit in bytes - test fails if exceeded
412 |             ///   - metric: Metric to check against threshold (default: .median)
413 +             ///
    |                 ╰─suggestion: Document 'sourceLocation' parameter
414 |             /// - Note: Always prints performance statistics. Use `.serialized` on suite
415 |             ///   to avoid interference between tests.
warning: Parameter 'detectLeaks' is missing documentation
   --> ../Trait.swift:413:17-413:17
411 |             ///   - maxAllocations: Optional memory allocation limit in bytes - test fails if exceeded
412 |             ///   - metric: Metric to check against threshold (default: .median)
413 +             ///
    |                 ╰─suggestion: Document 'detectLeaks' parameter
414 |             /// - Note: Always prints performance statistics. Use `.serialized` on suite
415 |             ///   to avoid interference between tests.
warning: Parameter 'sourceLocation' is missing documentation
   --> ../Trait.swift:477:73-477:73
475 |             /// ```
476 |             ///
477 +             /// - Parameter limit: Optional maximum peak memory in bytes
    |                                                                         ╰─suggestion: Document 'sourceLocation' parameter
478 |             public static func trackPeakMemory(
479 |                 limit: Int? = nil,
Finished building documentation for 'TestingPerformance' (0.22s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/coenttb/swift-testing-performance/0.3.1
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/apple/swift-numerics
Updated https://github.com/apple/swift-numerics (0.55s)
[1/2158] Fetching swift-docc-plugin
Updating https://github.com/coenttb/swift-memory-allocation
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.27s)
Updated https://github.com/coenttb/swift-memory-allocation (0.42s)
Computing version for https://github.com/coenttb/swift-memory-allocation
Computed https://github.com/coenttb/swift-memory-allocation at 0.2.0 (2.12s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (2.27s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3628] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.28s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.85s)
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
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
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-49B95AFC49DCD68C.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/57] Compiling SymbolKit SourceRange.swift
[11/57] Compiling SymbolKit Metadata.swift
[12/57] Compiling SymbolKit Module.swift
[13/57] Compiling SymbolKit OperatingSystem.swift
[14/57] Compiling SymbolKit Platform.swift
[15/57] Emitting module SymbolKit
[16/57] Compiling SymbolKit Mixin+Equals.swift
[17/57] Compiling SymbolKit Mixin+Hash.swift
[18/57] Compiling SymbolKit Mixin.swift
[19/57] Compiling SymbolKit LineList.swift
[20/57] Compiling SymbolKit Position.swift
[21/57] Compiling SymbolKit Relationship.swift
[22/57] Compiling SymbolKit RelationshipKind.swift
[23/57] Compiling SymbolKit SourceOrigin.swift
[24/57] Compiling SymbolKit GenericConstraints.swift
[25/57] Compiling SymbolKit Swift.swift
[26/57] Compiling SymbolKit SemanticVersion.swift
[27/57] Compiling SymbolKit AccessControl.swift
[28/57] Compiling SymbolKit Availability.swift
[29/57] Compiling SymbolKit AvailabilityItem.swift
[30/57] Compiling SymbolKit Domain.swift
[31/57] Compiling SymbolKit Identifier.swift
[32/57] Compiling SymbolKit KindIdentifier.swift
[33/57] Compiling SymbolKit Location.swift
[34/57] Compiling SymbolKit Mutability.swift
[35/57] Compiling SymbolKit Names.swift
[36/57] Compiling SymbolKit SPI.swift
[37/57] Compiling SymbolKit Snippet.swift
[38/57] Compiling SymbolKit Extension.swift
[39/57] Compiling SymbolKit DeclarationFragments.swift
[40/57] Compiling SymbolKit Fragment.swift
[41/57] Compiling SymbolKit FragmentKind.swift
[42/57] Compiling SymbolKit FunctionParameter.swift
[43/57] Compiling SymbolKit FunctionSignature.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Emitting module Snippets
[49/57] Compiling Snippets SnippetParser.swift
[50/57] Compiling Snippets Snippet.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract SnippetBuildCommand.swift
[56/61] Emitting module snippet_extract
[57/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Compiling snippet_extract URL+Status.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.99s)
Building for debugging...
[0/1] Write swift-version-49B95AFC49DCD68C.txt
Build of target: 'TestingPerformance' complete! (0.27s)
     280
3	/Users/admin/builder/spi-builder-workspace/.docs/coenttb/swift-testing-performance/0.3.1
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/coenttb/swift-testing-performance/0.3.1
File count: 280
Doc size:   3.0MB
Preparing doc bundle ...
Uploading prod-coenttb-swift-testing-performance-0.3.1-1902d01b.zip to s3://spi-docs-inbox/prod-coenttb-swift-testing-performance-0.3.1-1902d01b.zip
Copying... [11%]
Copying... [21%]
Copying... [32%]
Copying... [42%]
Copying... [53%]
Copying... [63%]
Copying... [74%]
Copying... [84%]
Copying... [95%]
Copying... [100%]
Done.