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 package-histogram, reference main (00e8ff), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 14:58:55 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/HdrHistogram/hdrhistogram-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/HdrHistogram/hdrhistogram-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 00e8ff3 updating README to fix link to documentation (#21)
Cloned https://github.com/HdrHistogram/hdrhistogram-swift.git
Revision (git rev-parse @):
00e8ff399eb8835c5a6b10fa9030c52225121ead
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/HdrHistogram/hdrhistogram-swift.git at main
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/5576] Fetching swift-numerics
[169/7614] Fetching swift-numerics, swift-docc-plugin
[5078/10767] Fetching swift-numerics, swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (1.30s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.30s)
Fetched https://github.com/apple/swift-numerics from cache (1.30s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.65s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.62s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.68s)
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
========================================
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": "hdrhistogram-swift",
      "name": "package-histogram",
      "url": "https://github.com/HdrHistogram/hdrhistogram-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/hdrhistogram-swift",
      "dependencies": [
        {
          "identity": "swift-numerics",
          "name": "swift-numerics",
          "url": "https://github.com/apple/swift-numerics",
          "version": "1.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
[4/349] Fetching hdrhistogram-swift
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.80s)
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-numerics from cache (0.47s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.03s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
Creating working copy for https://github.com/HdrHistogram/hdrhistogram-swift.git
Working copy of https://github.com/HdrHistogram/hdrhistogram-swift.git resolved at main (00e8ff3)
Found 1 product dependencies
  - swift-numerics
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/HdrHistogram/hdrhistogram-swift.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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/13] Write sources
[6/13] Write HistogramExample-entitlement.plist
[8/13] Compiling _NumericsShims _NumericsShims.c
[9/13] Write swift-version--7754E27361AE5C74.txt
[11/23] Compiling RealModule Real.swift
[12/24] Compiling RealModule ApproximateEquality.swift
[13/24] Compiling RealModule AugmentedArithmetic.swift
[14/24] Compiling RealModule RealFunctions.swift
[15/24] Compiling RealModule Float80+Real.swift
[16/24] Compiling RealModule Float+Real.swift
[17/24] Compiling RealModule ElementaryFunctions.swift
[18/24] Emitting module RealModule
[19/24] Compiling RealModule AlgebraicField.swift
[20/24] Compiling RealModule Double+Real.swift
[21/24] Compiling RealModule Float16+Real.swift
[22/29] Compiling ComplexModule Differentiable.swift
[23/29] Compiling ComplexModule Complex.swift
[24/29] Compiling ComplexModule ElementaryFunctions.swift
[25/29] Emitting module ComplexModule
[26/29] Compiling ComplexModule Arithmetic.swift
[27/31] Compiling Numerics Numerics.swift
[28/31] Emitting module Numerics
[29/33] Emitting module Histogram
[30/33] Compiling Histogram Histogram.swift
[31/35] Compiling HistogramExample HistogramExample.swift
[32/35] Emitting module HistogramExample
[32/35] Write Objects.LinkFileList
[33/35] Linking HistogramExample
[34/35] Applying HistogramExample
Build complete! (27.35s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "package-histogram",
  "name" : "package-histogram",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Histogram",
      "targets" : [
        "Histogram"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HistogramExample",
      "targets" : [
        "HistogramExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HistogramTests",
      "module_type" : "SwiftTarget",
      "name" : "HistogramTests",
      "path" : "Tests/HistogramTests",
      "product_dependencies" : [
        "Numerics"
      ],
      "sources" : [
        "HistogramAutosizingTests.swift",
        "HistogramDataAccessTests.swift",
        "HistogramTests.swift"
      ],
      "target_dependencies" : [
        "Histogram"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HistogramExample",
      "module_type" : "SwiftTarget",
      "name" : "HistogramExample",
      "path" : "Sources/HistogramExample",
      "product_memberships" : [
        "HistogramExample"
      ],
      "sources" : [
        "HistogramExample.swift"
      ],
      "target_dependencies" : [
        "Histogram"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Histogram",
      "module_type" : "SwiftTarget",
      "name" : "Histogram",
      "path" : "Sources/Histogram",
      "product_dependencies" : [
        "Numerics"
      ],
      "product_memberships" : [
        "Histogram",
        "HistogramExample"
      ],
      "sources" : [
        "Histogram.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/hdrhistogram/hdrhistogram-swift/main
Repository:               HdrHistogram/hdrhistogram-swift
Swift version used:       6.0
        .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.1.0"),
Target:                   Histogram
Generating documentation for 'Histogram'...
Converting documentation...
warning: Parameter 'numberOfSignificantValueDigits' is missing documentation
   --> Sources/Histogram/Histogram.swift:129:85-129:85
127 |      *                             as low as 1.
128 |      *   - highestTrackableValue: The highest value to be tracked by the histogram. Must be a positive
129 +      *                            integer that is `>= (2 * lowestDiscernibleValue)`.
    |                                                                                     ╰─suggestion: Document 'numberOfSignificantValueDigits' parameter
130 |      *   - numberOfSignificantValueDigits The number of significant decimal digits to which the histogram will
131 |      *                                    maintain value resolution and separation.
warning: External name 'to' used to document parameter
    --> Sources/Histogram/Histogram.swift:1040:12-1040:14
1038 |      *
1039 |      * - Parameters:
1040 +      *   - to: The object into which the distribution will be written.
     |            ╰─suggestion: Replace 'to' with 'stream'
1041 |      *   - percentileTicksPerHalfDistance: The number of reporting points per exponentially decreasing half-distance.
1042 |      *   - outputValueUnitScalingRatio: The scaling factor by which to divide histogram recorded values units in output.
warning: External name 'percentileTicksPerHalfDistance' used to document parameter
    --> Sources/Histogram/Histogram.swift:1041:12-1041:42
1039 |      * - Parameters:
1040 |      *   - to: The object into which the distribution will be written.
1041 +      *   - percentileTicksPerHalfDistance: The number of reporting points per exponentially decreasing half-distance.
     |            ╰─suggestion: Replace 'percentileTicksPerHalfDistance' with 'ticks'
1042 |      *   - outputValueUnitScalingRatio: The scaling factor by which to divide histogram recorded values units in output.
1043 |      *   - format: The output format.
warning: Parameter 'other' not found in operator declaration
    --> Sources/Histogram/Histogram.swift:1323:8-1323:61
1321 |      * Determine if this histogram is equivalent to another.
1322 |      *
1323 +      * - Parameter other: The other histogram to compare to.
     |        ╰─suggestion: Remove 'other' parameter documentation
1324 |      * - Returns: `true` if this histogram is equivalent to `other`, `false` othrewise.
1325 |      */
warning: Parameter 'lhs' is missing documentation
    --> Sources/Histogram/Histogram.swift:1323:61-1323:61
1321 |      * Determine if this histogram is equivalent to another.
1322 |      *
1323 +      * - Parameter other: The other histogram to compare to.
     |                                                             ╰─suggestion: Document 'lhs' parameter
1324 |      * - Returns: `true` if this histogram is equivalent to `other`, `false` othrewise.
1325 |      */
warning: Parameter 'rhs' is missing documentation
    --> Sources/Histogram/Histogram.swift:1323:61-1323:61
1321 |      * Determine if this histogram is equivalent to another.
1322 |      *
1323 +      * - Parameter other: The other histogram to compare to.
     |                                                             ╰─suggestion: Document 'rhs' parameter
1324 |      * - Returns: `true` if this histogram is equivalent to `other`, `false` othrewise.
1325 |      */Conversion complete! (0.29s)
Generated DocC archive at '/Users/admin/builder/spi-builder-workspace/.docs/hdrhistogram/hdrhistogram-swift/main'
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit SourceRange.swift
[8/57] Compiling SymbolKit Metadata.swift
[9/57] Compiling SymbolKit Module.swift
[10/57] Compiling SymbolKit OperatingSystem.swift
[11/57] Compiling SymbolKit Platform.swift
[12/57] Emitting module Snippets
[13/57] Compiling Snippets SnippetParser.swift
[14/57] Compiling Snippets Snippet.swift
[15/57] Compiling SymbolKit DeclarationFragments.swift
[16/57] Compiling SymbolKit Fragment.swift
[17/57] Compiling SymbolKit FragmentKind.swift
[18/57] Compiling SymbolKit FunctionParameter.swift
[19/57] Compiling SymbolKit FunctionSignature.swift
[20/57] Compiling SymbolKit Mixin+Equals.swift
[21/57] Compiling SymbolKit Mixin+Hash.swift
[22/57] Compiling SymbolKit Mixin.swift
[23/57] Compiling SymbolKit LineList.swift
[24/57] Compiling SymbolKit Position.swift
[25/57] Compiling SymbolKit Identifier.swift
[26/57] Compiling SymbolKit KindIdentifier.swift
[27/57] Compiling SymbolKit Location.swift
[28/57] Compiling SymbolKit Mutability.swift
[29/57] Compiling SymbolKit Names.swift
[30/57] Compiling SymbolKit SPI.swift
[31/57] Compiling SymbolKit Snippet.swift
[32/57] Compiling SymbolKit Extension.swift
[33/57] Compiling SymbolKit GenericConstraint.swift
[34/57] Compiling SymbolKit GenericParameter.swift
[35/57] Compiling SymbolKit Generics.swift
[36/57] Compiling SymbolKit Namespace.swift
[37/57] Compiling SymbolKit Relationship.swift
[38/57] Compiling SymbolKit RelationshipKind.swift
[39/57] Compiling SymbolKit SourceOrigin.swift
[40/57] Compiling SymbolKit GenericConstraints.swift
[41/57] Compiling SymbolKit Swift.swift
[42/57] Compiling SymbolKit SemanticVersion.swift
[43/57] Compiling SymbolKit AccessControl.swift
[44/57] Compiling SymbolKit Availability.swift
[45/57] Compiling SymbolKit AvailabilityItem.swift
[46/57] Compiling SymbolKit Domain.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.46s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/11] Compiling RealModule Float80+Real.swift
[3/11] Compiling RealModule Real.swift
[4/12] Compiling RealModule Float16+Real.swift
[5/12] Compiling RealModule ElementaryFunctions.swift
[6/12] Compiling RealModule Float+Real.swift
[7/12] Compiling RealModule AugmentedArithmetic.swift
[8/12] Compiling RealModule Double+Real.swift
[9/12] Compiling RealModule ApproximateEquality.swift
[10/12] Compiling RealModule RealFunctions.swift
[11/12] Compiling RealModule AlgebraicField.swift
[12/12] Emitting module RealModule
[13/17] Compiling ComplexModule ElementaryFunctions.swift
[14/17] Compiling ComplexModule Differentiable.swift
[15/17] Compiling ComplexModule Complex.swift
[16/17] Compiling ComplexModule Arithmetic.swift
[17/17] Emitting module ComplexModule
[18/19] Compiling Numerics Numerics.swift
[19/19] Emitting module Numerics
[20/21] Emitting module Histogram
[21/21] Compiling Histogram Histogram.swift
Build of target: 'Histogram' complete! (1.79s)
     664
6	/Users/admin/builder/spi-builder-workspace/.docs/hdrhistogram/hdrhistogram-swift/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/hdrhistogram/hdrhistogram-swift/main
File count: 664
Doc size:   6.0MB
Preparing doc bundle ...
Uploading prod-hdrhistogram-hdrhistogram-swift-main-efdb4786.zip to s3://spi-docs-inbox/prod-hdrhistogram-hdrhistogram-swift-main-efdb4786.zip
Copying... [11%]
Copying... [22%]
Copying... [33%]
Copying... [44%]
Copying... [55%]
Copying... [61%]
Copying... [72%]
Copying... [83%]
Copying... [94%]
Copying... [100%]
Done.