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 5.10 for macOS (SPM) on 18 Mar 2025 15:48:11 UTC.

Swift 6 data race errors: 0

Build Command

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

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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/swift-server/swift-prometheus.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-33747A42983211AE.txt
[4/8] Compiling _AtomicsShims.c
[6/27] Compiling CoreMetrics Locks.swift
[7/27] Emitting module CoreMetrics
[8/27] Compiling CoreMetrics Metrics.swift
[9/27] Compiling Atomics AtomicStorage.swift
[10/27] Compiling Atomics AtomicValue.swift
[11/27] Compiling Atomics UnsafeAtomic.swift
[12/27] Compiling Atomics UnsafeAtomicLazyReference.swift
[13/27] Compiling Atomics AtomicMemoryOrderings.swift
[14/27] Compiling Atomics DoubleWord.swift
[15/27] Compiling Atomics AtomicOptionalWrappable.swift
[16/27] Compiling Atomics AtomicReference.swift
[17/27] Compiling Atomics ManagedAtomic.swift
[18/27] Compiling Atomics ManagedAtomicLazyReference.swift
[19/29] Compiling Atomics AtomicBool.swift
[20/29] Compiling Atomics IntegerConformances.swift
[21/29] Compiling Atomics Primitives.shims.swift
[22/29] Compiling Atomics AtomicInteger.swift
[23/29] Compiling Atomics PointerConformances.swift
[24/29] Compiling Atomics Primitives.native.swift
[25/29] Compiling Atomics IntegerOperations.swift
[26/29] Compiling Atomics Unmanaged extensions.swift
[27/29] Compiling Atomics OptionalRawRepresentable.swift
[28/29] Compiling Atomics RawRepresentable.swift
[29/29] Emitting module Atomics
[30/37] Compiling Prometheus NIOLockedValueBox.swift
[31/37] Compiling Prometheus NIOLock.swift
[32/37] Compiling Prometheus PrometheusCollectorRegistry.swift
[33/37] Compiling Prometheus Gauge.swift
[34/37] Emitting module Prometheus
[35/37] Compiling Prometheus Counter.swift
[36/37] Compiling Prometheus Histogram.swift
[37/37] Compiling Prometheus PrometheusMetricsFactory.swift
Build complete! (7.21s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-atomics.git
[1/1705] Fetching swift-atomics
[104/3863] Fetching swift-atomics, swift-metrics
Fetched https://github.com/apple/swift-metrics.git from cache (1.57s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.38s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.6.0 (0.37s)
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
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"
}
Done.