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.9 for Linux on 31 Mar 2025 17:23:15 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/swift-server/swift-prometheus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-atomics.git
[1/2164] Fetching swift-metrics
[196/3869] Fetching swift-metrics, swift-atomics
Fetched https://github.com/apple/swift-metrics.git (0.27s)
Fetched https://github.com/apple/swift-atomics.git (0.31s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.30s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.6.1 (0.31s)
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.1
Building for debugging...
[0/1] Compiling _AtomicsShims.c
[2/23] Emitting module Atomics
[3/25] Compiling Atomics Primitives.shims.swift
[4/25] Compiling Atomics AtomicInteger.swift
[5/25] Compiling Atomics AtomicOptionalWrappable.swift
[6/25] Compiling Atomics UnsafeAtomic.swift
[7/25] Compiling Atomics UnsafeAtomicLazyReference.swift
[8/25] Compiling Atomics AtomicMemoryOrderings.swift
[9/25] Compiling Atomics DoubleWord.swift
[10/25] Compiling Atomics ManagedAtomic.swift
[11/25] Compiling Atomics ManagedAtomicLazyReference.swift
[12/25] Compiling Atomics OptionalRawRepresentable.swift
[13/25] Compiling Atomics RawRepresentable.swift
[14/25] Compiling Atomics AtomicBool.swift
[15/25] Compiling Atomics IntegerOperations.swift
[16/25] Compiling Atomics Unmanaged extensions.swift
[17/25] Compiling Atomics IntegerConformances.swift
[18/25] Compiling Atomics PointerConformances.swift
[19/25] Compiling Atomics Primitives.native.swift
[20/25] Compiling Atomics AtomicReference.swift
[21/25] Compiling Atomics AtomicStorage.swift
[22/25] Compiling Atomics AtomicValue.swift
[25/27] Compiling CoreMetrics Metrics.swift
[26/27] Emitting module CoreMetrics
[27/27] Compiling CoreMetrics Locks.swift
[30/37] Compiling Prometheus PrometheusMetricsFactory.swift
[31/37] Compiling Prometheus Gauge.swift
[32/37] Compiling Prometheus NIOLock.swift
[33/37] Emitting module Prometheus
[34/37] Compiling Prometheus Counter.swift
[35/37] Compiling Prometheus Histogram.swift
[36/37] Compiling Prometheus NIOLockedValueBox.swift
[37/37] Compiling Prometheus PrometheusCollectorRegistry.swift
Build complete! (6.89s)
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" : "/host/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"
}
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.