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 main (ba9257), with Swift 5.10 for macOS (SPM) on 31 Mar 2025 17:23:30 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: 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 ba92571 Correct license headers (#122)
Cloned https://github.com/swift-server/swift-prometheus.git
Revision (git rev-parse @):
ba92571855c573b7df647205b75296e6b43c3983
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-prometheus.git at main
========================================
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 Metrics.swift
[7/27] Compiling CoreMetrics Locks.swift
[8/27] Emitting module CoreMetrics
[9/27] Compiling Atomics UnsafeAtomic.swift
[10/27] Compiling Atomics UnsafeAtomicLazyReference.swift
[11/27] Compiling Atomics ManagedAtomic.swift
[12/27] Compiling Atomics ManagedAtomicLazyReference.swift
[13/27] Compiling Atomics AtomicMemoryOrderings.swift
[14/27] Compiling Atomics DoubleWord.swift
[15/29] Compiling Atomics IntegerOperations.swift
[16/29] Compiling Atomics Unmanaged extensions.swift
[17/29] Compiling Atomics AtomicOptionalWrappable.swift
[18/29] Compiling Atomics AtomicReference.swift
[19/29] Compiling Atomics Primitives.shims.swift
[20/29] Compiling Atomics AtomicInteger.swift
[21/29] Compiling Atomics AtomicStorage.swift
[22/29] Compiling Atomics AtomicValue.swift
[23/29] Compiling Atomics PointerConformances.swift
[24/29] Compiling Atomics Primitives.native.swift
[25/29] Compiling Atomics OptionalRawRepresentable.swift
[26/29] Compiling Atomics RawRepresentable.swift
[27/29] Compiling Atomics AtomicBool.swift
[28/29] Compiling Atomics IntegerConformances.swift
[29/29] Emitting module Atomics
[30/37] Compiling Prometheus NIOLock.swift
[31/37] Compiling Prometheus Histogram.swift
[32/37] Compiling Prometheus Gauge.swift
[33/37] Compiling Prometheus NIOLockedValueBox.swift
[34/37] Compiling Prometheus PrometheusCollectorRegistry.swift
[35/37] Emitting module Prometheus
[36/37] Compiling Prometheus Counter.swift
[37/37] Compiling Prometheus PrometheusMetricsFactory.swift
Build complete! (6.67s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-metrics.git
[1/2164] Fetching swift-metrics
[175/3869] Fetching swift-metrics, swift-atomics
Fetched https://github.com/apple/swift-metrics.git from cache (1.36s)
[1296/1705] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.37s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.6.1 (0.36s)
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.1
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
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.