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 with Swift 5.10 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.38.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 /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
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: $workDir/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-prometheus.git at 2.0.0
Fetching https://github.com/apple/swift-docc-plugin.git from cache
Fetching https://github.com/apple/swift-metrics.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.19s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.19s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.19s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.3.0 (0.02s)
Fetching https://github.com/apple/swift-docc-symbolkit from cache
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.4.1 (0.03s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.03s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.02s)
warning: /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-docc-plugin-30a0bdda is not valid git repository for 'https://github.com/apple/swift-docc-plugin.git', will fetch again.
Fetching https://github.com/apple/swift-docc-plugin.git from cache
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.01s)
warning: /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-docc-plugin-30a0bdda is not valid git repository for 'https://github.com/apple/swift-docc-plugin.git', will fetch again.
Fetching https://github.com/apple/swift-docc-plugin.git from cache
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.01s)
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.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.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.4.1
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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.4.1",
          "path": "/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-metrics",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/swift-server/swift-prometheus.git from cache
Fetched https://github.com/swift-server/swift-prometheus.git from cache (0.23s)
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-atomics.git from cache (0.17s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.19s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.4.1 (0.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.02s)
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.4.1
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/swift-server/swift-prometheus.git
Working copy of https://github.com/swift-server/swift-prometheus.git resolved at 2.0.0 (bfcd4bb)
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:             5.10
Building package at path:  $workDir
https://github.com/swift-server/swift-prometheus.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/7] Write sources
[5/7] Write swift-version-6044DDE57671499D.txt
[6/10] Compiling _AtomicsShims.c
[8/29] Compiling CoreMetrics Metrics.swift
[9/29] Compiling CoreMetrics Locks.swift
[10/29] Emitting module CoreMetrics
[11/29] Compiling Atomics AtomicMemoryOrderings.swift
[12/29] Compiling Atomics DoubleWord.swift
[13/31] Compiling Atomics AtomicReference.swift
[14/31] Compiling Atomics AtomicStorage.swift
[15/31] Compiling Atomics AtomicValue.swift
[16/31] Compiling Atomics Primitives.shims.swift
[17/31] Compiling Atomics AtomicInteger.swift
[18/31] Compiling Atomics AtomicOptionalWrappable.swift
[19/31] Compiling Atomics UnsafeAtomic.swift
[20/31] Compiling Atomics UnsafeAtomicLazyReference.swift
[21/31] Compiling Atomics ManagedAtomic.swift
[22/31] Compiling Atomics ManagedAtomicLazyReference.swift
[23/31] Compiling Atomics IntegerOperations.swift
[24/31] Compiling Atomics Unmanaged extensions.swift
[25/31] Compiling Atomics OptionalRawRepresentable.swift
[26/31] Compiling Atomics RawRepresentable.swift
[27/31] Compiling Atomics AtomicBool.swift
[28/31] Emitting module Atomics
[29/31] Compiling Atomics IntegerConformances.swift
[30/31] Compiling Atomics PointerConformances.swift
[31/31] Compiling Atomics Primitives.native.swift
[32/39] Compiling Prometheus NIOLockedValueBox.swift
[33/39] Emitting module Prometheus
[34/39] Compiling Prometheus PrometheusMetricsFactory.swift
[35/39] Compiling Prometheus PrometheusCollectorRegistry.swift
[36/39] Compiling Prometheus Gauge.swift
[37/39] Compiling Prometheus Counter.swift
[38/39] Compiling Prometheus Histogram.swift
[39/39] Compiling Prometheus NIOLock.swift
Build complete! (9.15s)
Build complete.
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $workDir/.docs/swift-server/swift-prometheus/2.0.0
Repository:               swift-server/swift-prometheus
Swift version used:       5.10
        .package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.3.0"),
Target:                   Prometheus
Generating documentation for 'Prometheus'...
Converting documentation...
warning: 'Timer' doesn't exist at '/Prometheus/swift-metrics'
   --> swift-metrics.md:114:16-114:21
112 | #### Default buckets
113 |
114 + Swift Metric ``Timer``s are backed by a Prometheus ``DurationHistogram`` and Swift Metric
115 | ``Recorder``s that aggregate are backed by a Prometheus ``ValueHistogram``. As a user, you can
116 | specify which buckets shall be used within the backing ``Histogram``s.
warning: 'Recorder' doesn't exist at '/Prometheus/swift-metrics'
   --> swift-metrics.md:115:3-115:11
113 |
114 | Swift Metric ``Timer``s are backed by a Prometheus ``DurationHistogram`` and Swift Metric
115 + ``Recorder``s that aggregate are backed by a Prometheus ``ValueHistogram``. As a user, you can
116 | specify which buckets shall be used within the backing ``Histogram``s.
117 |
warning: 'init(client:)' doesn't exist at '/Prometheus/PrometheusMetricsFactory/defaultRegistry'
  --> ../PrometheusMetricsFactory.swift:22:38-22:51
20 |
21 |     /// The default ``PrometheusCollectorRegistry``, which is used inside the ``PrometheusMetricsFactory``
22 +     /// if no other is provided in ``init(client:)`` or set via ``PrometheusMetricsFactory/client``
23 |     public static var defaultRegistry: PrometheusCollectorRegistry {
24 |         self._defaultRegistry
warning: 'client' doesn't exist at '/Prometheus/PrometheusMetricsFactory'
  --> ../PrometheusMetricsFactory.swift:22:92-22:98
20 |
21 |     /// The default ``PrometheusCollectorRegistry``, which is used inside the ``PrometheusMetricsFactory``
22 +     /// if no other is provided in ``init(client:)`` or set via ``PrometheusMetricsFactory/client``
23 |     public static var defaultRegistry: PrometheusCollectorRegistry {
24 |         self._defaultRegistry
warning: 'TimeHistogram' doesn't exist at '/Prometheus/PrometheusMetricsFactory/defaultDurationHistogramBuckets'
  --> ../PrometheusMetricsFactory.swift:30:47-30:60
28 |     public var registry: PrometheusCollectorRegistry
29 |
30 +     /// The default histogram buckets for a ``TimeHistogram``. If there is no explicit overwrite
31 |     /// via ``durationHistogramBuckets``, the buckets provided here will be used for any new
32 |     /// Swift Metrics `Timer` type.
warning: 'TimeHistogram' doesn't exist at '/Prometheus/PrometheusMetricsFactory/durationHistogramBuckets'
  --> ../PrometheusMetricsFactory.swift:35:39-35:52
33 |     public var defaultDurationHistogramBuckets: [Duration]
34 |
35 +     /// The histogram buckets for a ``TimeHistogram`` per Timer label
36 |     public var durationHistogramBuckets: [String: [Duration]]
37 | Conversion complete! (0.15s)
Generated DocC archive at '/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.docs/swift-server/swift-prometheus/2.0.0'
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-entitlement.plist
[3/8] Write sources
[4/8] Write swift-version-6044DDE57671499D.txt
[6/52] Emitting module SymbolKit
[7/57] Compiling SymbolKit SourceOrigin.swift
[8/57] Compiling SymbolKit GenericConstraints.swift
[9/57] Compiling SymbolKit Swift.swift
[10/57] Compiling SymbolKit SemanticVersion.swift
[11/57] Compiling SymbolKit AccessControl.swift
[12/57] Compiling SymbolKit Availability.swift
[13/57] Compiling SymbolKit Metadata.swift
[14/57] Compiling SymbolKit Module.swift
[15/57] Compiling SymbolKit OperatingSystem.swift
[16/57] Compiling SymbolKit Platform.swift
[17/57] Compiling SymbolKit Relationship.swift
[18/57] Compiling SymbolKit RelationshipKind.swift
[19/57] Compiling SymbolKit AvailabilityItem.swift
[20/57] Compiling SymbolKit Domain.swift
[21/57] Compiling SymbolKit DeclarationFragments.swift
[22/57] Compiling SymbolKit Fragment.swift
[23/57] Compiling SymbolKit FragmentKind.swift
[24/57] Compiling SymbolKit FunctionParameter.swift
[25/57] Compiling SymbolKit SPI.swift
[26/57] Compiling SymbolKit Snippet.swift
[27/57] Compiling SymbolKit Extension.swift
[28/57] Compiling SymbolKit GenericConstraint.swift
[29/57] Compiling SymbolKit GenericParameter.swift
[30/57] Compiling SymbolKit Generics.swift
[31/57] Compiling SymbolKit Namespace.swift
[32/57] Compiling SymbolKit Symbol.swift
[33/57] Compiling SymbolKit SymbolKind.swift
[34/57] Compiling SymbolKit SymbolGraph.swift
[35/57] Compiling SymbolKit Mixin+Equals.swift
[36/57] Compiling SymbolKit Mixin+Hash.swift
[37/57] Compiling SymbolKit Mixin.swift
[38/57] Compiling SymbolKit LineList.swift
[39/57] Compiling SymbolKit Position.swift
[40/57] Compiling SymbolKit SourceRange.swift
[41/57] Compiling SymbolKit FunctionSignature.swift
[42/57] Compiling SymbolKit Identifier.swift
[43/57] Compiling SymbolKit KindIdentifier.swift
[44/57] Compiling SymbolKit Location.swift
[45/57] Compiling SymbolKit Mutability.swift
[46/57] Compiling SymbolKit Names.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract
[60/61] Applying snippet-extract
Build complete! (3.92s)
Building for debugging...
[0/1] Write swift-version-6044DDE57671499D.txt
Build complete! (0.16s)
     194
2	/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.docs/swift-server/swift-prometheus/2.0.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $workDir/.docs/swift-server/swift-prometheus/2.0.0
File count: 194
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-swift-server-swift-prometheus-2.0.0-72bdd4cf.zip to s3://spi-docs-inbox/prod-swift-server-swift-prometheus-2.0.0-72bdd4cf.zip
Copying... [14%]
Copying... [28%]
Copying... [43%]
Copying... [57%]
Copying... [71%]
Copying... [85%]
Copying... [100%]
Copying... [100%]
Done.