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-metrics, reference 2.7.0 (4c83e1), with Swift 5.10 for Linux on 29 Apr 2025 22:04:25 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-metrics.git
Reference: 2.7.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/apple/swift-metrics
 * tag               2.7.0      -> FETCH_HEAD
HEAD is now at 4c83e1c Remove warnings against explicit dependency injection of the metrics factory (#174)
Cloned https://github.com/apple/swift-metrics.git
Revision (git rev-parse @):
4c83e1cdf4ba538ef6e43a9bbd0bcc33a0ca46e3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-metrics.git at 2.7.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/apple/swift-metrics.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/7] Compiling CoreMetrics Metrics.swift
[6/7] Emitting module CoreMetrics
[7/7] Compiling CoreMetrics Locks.swift
[9/10] Emitting module Metrics
[10/10] Compiling Metrics Metrics.swift
[12/13] Emitting module MetricsTestKit
[13/13] Compiling MetricsTestKit TestMetrics.swift
Build complete! (7.27s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-metrics",
  "name" : "swift-metrics",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CoreMetrics",
      "targets" : [
        "CoreMetrics"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Metrics",
      "targets" : [
        "Metrics"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MetricsTestKit",
      "targets" : [
        "MetricsTestKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MetricsTests",
      "module_type" : "SwiftTarget",
      "name" : "MetricsTests",
      "path" : "Tests/MetricsTests",
      "sources" : [
        "CoreMetricsTests.swift",
        "MetricsTests.swift",
        "TestSendable.swift"
      ],
      "target_dependencies" : [
        "Metrics",
        "MetricsTestKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MetricsTestKit",
      "module_type" : "SwiftTarget",
      "name" : "MetricsTestKit",
      "path" : "Sources/MetricsTestKit",
      "product_memberships" : [
        "MetricsTestKit"
      ],
      "sources" : [
        "TestMetrics.swift"
      ],
      "target_dependencies" : [
        "Metrics"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Metrics",
      "module_type" : "SwiftTarget",
      "name" : "Metrics",
      "path" : "Sources/Metrics",
      "product_memberships" : [
        "Metrics",
        "MetricsTestKit"
      ],
      "sources" : [
        "Metrics.swift"
      ],
      "target_dependencies" : [
        "CoreMetrics"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoreMetrics",
      "module_type" : "SwiftTarget",
      "name" : "CoreMetrics",
      "path" : "Sources/CoreMetrics",
      "product_memberships" : [
        "CoreMetrics",
        "Metrics",
        "MetricsTestKit"
      ],
      "sources" : [
        "Locks.swift",
        "Metrics.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.