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 (23d2bb), with Swift 6.2 for macOS (SPM) on 5 Nov 2025 01:32:06 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/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 23d2bbd Merge pull request #154 from incertum/deprecation/help-unit-required-future
Cloned https://github.com/swift-server/swift-prometheus.git
Revision (git rev-parse @):
23d2bbddb3640e0fa2dc81b0daa09c0eacc75e3c
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
Fetching https://github.com/apple/swift-metrics.git
[1/2487] Fetching swift-metrics
[176/4307] Fetching swift-metrics, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.06s)
Fetched https://github.com/apple/swift-metrics.git from cache (1.06s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.60s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (0.50s)
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.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-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.1",
          "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/2957] Fetching swift-prometheus
Fetched https://github.com/swift-server/swift-prometheus.git from cache (1.08s)
Fetching https://github.com/apple/swift-metrics.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-metrics.git from cache (0.47s)
Fetched https://github.com/apple/swift-atomics.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.1 (0.03s)
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 (23d2bbd)
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.1
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.2
Building package at path:  $PWD
https://github.com/swift-server/swift-prometheus.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-49B95AFC49DCD68C.txt
[4/8] Compiling _AtomicsShims.c
[6/27] Compiling Atomics ManagedAtomicLazyReference.swift
[7/27] Compiling Atomics UnsafeAtomic.swift
[8/27] Compiling Atomics AtomicValue.swift
[9/27] Compiling Atomics AtomicMemoryOrderings.swift
[10/27] Compiling Atomics UnsafeAtomicLazyReference.swift
[11/27] Compiling Atomics IntegerOperations.swift
[12/28] Compiling Atomics OptionalRawRepresentable.swift
[13/28] Compiling Atomics RawRepresentable.swift
[14/28] Compiling Atomics DoubleWord.swift
[15/28] Compiling Atomics ManagedAtomic.swift
[16/28] Compiling Atomics AtomicInteger.swift
[17/28] Compiling Atomics AtomicOptionalWrappable.swift
[18/28] Compiling Atomics AtomicReference.swift
[19/28] Compiling Atomics AtomicStorage.swift
[20/28] Compiling Atomics PointerConformances.swift
[21/28] Compiling Atomics Primitives.native.swift
[22/28] Compiling Atomics Unmanaged extensions.swift
[23/28] Compiling Atomics AtomicBool.swift
[24/28] Compiling Atomics IntegerConformances.swift
[25/28] Emitting module Atomics
[26/28] Compiling CoreMetrics Locks.swift
[27/28] Emitting module CoreMetrics
[28/28] Compiling CoreMetrics Metrics.swift
[29/37] Compiling Prometheus NIOLock.swift
[30/37] Compiling Prometheus MetricDescriptor.swift
[31/37] Compiling Prometheus Histogram.swift
[32/37] Emitting module Prometheus
[33/37] Compiling Prometheus NIOLockedValueBox.swift
[34/37] Compiling Prometheus PrometheusCollectorRegistry.swift
[35/37] Compiling Prometheus Counter.swift
[36/37] Compiling Prometheus PrometheusMetricsFactory.swift
[37/37] Compiling Prometheus Gauge.swift
Build complete! (3.11s)
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.2
Target:                   Prometheus
Extracting symbol information for 'Prometheus'...
Finished extracting symbol information for 'Prometheus'. (0.77s)
Building documentation for 'Prometheus'...
Finished building documentation for 'Prometheus' (0.16s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/swift-server/swift-prometheus/main
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/apple/swift-metrics.git
Updated https://github.com/apple/swift-metrics.git (0.53s)
[1/2160] Fetching swift-docc-plugin
Updating https://github.com/apple/swift-atomics.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.21s)
Updated https://github.com/apple/swift-atomics.git (0.47s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (2.09s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (2.37s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3570] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.30s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.00s)
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
[1/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-49B95AFC49DCD68C.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Mixin+Equals.swift
[8/57] Compiling SymbolKit Mixin+Hash.swift
[9/57] Compiling SymbolKit Mixin.swift
[10/57] Compiling SymbolKit LineList.swift
[11/57] Compiling SymbolKit Position.swift
[12/57] Compiling SymbolKit Relationship.swift
[13/57] Compiling SymbolKit RelationshipKind.swift
[14/57] Compiling SymbolKit SourceOrigin.swift
[15/57] Compiling SymbolKit GenericConstraints.swift
[16/57] Compiling SymbolKit Swift.swift
[17/57] Compiling SymbolKit Identifier.swift
[18/57] Compiling SymbolKit KindIdentifier.swift
[19/57] Compiling SymbolKit Location.swift
[20/57] Compiling SymbolKit Mutability.swift
[21/57] Compiling SymbolKit GenericConstraint.swift
[22/57] Compiling SymbolKit GenericParameter.swift
[23/57] Compiling SymbolKit Generics.swift
[24/57] Compiling SymbolKit Namespace.swift
[25/57] Compiling SymbolKit Names.swift
[26/57] Compiling SymbolKit SPI.swift
[27/57] Compiling SymbolKit Snippet.swift
[28/57] Compiling SymbolKit Extension.swift
[29/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[30/57] Compiling SymbolKit UnifiedSymbol.swift
[31/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[32/57] Compiling SymbolKit UnifiedSymbolGraph.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 DeclarationFragments.swift
[39/57] Compiling SymbolKit Fragment.swift
[40/57] Compiling SymbolKit FragmentKind.swift
[41/57] Compiling SymbolKit FunctionParameter.swift
[42/57] Compiling SymbolKit FunctionSignature.swift
[43/57] Compiling SymbolKit SourceRange.swift
[44/57] Compiling SymbolKit Metadata.swift
[45/57] Compiling SymbolKit Module.swift
[46/57] Compiling SymbolKit OperatingSystem.swift
[47/57] Compiling SymbolKit Platform.swift
[48/57] Compiling SymbolKit Symbol.swift
[49/57] Compiling SymbolKit SymbolKind.swift
[50/57] Compiling SymbolKit SymbolGraph.swift
[51/57] Compiling SymbolKit GraphCollector.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Emitting module snippet_extract
[56/61] Compiling snippet_extract SnippetBuildCommand.swift
[57/61] Compiling snippet_extract URL+Status.swift
[58/61] Compiling snippet_extract SymbolGraph+Snippet.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.26s)
Building for debugging...
[0/1] Write swift-version-49B95AFC49DCD68C.txt
Build of target: 'Prometheus' complete! (0.23s)
     252
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: 252
Doc size:   3.0MB
Preparing doc bundle ...
Uploading prod-swift-server-swift-prometheus-main-75c0e163.zip to s3://spi-docs-inbox/prod-swift-server-swift-prometheus-main-75c0e163.zip
Copying... [11%]
Copying... [22%]
Copying... [33%]
Copying... [44%]
Copying... [55%]
Copying... [66%]
Copying... [77%]
Copying... [88%]
Copying... [99%]
Copying... [100%]
Done.