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 swift-prometheus, reference main (e16f9c), with Swift 6.1 for macOS (SPM) on 11 Sep 2025 01:29:15 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-prometheus.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-server/swift-prometheus
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e16f9ce Add MAINTAINERS.md file (#141)
Cloned https://github.com/swift-server/swift-prometheus.git
Revision (git rev-parse @):
e16f9ce58f22f2ca256e8c2a8fdd285cd841e53f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-prometheus.git at main
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-metrics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.66s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.66s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.21s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.51s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
========================================
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-prometheus",
      "name": "swift-prometheus",
      "url": "https://github.com/swift-server/swift-prometheus.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-prometheus",
      "dependencies": [
        {
          "identity": "swift-atomics",
          "name": "swift-atomics",
          "url": "https://github.com/apple/swift-atomics.git",
          "version": "1.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-metrics",
          "name": "swift-metrics",
          "url": "https://github.com/apple/swift-metrics.git",
          "version": "2.7.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-metrics",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/swift-server/swift-prometheus.git
[1/2830] Fetching swift-prometheus
Fetched https://github.com/swift-server/swift-prometheus.git from cache (1.01s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-metrics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.54s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.03s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Creating working copy for https://github.com/swift-server/swift-prometheus.git
Working copy of https://github.com/swift-server/swift-prometheus.git resolved at main (e16f9ce)
warning: '.resolve-product-dependencies': dependency 'swift-prometheus' is not used by any target
Found 2 product dependencies
  - swift-atomics
  - swift-metrics
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swift-server/swift-prometheus.git
https://github.com/swift-server/swift-prometheus.git
{
  "dependencies" : [
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "swift-metrics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-metrics.git"
    }
  ],
  "manifest_display_name" : "swift-prometheus",
  "name" : "swift-prometheus",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Prometheus",
      "targets" : [
        "Prometheus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PrometheusTests",
      "module_type" : "SwiftTarget",
      "name" : "PrometheusTests",
      "path" : "Tests/PrometheusTests",
      "sources" : [
        "CounterTests.swift",
        "GaugeTests.swift",
        "HistogramTests.swift",
        "PrometheusCollectorRegistryTests.swift",
        "PrometheusMetricsFactoryTests.swift",
        "ValidNamesTests.swift"
      ],
      "target_dependencies" : [
        "Prometheus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Prometheus",
      "module_type" : "SwiftTarget",
      "name" : "Prometheus",
      "path" : "Sources/Prometheus",
      "product_dependencies" : [
        "Atomics",
        "CoreMetrics"
      ],
      "product_memberships" : [
        "Prometheus"
      ],
      "sources" : [
        "Counter.swift",
        "Gauge.swift",
        "Histogram.swift",
        "MetricDescriptor.swift",
        "NIOLock.swift",
        "NIOLockedValueBox.swift",
        "PrometheusCollectorRegistry.swift",
        "PrometheusMetricsFactory.swift"
      ],
      "type" : "library"
    }
  ],
  "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/5] Write sources
[3/5] Write swift-version-2F0A5646E1D333AE.txt
[4/8] Compiling _AtomicsShims.c
[6/27] Compiling Atomics UnsafeAtomicLazyReference.swift
[7/27] Compiling Atomics IntegerOperations.swift
[8/28] Compiling Atomics Unmanaged extensions.swift
[9/28] Compiling Atomics PointerConformances.swift
[10/28] Compiling Atomics Primitives.native.swift
[11/28] Compiling Atomics ManagedAtomicLazyReference.swift
[12/28] Compiling Atomics UnsafeAtomic.swift
[13/28] Compiling Atomics AtomicValue.swift
[14/28] Compiling Atomics AtomicMemoryOrderings.swift
[15/28] Compiling Atomics DoubleWord.swift
[16/28] Compiling Atomics ManagedAtomic.swift
[17/28] Compiling Atomics OptionalRawRepresentable.swift
[18/28] Compiling Atomics RawRepresentable.swift
[19/28] Compiling Atomics AtomicInteger.swift
[20/28] Compiling Atomics AtomicOptionalWrappable.swift
[21/28] Compiling Atomics AtomicBool.swift
[22/28] Compiling Atomics IntegerConformances.swift
[23/28] Compiling Atomics AtomicReference.swift
[24/28] Compiling Atomics AtomicStorage.swift
[25/28] Emitting module Atomics
[26/28] Emitting module CoreMetrics
[27/28] Compiling CoreMetrics Metrics.swift
[28/28] Compiling CoreMetrics Locks.swift
[29/37] Emitting module Prometheus
[30/37] Compiling Prometheus PrometheusCollectorRegistry.swift
[31/37] Compiling Prometheus Counter.swift
[32/37] Compiling Prometheus NIOLock.swift
[33/37] Compiling Prometheus Histogram.swift
[34/37] Compiling Prometheus PrometheusMetricsFactory.swift
[35/37] Compiling Prometheus Gauge.swift
[36/37] Compiling Prometheus NIOLockedValueBox.swift
[37/37] Compiling Prometheus MetricDescriptor.swift
Build complete! (4.51s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "swift-metrics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-metrics.git"
    }
  ],
  "manifest_display_name" : "swift-prometheus",
  "name" : "swift-prometheus",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Prometheus",
      "targets" : [
        "Prometheus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PrometheusTests",
      "module_type" : "SwiftTarget",
      "name" : "PrometheusTests",
      "path" : "Tests/PrometheusTests",
      "sources" : [
        "CounterTests.swift",
        "GaugeTests.swift",
        "HistogramTests.swift",
        "PrometheusCollectorRegistryTests.swift",
        "PrometheusMetricsFactoryTests.swift",
        "ValidNamesTests.swift"
      ],
      "target_dependencies" : [
        "Prometheus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Prometheus",
      "module_type" : "SwiftTarget",
      "name" : "Prometheus",
      "path" : "Sources/Prometheus",
      "product_dependencies" : [
        "Atomics",
        "CoreMetrics"
      ],
      "product_memberships" : [
        "Prometheus"
      ],
      "sources" : [
        "Counter.swift",
        "Gauge.swift",
        "Histogram.swift",
        "MetricDescriptor.swift",
        "NIOLock.swift",
        "NIOLockedValueBox.swift",
        "PrometheusCollectorRegistry.swift",
        "PrometheusMetricsFactory.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/swift-server/swift-prometheus/main
Repository:               swift-server/swift-prometheus
Swift version used:       6.1
Target:                   Prometheus
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 'Prometheus'...
Finished extracting symbol information for 'Prometheus'. (2.71s)
Building documentation for 'Prometheus'...
Finished building documentation for 'Prometheus' (0.14s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/swift-server/swift-prometheus/main
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Updating https://github.com/apple/swift-atomics.git
Updated https://github.com/apple/swift-atomics.git (0.44s)
Updating https://github.com/apple/swift-metrics.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.61s)
Updated https://github.com/apple/swift-metrics.git (0.47s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (1.55s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.47s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (2.86s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.78s)
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-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
[1/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Symbol.swift
[8/57] Compiling SymbolKit SymbolKind.swift
[9/57] Compiling SymbolKit SymbolGraph.swift
[10/57] Compiling SymbolKit GraphCollector.swift
[11/57] Compiling SymbolKit Identifier.swift
[12/57] Compiling SymbolKit KindIdentifier.swift
[13/57] Compiling SymbolKit Location.swift
[14/57] Compiling SymbolKit Mutability.swift
[15/57] Compiling SymbolKit Relationship.swift
[16/57] Compiling SymbolKit RelationshipKind.swift
[17/57] Compiling SymbolKit SourceOrigin.swift
[18/57] Compiling SymbolKit GenericConstraints.swift
[19/57] Compiling SymbolKit Swift.swift
[20/57] Compiling SymbolKit Names.swift
[21/57] Compiling SymbolKit SPI.swift
[22/57] Compiling SymbolKit Snippet.swift
[23/57] Compiling SymbolKit Extension.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 GenericConstraint.swift
[29/57] Compiling SymbolKit GenericParameter.swift
[30/57] Compiling SymbolKit Generics.swift
[31/57] Compiling SymbolKit Namespace.swift
[32/57] Compiling SymbolKit SemanticVersion.swift
[33/57] Compiling SymbolKit AccessControl.swift
[34/57] Compiling SymbolKit Availability.swift
[35/57] Compiling SymbolKit AvailabilityItem.swift
[36/57] Compiling SymbolKit Domain.swift
[37/57] Compiling SymbolKit Mixin+Equals.swift
[38/57] Compiling SymbolKit Mixin+Hash.swift
[39/57] Compiling SymbolKit Mixin.swift
[40/57] Compiling SymbolKit LineList.swift
[41/57] Compiling SymbolKit Position.swift
[42/57] Compiling SymbolKit DeclarationFragments.swift
[43/57] Compiling SymbolKit Fragment.swift
[44/57] Compiling SymbolKit FragmentKind.swift
[45/57] Compiling SymbolKit FunctionParameter.swift
[46/57] Compiling SymbolKit FunctionSignature.swift
[47/57] Compiling SymbolKit SourceRange.swift
[48/57] Compiling SymbolKit Metadata.swift
[49/57] Compiling SymbolKit Module.swift
[50/57] Compiling SymbolKit OperatingSystem.swift
[51/57] Compiling SymbolKit Platform.swift
[52/57] Emitting module Snippets
[53/57] Compiling Snippets Snippet.swift
[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! (4.91s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/23] Compiling Atomics ManagedAtomicLazyReference.swift
[3/23] Compiling Atomics UnsafeAtomic.swift
[4/23] Compiling Atomics UnsafeAtomicLazyReference.swift
[5/23] Compiling Atomics IntegerOperations.swift
[6/24] Compiling Atomics DoubleWord.swift
[7/24] Compiling Atomics ManagedAtomic.swift
[8/24] Compiling Atomics AtomicValue.swift
[9/24] Compiling Atomics AtomicMemoryOrderings.swift
[10/24] Compiling Atomics AtomicReference.swift
[11/24] Compiling Atomics AtomicStorage.swift
[12/24] Compiling Atomics AtomicInteger.swift
[13/24] Compiling Atomics AtomicOptionalWrappable.swift
[14/24] Compiling Atomics Unmanaged extensions.swift
[15/24] Emitting module CoreMetrics
[16/24] Compiling CoreMetrics Metrics.swift
[17/24] Compiling CoreMetrics Locks.swift
[18/24] Compiling Atomics OptionalRawRepresentable.swift
[19/24] Compiling Atomics RawRepresentable.swift
[20/24] Compiling Atomics AtomicBool.swift
[21/24] Compiling Atomics IntegerConformances.swift
[22/24] Compiling Atomics PointerConformances.swift
[23/24] Compiling Atomics Primitives.native.swift
[24/24] Emitting module Atomics
[25/33] Compiling Prometheus NIOLockedValueBox.swift
[26/33] Compiling Prometheus NIOLock.swift
[27/33] Compiling Prometheus Histogram.swift
[28/33] Compiling Prometheus MetricDescriptor.swift
[29/33] Compiling Prometheus Counter.swift
[30/33] Compiling Prometheus PrometheusMetricsFactory.swift
[31/33] Compiling Prometheus Gauge.swift
[32/33] Compiling Prometheus PrometheusCollectorRegistry.swift
[33/33] Emitting module Prometheus
Build of target: 'Prometheus' complete! (1.89s)
     250
3	/Users/admin/builder/spi-builder-workspace/.docs/swift-server/swift-prometheus/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swift-server/swift-prometheus/main
File count: 250
Doc size:   3.0MB
Preparing doc bundle ...
Uploading prod-swift-server-swift-prometheus-main-c24235b8.zip to s3://spi-docs-inbox/prod-swift-server-swift-prometheus-main-c24235b8.zip
Copying... [11%]
Copying... [22%]
Copying... [33%]
Copying... [44%]
Copying... [56%]
Copying... [67%]
Copying... [78%]
Copying... [89%]
Copying... [100%]
Copying... [100%]
Done.