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.9 for macOS (SPM) on 29 Apr 2025 22:10:16 UTC.

Swift 6 data race errors: 0

Build Command

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

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/apple/swift-metrics.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/3] Compiling CoreMetrics Metrics.swift
[2/3] Emitting module CoreMetrics
[3/3] Compiling CoreMetrics Locks.swift
[4/5] Compiling Metrics Metrics.swift
[5/5] Emitting module Metrics
[6/7] Compiling MetricsTestKit TestMetrics.swift
[7/7] Emitting module MetricsTestKit
Build complete! (11.33s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-metrics",
  "name" : "swift-metrics",
  "path" : "/Users/admin/builder/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"
}
Done.