The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-metrics, reference 2.10.1 (d51c8d), with Swift 6.1 for macOS (SPM) on 22 Apr 2026 21:26:06 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-metrics.git
Reference: 2.10.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-metrics
 * tag               2.10.1     -> FETCH_HEAD
HEAD is now at d51c8d1 Cleanup confusion around factory/currentFactory  (#218)
Cloned https://github.com/apple/swift-metrics.git
Revision (git rev-parse @):
d51c8d13fa366eec807eedb4e37daa60ff5bfdd5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-metrics.git at 2.10.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/apple/swift-metrics.git
https://github.com/apple/swift-metrics.git
{
  "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",
        "GlobalMetricsSystemTests.swift",
        "LockTest.swift",
        "MappingMetricsFactoryTests.swift",
        "MetricsTests.swift",
        "TaskLocalMetricsFactoryTests.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",
        "MappingMetricsFactory.swift",
        "Metrics.swift",
        "WithMetricsFactory.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/9] Compiling CoreMetrics WithMetricsFactory.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/9] Compiling CoreMetrics Locks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/9] Compiling CoreMetrics MappingMetricsFactory.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/9] Emitting module CoreMetrics
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/9] Compiling CoreMetrics Metrics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/11] Compiling Metrics Metrics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/11] Emitting module Metrics
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/13] Emitting module MetricsTestKit
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/13] Compiling MetricsTestKit TestMetrics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Build complete! (5.24s)
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",
        "GlobalMetricsSystemTests.swift",
        "LockTest.swift",
        "MappingMetricsFactoryTests.swift",
        "MetricsTests.swift",
        "TaskLocalMetricsFactoryTests.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",
        "MappingMetricsFactory.swift",
        "Metrics.swift",
        "WithMetricsFactory.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Done.