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.0.0 (bfcd4b), with Swift 6.0 for Linux on 4 Nov 2024 22:10:23 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-prometheus.git
Reference: 2.0.0
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
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at bfcd4bb Merge pull request from GHSA-x768-cvr2-345r
Cloned https://github.com/swift-server/swift-prometheus.git
Revision (git rev-parse @):
bfcd4bbfabe11aae4b035424ee9724582e288501
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-prometheus.git at 2.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/apple/swift-atomics.git
[1/2087] Fetching swift-metrics
[2088/4125] Fetching swift-metrics, swift-docc-plugin
[2313/5694] Fetching swift-metrics, swift-docc-plugin, swift-atomics
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.39s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.40s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.40s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.42s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.3 (0.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.34s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.45s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.5.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/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/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.3
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.5.0
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/7] Write sources
[5/7] Compiling _AtomicsShims.c
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/29] Compiling CoreMetrics Metrics.swift
[9/29] Compiling Atomics UnsafeAtomic.swift
[10/29] Compiling Atomics UnsafeAtomicLazyReference.swift
[11/31] Compiling Atomics AtomicMemoryOrderings.swift
[12/31] Compiling Atomics DoubleWord.swift
[13/31] Compiling Atomics Primitives.shims.swift
[14/31] Compiling Atomics AtomicInteger.swift
[15/31] Compiling Atomics AtomicOptionalWrappable.swift
[16/31] Compiling Atomics ManagedAtomic.swift
[17/31] Compiling Atomics ManagedAtomicLazyReference.swift
[18/31] Compiling Atomics AtomicReference.swift
[19/31] Compiling Atomics AtomicStorage.swift
[20/31] Compiling Atomics AtomicValue.swift
[21/31] Emitting module Atomics
[22/31] Compiling Atomics OptionalRawRepresentable.swift
[23/31] Compiling Atomics RawRepresentable.swift
[24/31] Compiling Atomics AtomicBool.swift
[25/31] Compiling Atomics IntegerConformances.swift
[26/31] Compiling Atomics PointerConformances.swift
[27/31] Compiling Atomics Primitives.native.swift
[28/31] Compiling Atomics IntegerOperations.swift
[29/31] Compiling Atomics Unmanaged extensions.swift
[31/32] Emitting module CoreMetrics
[32/32] Compiling CoreMetrics Locks.swift
[34/41] Compiling Prometheus NIOLockedValueBox.swift
[35/41] Compiling Prometheus NIOLock.swift
[36/41] Compiling Prometheus Counter.swift
[37/41] Compiling Prometheus Gauge.swift
[38/41] Compiling Prometheus Histogram.swift
[39/41] Emitting module Prometheus
[40/41] Compiling Prometheus PrometheusCollectorRegistry.swift
[41/41] Compiling Prometheus PrometheusMetricsFactory.swift
Build complete! (26.35s)
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"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.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.7"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.