The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of swift-prometheus, reference 2.1.0 (54f189), with Swift 6.0 for macOS (SPM) on 18 Mar 2025 15:48:50 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-prometheus.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-server/swift-prometheus
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at 54f1894 Update package version in DocC (#121)
Cloned https://github.com/swift-server/swift-prometheus.git
Revision (git rev-parse @):
54f18941e5f278f7f700f2188b7e21be563ca76f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-prometheus.git at 2.1.0
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-atomics.git
[1/1705] Fetching swift-atomics
[394/3863] Fetching swift-atomics, swift-metrics
Fetched https://github.com/apple/swift-metrics.git from cache (1.03s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.03s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.43s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.6.0 (0.42s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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.6.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.2.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.6.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/2516] Fetching swift-prometheus
Fetched https://github.com/swift-server/swift-prometheus.git from cache (1.07s)
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-metrics.git from cache (0.46s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.54s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.6.0 (0.02s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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.6.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 2.1.0 (54f1894)
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.0
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",
        "NIOLock.swift",
        "NIOLockedValueBox.swift",
        "PrometheusCollectorRegistry.swift",
        "PrometheusMetricsFactory.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-5BDAB9E9C0126B9D.txt
[4/8] Compiling _AtomicsShims.c
[6/27] Compiling Atomics ManagedAtomic.swift
[7/27] Compiling Atomics ManagedAtomicLazyReference.swift
[8/29] Compiling Atomics UnsafeAtomic.swift
[9/29] Compiling Atomics UnsafeAtomicLazyReference.swift
[10/29] Compiling Atomics AtomicMemoryOrderings.swift
[11/29] Compiling Atomics DoubleWord.swift
[12/29] Compiling Atomics AtomicStorage.swift
[13/29] Compiling Atomics AtomicValue.swift
[14/29] Compiling Atomics Primitives.shims.swift
[15/29] Compiling Atomics AtomicInteger.swift
[16/29] Compiling Atomics AtomicOptionalWrappable.swift
[17/29] Compiling Atomics AtomicReference.swift
[18/29] Compiling Atomics IntegerOperations.swift
[19/29] Compiling Atomics Unmanaged extensions.swift
[20/29] Emitting module CoreMetrics
[21/29] Compiling CoreMetrics Locks.swift
[22/29] Compiling CoreMetrics Metrics.swift
[23/29] Compiling Atomics AtomicBool.swift
[24/29] Compiling Atomics IntegerConformances.swift
[25/29] Emitting module Atomics
[26/29] Compiling Atomics OptionalRawRepresentable.swift
[27/29] Compiling Atomics RawRepresentable.swift
[28/29] Compiling Atomics PointerConformances.swift
[29/29] Compiling Atomics Primitives.native.swift
[30/37] Compiling Prometheus NIOLockedValueBox.swift
[31/37] Compiling Prometheus PrometheusMetricsFactory.swift
[32/37] Compiling Prometheus Histogram.swift
[33/37] Compiling Prometheus Gauge.swift
[34/37] Compiling Prometheus NIOLock.swift
[35/37] Compiling Prometheus Counter.swift
[36/37] Compiling Prometheus PrometheusCollectorRegistry.swift
[37/37] Emitting module Prometheus
Build complete! (11.24s)
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",
        "NIOLock.swift",
        "NIOLockedValueBox.swift",
        "PrometheusCollectorRegistry.swift",
        "PrometheusMetricsFactory.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/swift-server/swift-prometheus/2.1.0
Repository:               swift-server/swift-prometheus
Swift version used:       6.0
Target:                   Prometheus
Extracting symbol information for 'Prometheus'...
Finished extracting symbol information for 'Prometheus'. (2.51s)
Building documentation for 'Prometheus'...
Finished building documentation for 'Prometheus' (0.36s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/swift-server/swift-prometheus/2.1.0
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2050] Fetching swift-docc-plugin
Updating https://github.com/apple/swift-metrics.git
Updating https://github.com/apple/swift-atomics.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.35s)
Updated https://github.com/apple/swift-atomics.git (0.49s)
Updated https://github.com/apple/swift-metrics.git (0.49s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.6.0 (0.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.58s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3342] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.56s)
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.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.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 Symbol.swift
[13/57] Compiling SymbolKit SymbolKind.swift
[14/57] Compiling SymbolKit SymbolGraph.swift
[15/57] Compiling SymbolKit GraphCollector.swift
[16/57] Compiling SymbolKit DeclarationFragments.swift
[17/57] Compiling SymbolKit Fragment.swift
[18/57] Compiling SymbolKit FragmentKind.swift
[19/57] Compiling SymbolKit FunctionParameter.swift
[20/57] Compiling SymbolKit FunctionSignature.swift
[21/57] Compiling SymbolKit Names.swift
[22/57] Compiling SymbolKit SPI.swift
[23/57] Compiling SymbolKit Snippet.swift
[24/57] Compiling SymbolKit Extension.swift
[25/57] Compiling SymbolKit Identifier.swift
[26/57] Compiling SymbolKit KindIdentifier.swift
[27/57] Compiling SymbolKit Location.swift
[28/57] Compiling SymbolKit Mutability.swift
[29/57] Compiling SymbolKit Relationship.swift
[30/57] Compiling SymbolKit RelationshipKind.swift
[31/57] Compiling SymbolKit SourceOrigin.swift
[32/57] Compiling SymbolKit GenericConstraints.swift
[33/57] Compiling SymbolKit Swift.swift
[34/57] Compiling SymbolKit GenericConstraint.swift
[35/57] Compiling SymbolKit GenericParameter.swift
[36/57] Compiling SymbolKit Generics.swift
[37/57] Compiling SymbolKit Namespace.swift
[38/57] Compiling SymbolKit SemanticVersion.swift
[39/57] Compiling SymbolKit AccessControl.swift
[40/57] Compiling SymbolKit Availability.swift
[41/57] Compiling SymbolKit AvailabilityItem.swift
[42/57] Compiling SymbolKit Domain.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 UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Emitting module Snippets
[53/57] Compiling Snippets Snippet.swift
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.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.21s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/23] Compiling CoreMetrics Locks.swift
[3/23] Compiling Atomics UnsafeAtomic.swift
[4/23] Compiling Atomics UnsafeAtomicLazyReference.swift
[5/23] Compiling Atomics ManagedAtomic.swift
[6/23] Compiling Atomics ManagedAtomicLazyReference.swift
[7/25] Compiling Atomics IntegerOperations.swift
[8/25] Compiling Atomics Unmanaged extensions.swift
[9/25] Compiling Atomics AtomicOptionalWrappable.swift
[10/25] Compiling Atomics AtomicReference.swift
[11/25] Compiling Atomics OptionalRawRepresentable.swift
[12/25] Compiling Atomics RawRepresentable.swift
[13/25] Compiling Atomics AtomicBool.swift
[14/25] Compiling Atomics IntegerConformances.swift
[15/25] Emitting module CoreMetrics
[16/25] Compiling CoreMetrics Metrics.swift
[17/25] Compiling Atomics AtomicStorage.swift
[18/25] Compiling Atomics AtomicValue.swift
[19/25] Compiling Atomics Primitives.shims.swift
[20/25] Compiling Atomics AtomicInteger.swift
[21/25] Compiling Atomics PointerConformances.swift
[22/25] Compiling Atomics Primitives.native.swift
[23/25] Compiling Atomics AtomicMemoryOrderings.swift
[24/25] Compiling Atomics DoubleWord.swift
[25/25] Emitting module Atomics
[26/33] Compiling Prometheus NIOLockedValueBox.swift
[27/33] Compiling Prometheus PrometheusMetricsFactory.swift
[28/33] Compiling Prometheus NIOLock.swift
[29/33] Compiling Prometheus Histogram.swift
[30/33] Compiling Prometheus Counter.swift
[31/33] Compiling Prometheus PrometheusCollectorRegistry.swift
[32/33] Emitting module Prometheus
[33/33] Compiling Prometheus Gauge.swift
Build of target: 'Prometheus' complete! (1.70s)
     194
2	/Users/admin/builder/spi-builder-workspace/.docs/swift-server/swift-prometheus/2.1.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swift-server/swift-prometheus/2.1.0
File count: 194
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-swift-server-swift-prometheus-2.1.0-2222ff30.zip to s3://spi-docs-inbox/prod-swift-server-swift-prometheus-2.1.0-2222ff30.zip
Copying... [13%]
Copying... [26%]
Copying... [39%]
Copying... [52%]
Copying... [65%]
Copying... [78%]
Copying... [91%]
Copying... [100%]
Done.