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 (046ead), with Swift 6.0 for macOS (SPM) on 12 Nov 2024 11:58:10 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-prometheus.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-server/swift-prometheus
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 046eada Migrate to GitHub Actions (#117)
Cloned https://github.com/swift-server/swift-prometheus.git
Revision (git rev-parse @):
046eada4f6ec2a1f0e488f2416f6abd5cf9b9d02
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-prometheus.git at main
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-atomics.git
[1/2085] Fetching swift-metrics
[189/3654] Fetching swift-metrics, swift-atomics
Fetched https://github.com/apple/swift-metrics.git from cache (1.00s)
[644/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.13s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.50s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.5.0 (0.49s)
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.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-prometheus",
      "name": "swift-prometheus",
      "url": "https://github.com/swift-server/swift-prometheus.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-prometheus",
      "dependencies": [
        {
          "identity": "swift-atomics",
          "name": "swift-atomics",
          "url": "https://github.com/apple/swift-atomics.git",
          "version": "1.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-metrics",
          "name": "swift-metrics",
          "url": "https://github.com/apple/swift-metrics.git",
          "version": "2.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-metrics",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/swift-server/swift-prometheus.git
[1/2498] Fetching swift-prometheus
Fetched https://github.com/swift-server/swift-prometheus.git from cache (1.12s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-metrics.git from cache
Fetched https://github.com/apple/swift-metrics.git from cache (0.59s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.5.0 (0.02s)
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.5.0
Creating working copy for https://github.com/swift-server/swift-prometheus.git
Working copy of https://github.com/swift-server/swift-prometheus.git resolved at main (046eada)
warning: '.resolve-product-dependencies': dependency 'swift-prometheus' is not used by any target
Found 2 product dependencies
  - swift-atomics
  - swift-metrics
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swift-server/swift-prometheus.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version--7754E27361AE5C74.txt
[4/8] Compiling _AtomicsShims.c
[6/27] Compiling Atomics AtomicMemoryOrderings.swift
[7/27] Compiling Atomics DoubleWord.swift
[8/29] Compiling Atomics AtomicOptionalWrappable.swift
[9/29] Compiling Atomics AtomicReference.swift
[10/29] Compiling Atomics Primitives.shims.swift
[11/29] Compiling Atomics AtomicInteger.swift
[12/29] Compiling Atomics UnsafeAtomic.swift
[13/29] Compiling Atomics UnsafeAtomicLazyReference.swift
[14/29] Compiling Atomics IntegerOperations.swift
[15/29] Compiling Atomics Unmanaged extensions.swift
[16/29] Compiling CoreMetrics Locks.swift
[17/29] Compiling CoreMetrics Metrics.swift
[18/29] Emitting module CoreMetrics
[19/29] Compiling Atomics OptionalRawRepresentable.swift
[20/29] Compiling Atomics RawRepresentable.swift
[21/29] Compiling Atomics AtomicBool.swift
[22/29] Compiling Atomics IntegerConformances.swift
[23/29] Emitting module Atomics
[24/29] Compiling Atomics AtomicStorage.swift
[25/29] Compiling Atomics AtomicValue.swift
[26/29] Compiling Atomics PointerConformances.swift
[27/29] Compiling Atomics Primitives.native.swift
[28/29] Compiling Atomics ManagedAtomic.swift
[29/29] Compiling Atomics ManagedAtomicLazyReference.swift
[30/37] Compiling Prometheus PrometheusMetricsFactory.swift
[31/37] Compiling Prometheus NIOLock.swift
[32/37] Compiling Prometheus NIOLockedValueBox.swift
[33/37] Compiling Prometheus Histogram.swift
[34/37] Compiling Prometheus Gauge.swift
[35/37] Compiling Prometheus Counter.swift
[36/37] Compiling Prometheus PrometheusCollectorRegistry.swift
[37/37] Emitting module Prometheus
Build complete! (12.46s)
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" : "/Users/admin/builder/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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/swift-server/swift-prometheus/main
Repository:               swift-server/swift-prometheus
Swift version used:       6.0
Target:                   Prometheus
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'Prometheus'...
Finished extracting symbol information for 'Prometheus'. (2.63s)
Building documentation for 'Prometheus'...
Finished building documentation for 'Prometheus' (0.13s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/swift-server/swift-prometheus/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Updating https://github.com/apple/swift-atomics.git
Updating https://github.com/apple/swift-metrics.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.30s)
Updated https://github.com/apple/swift-atomics.git (0.49s)
Updated https://github.com/apple/swift-metrics.git (0.49s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.5.0 (0.47s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.48s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3179] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.67s)
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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Identifier.swift
[8/57] Compiling SymbolKit KindIdentifier.swift
[9/57] Compiling SymbolKit Location.swift
[10/57] Compiling SymbolKit Mutability.swift
[11/57] Compiling SymbolKit DeclarationFragments.swift
[12/57] Compiling SymbolKit Fragment.swift
[13/57] Compiling SymbolKit FragmentKind.swift
[14/57] Compiling SymbolKit FunctionParameter.swift
[15/57] Compiling SymbolKit FunctionSignature.swift
[16/57] Compiling SymbolKit SemanticVersion.swift
[17/57] Compiling SymbolKit AccessControl.swift
[18/57] Compiling SymbolKit Availability.swift
[19/57] Compiling SymbolKit AvailabilityItem.swift
[20/57] Compiling SymbolKit Domain.swift
[21/57] Compiling SymbolKit Relationship.swift
[22/57] Compiling SymbolKit RelationshipKind.swift
[23/57] Compiling SymbolKit SourceOrigin.swift
[24/57] Compiling SymbolKit GenericConstraints.swift
[25/57] Compiling SymbolKit Swift.swift
[26/57] Compiling SymbolKit Names.swift
[27/57] Compiling SymbolKit SPI.swift
[28/57] Compiling SymbolKit Snippet.swift
[29/57] Compiling SymbolKit Extension.swift
[30/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[31/57] Compiling SymbolKit UnifiedSymbol.swift
[32/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[33/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[34/57] Compiling SymbolKit SourceRange.swift
[35/57] Compiling SymbolKit Metadata.swift
[36/57] Compiling SymbolKit Module.swift
[37/57] Compiling SymbolKit OperatingSystem.swift
[38/57] Compiling SymbolKit Platform.swift
[39/57] Compiling SymbolKit Symbol.swift
[40/57] Compiling SymbolKit SymbolKind.swift
[41/57] Compiling SymbolKit SymbolGraph.swift
[42/57] Compiling SymbolKit GraphCollector.swift
[43/57] Compiling SymbolKit GenericConstraint.swift
[44/57] Compiling SymbolKit GenericParameter.swift
[45/57] Compiling SymbolKit Generics.swift
[46/57] Compiling SymbolKit Namespace.swift
[47/57] Compiling SymbolKit Mixin+Equals.swift
[48/57] Compiling SymbolKit Mixin+Hash.swift
[49/57] Compiling SymbolKit Mixin.swift
[50/57] Compiling SymbolKit LineList.swift
[51/57] Compiling SymbolKit Position.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (5.09s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/23] Compiling Atomics ManagedAtomic.swift
[3/23] Compiling Atomics ManagedAtomicLazyReference.swift
[4/25] Compiling Atomics AtomicStorage.swift
[5/25] Compiling Atomics AtomicValue.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 CoreMetrics Locks.swift
[11/25] Compiling CoreMetrics Metrics.swift
[12/25] Emitting module CoreMetrics
[13/25] Compiling Atomics AtomicOptionalWrappable.swift
[14/25] Compiling Atomics AtomicReference.swift
[15/25] Compiling Atomics IntegerOperations.swift
[16/25] Compiling Atomics Unmanaged extensions.swift
[17/25] Compiling Atomics PointerConformances.swift
[18/25] Compiling Atomics Primitives.native.swift
[19/25] Compiling Atomics Primitives.shims.swift
[20/25] Compiling Atomics AtomicInteger.swift
[21/25] Compiling Atomics AtomicBool.swift
[22/25] Compiling Atomics IntegerConformances.swift
[23/25] Compiling Atomics OptionalRawRepresentable.swift
[24/25] Compiling Atomics RawRepresentable.swift
[25/25] Emitting module Atomics
[26/33] Compiling Prometheus PrometheusMetricsFactory.swift
[27/33] Compiling Prometheus Gauge.swift
[28/33] Compiling Prometheus Counter.swift
[29/33] Compiling Prometheus Histogram.swift
[30/33] Emitting module Prometheus
[31/33] Compiling Prometheus PrometheusCollectorRegistry.swift
[32/33] Compiling Prometheus NIOLock.swift
[33/33] Compiling Prometheus NIOLockedValueBox.swift
Build of target: 'Prometheus' complete! (1.77s)
     194
2	/Users/admin/builder/spi-builder-workspace/.docs/swift-server/swift-prometheus/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swift-server/swift-prometheus/main
File count: 194
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-swift-server-swift-prometheus-main-ac2782fb.zip to s3://spi-docs-inbox/prod-swift-server-swift-prometheus-main-ac2782fb.zip
Copying... [13%]
Copying... [26%]
Copying... [39%]
Copying... [52%]
Copying... [65%]
Copying... [78%]
Copying... [91%]
Copying... [100%]
Done.