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 SwiftFormats, reference 0.3.6 (6b51cc), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 23:41:48 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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwa/SwiftFormats.git
Reference: 0.3.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/schwa/SwiftFormats
 * tag               0.3.6      -> FETCH_HEAD
HEAD is now at 6b51cce Downgrade lang version.
Cloned https://github.com/schwa/SwiftFormats.git
Revision (git rev-parse @):
6b51ccec7fccf2f1d4f28f03def6c6b97d17c05b
SUCCESS checkout https://github.com/schwa/SwiftFormats.git at 0.3.6
Fetching https://github.com/apple/swift-algorithms from cache
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-numerics from cache (0.49s)
Fetched https://github.com/apple/swift-algorithms from cache (0.49s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.0.0 (1.44s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.58s)
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.0.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": "swiftformats",
      "name": "SwiftFormats",
      "url": "https://github.com/schwa/SwiftFormats.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftFormats",
      "dependencies": [
        {
          "identity": "swift-algorithms",
          "name": "swift-algorithms",
          "url": "https://github.com/apple/swift-algorithms",
          "version": "1.2.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-algorithms",
          "dependencies": [
            {
              "identity": "swift-numerics",
              "name": "swift-numerics",
              "url": "https://github.com/apple/swift-numerics.git",
              "version": "1.0.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/schwa/SwiftFormats.git
[1/703] Fetching swiftformats
Fetched https://github.com/schwa/SwiftFormats.git from cache (0.71s)
Fetching https://github.com/apple/swift-algorithms from cache
Fetched https://github.com/apple/swift-algorithms from cache (0.44s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (1.07s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.41s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.03s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/schwa/SwiftFormats.git
Working copy of https://github.com/schwa/SwiftFormats.git resolved at 0.3.6 (6b51cce)
warning: '.resolve-product-dependencies': dependency 'swiftformats' is not used by any target
Found 1 product dependencies
  - swift-algorithms
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/schwa/SwiftFormats.git
https://github.com/schwa/SwiftFormats.git
{
  "dependencies" : [
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms"
    }
  ],
  "manifest_display_name" : "SwiftFormats",
  "name" : "SwiftFormats",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftFormats",
      "targets" : [
        "SwiftFormats"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftFormatsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftFormatsTests",
      "path" : "Tests/SwiftFormatsTests",
      "sources" : [
        "AngleTests.swift",
        "BoolTests.swift",
        "CoreGraphicsTests.swift",
        "MappingTests.swift",
        "MatrixTests.swift",
        "QuaternionTests.swift",
        "SimpleListTests.swift",
        "SwiftFormatsTests.swift",
        "TupleTests.swift",
        "VectorTests.swift"
      ],
      "target_dependencies" : [
        "SwiftFormats"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftFormats",
      "module_type" : "SwiftTarget",
      "name" : "SwiftFormats",
      "path" : "Sources/SwiftFormats",
      "product_dependencies" : [
        "Algorithms"
      ],
      "product_memberships" : [
        "SwiftFormats"
      ],
      "sources" : [
        "BoolFormatStyle.swift",
        "DegreesMinutesSecondsNotation.swift",
        "FormatStyle+Angles.swift",
        "FormatStyle+ClosedRange.swift",
        "FormatStyle+Coordinates.swift",
        "FormatStyle+CoreGraphics.swift",
        "FormatStyle+Debugging.swift",
        "FormatStyle+Extensions.swift",
        "FormatStyle+Hexdump.swift",
        "FormatStyle+JSON.swift",
        "FormatStyle+Matrix.swift",
        "FormatStyle+Quaternion.swift",
        "FormatStyle+Vector.swift",
        "IncrementalParseStrategy.swift",
        "MappingFormatStyle.swift",
        "ParseableFormatStyle+Measurement.swift",
        "RadixedIntegerFormatStyle.swift",
        "Scratch.swift",
        "SimpleListFormatStyle.swift",
        "String+Extensions.swift",
        "Support.swift",
        "TupleFormatStyle.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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/5] Write sources
[3/5] Compiling _NumericsShims _NumericsShims.c
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/15] Compiling RealModule Float80+Real.swift
[7/15] Compiling RealModule Real.swift
[8/15] Compiling RealModule Float16+Real.swift
[9/15] Compiling RealModule AugmentedArithmetic.swift
[10/15] Compiling RealModule ElementaryFunctions.swift
[11/15] Compiling RealModule Double+Real.swift
[12/15] Compiling RealModule ApproximateEquality.swift
[13/15] Compiling RealModule AlgebraicField.swift
[14/15] Compiling RealModule Float+Real.swift
[15/15] Emitting module RealModule
[16/16] Compiling RealModule RealFunctions.swift
[17/40] Compiling Algorithms Suffix.swift
[18/40] Compiling Algorithms Trim.swift
[19/42] Compiling Algorithms EitherSequence.swift
[20/42] Compiling Algorithms FirstNonNil.swift
[21/42] Compiling Algorithms FlattenCollection.swift
[22/42] Compiling Algorithms Split.swift
[23/42] Compiling Algorithms Stride.swift
[24/42] Compiling Algorithms Product.swift
[25/42] Compiling Algorithms RandomSample.swift
[26/42] Compiling Algorithms Unique.swift
[27/42] Compiling Algorithms Windows.swift
[28/42] Compiling Algorithms Combinations.swift
[29/42] Compiling Algorithms Compacted.swift
[30/42] Compiling Algorithms Cycle.swift
[31/42] Compiling Algorithms MinMax.swift
[32/42] Compiling Algorithms Partition.swift
[33/42] Compiling Algorithms Permutations.swift
[34/42] Compiling Algorithms Reductions.swift
[35/42] Compiling Algorithms Rotate.swift
[36/42] Compiling Algorithms AdjacentPairs.swift
[37/42] Compiling Algorithms Chain.swift
[38/42] Compiling Algorithms Chunked.swift
[39/42] Compiling Algorithms Indexed.swift
[40/42] Compiling Algorithms Intersperse.swift
[41/42] Compiling Algorithms Joined.swift
[42/42] Emitting module Algorithms
[43/63] Emitting module SwiftFormats
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormats/ParseableFormatStyle+Measurement.swift:56:1: warning: extension declares a conformance of imported type 'FormatStyle' to imported protocol 'ParseableFormatStyle'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 54 | // MARK: - Convenience Initializers
 55 |
 56 | extension Measurement.FormatStyle: ParseableFormatStyle where UnitType == UnitAngle {
    | |- warning: extension declares a conformance of imported type 'FormatStyle' to imported protocol 'ParseableFormatStyle'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 57 |     public var parseStrategy: UnitAngleParseStrategy {
 58 |         UnitAngleParseStrategy(format: self, lenient: false)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormats/ParseableFormatStyle+Measurement.swift:115:1: warning: extension declares a conformance of imported type 'UnitWidth' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
113 | // MARK: - Measurement Extensions
114 |
115 | extension Measurement<UnitAngle>.FormatStyle.UnitWidth: CaseIterable {
    | |- warning: extension declares a conformance of imported type 'UnitWidth' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
116 |     public static var allCases: [Self] {
117 |         [
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormats/Support.swift:34:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'RegexComponent'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
32 |
33 | /// Generates a ChoiceOf regex pattern from an array of strings.
34 | extension Array: RegexComponent where Element == String {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'RegexComponent'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |     public var regex: Regex<Substring> {
36 |
[44/65] Compiling SwiftFormats FormatStyle+Debugging.swift
[45/65] Compiling SwiftFormats FormatStyle+Extensions.swift
[46/65] Compiling SwiftFormats MappingFormatStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormats/ParseableFormatStyle+Measurement.swift:56:1: warning: extension declares a conformance of imported type 'FormatStyle' to imported protocol 'ParseableFormatStyle'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 54 | // MARK: - Convenience Initializers
 55 |
 56 | extension Measurement.FormatStyle: ParseableFormatStyle where UnitType == UnitAngle {
    | |- warning: extension declares a conformance of imported type 'FormatStyle' to imported protocol 'ParseableFormatStyle'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 57 |     public var parseStrategy: UnitAngleParseStrategy {
 58 |         UnitAngleParseStrategy(format: self, lenient: false)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormats/ParseableFormatStyle+Measurement.swift:115:1: warning: extension declares a conformance of imported type 'UnitWidth' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
113 | // MARK: - Measurement Extensions
114 |
115 | extension Measurement<UnitAngle>.FormatStyle.UnitWidth: CaseIterable {
    | |- warning: extension declares a conformance of imported type 'UnitWidth' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
116 |     public static var allCases: [Self] {
117 |         [
[47/65] Compiling SwiftFormats ParseableFormatStyle+Measurement.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormats/ParseableFormatStyle+Measurement.swift:56:1: warning: extension declares a conformance of imported type 'FormatStyle' to imported protocol 'ParseableFormatStyle'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 54 | // MARK: - Convenience Initializers
 55 |
 56 | extension Measurement.FormatStyle: ParseableFormatStyle where UnitType == UnitAngle {
    | |- warning: extension declares a conformance of imported type 'FormatStyle' to imported protocol 'ParseableFormatStyle'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 57 |     public var parseStrategy: UnitAngleParseStrategy {
 58 |         UnitAngleParseStrategy(format: self, lenient: false)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormats/ParseableFormatStyle+Measurement.swift:115:1: warning: extension declares a conformance of imported type 'UnitWidth' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
113 | // MARK: - Measurement Extensions
114 |
115 | extension Measurement<UnitAngle>.FormatStyle.UnitWidth: CaseIterable {
    | |- warning: extension declares a conformance of imported type 'UnitWidth' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
116 |     public static var allCases: [Self] {
117 |         [
[48/65] Compiling SwiftFormats RadixedIntegerFormatStyle.swift
[49/65] Compiling SwiftFormats Scratch.swift
[50/65] Compiling SwiftFormats FormatStyle+ClosedRange.swift
[51/65] Compiling SwiftFormats FormatStyle+Coordinates.swift
[52/65] Compiling SwiftFormats FormatStyle+CoreGraphics.swift
[53/65] Compiling SwiftFormats Support.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormats/Support.swift:34:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'RegexComponent'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
32 |
33 | /// Generates a ChoiceOf regex pattern from an array of strings.
34 | extension Array: RegexComponent where Element == String {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'RegexComponent'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |     public var regex: Regex<Substring> {
36 |
[54/65] Compiling SwiftFormats TupleFormatStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFormats/Support.swift:34:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'RegexComponent'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
32 |
33 | /// Generates a ChoiceOf regex pattern from an array of strings.
34 | extension Array: RegexComponent where Element == String {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'RegexComponent'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |     public var regex: Regex<Substring> {
36 |
[55/65] Compiling SwiftFormats SimpleListFormatStyle.swift
[56/65] Compiling SwiftFormats String+Extensions.swift
[57/65] Compiling SwiftFormats FormatStyle+Vector.swift
[58/65] Compiling SwiftFormats IncrementalParseStrategy.swift
[59/65] Compiling SwiftFormats FormatStyle+Matrix.swift
[60/65] Compiling SwiftFormats FormatStyle+Quaternion.swift
[61/65] Compiling SwiftFormats FormatStyle+Hexdump.swift
[62/65] Compiling SwiftFormats FormatStyle+JSON.swift
[63/65] Compiling SwiftFormats BoolFormatStyle.swift
[64/65] Compiling SwiftFormats DegreesMinutesSecondsNotation.swift
[65/65] Compiling SwiftFormats FormatStyle+Angles.swift
Build complete! (12.10s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms"
    }
  ],
  "manifest_display_name" : "SwiftFormats",
  "name" : "SwiftFormats",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftFormats",
      "targets" : [
        "SwiftFormats"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftFormatsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftFormatsTests",
      "path" : "Tests/SwiftFormatsTests",
      "sources" : [
        "AngleTests.swift",
        "BoolTests.swift",
        "CoreGraphicsTests.swift",
        "MappingTests.swift",
        "MatrixTests.swift",
        "QuaternionTests.swift",
        "SimpleListTests.swift",
        "SwiftFormatsTests.swift",
        "TupleTests.swift",
        "VectorTests.swift"
      ],
      "target_dependencies" : [
        "SwiftFormats"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftFormats",
      "module_type" : "SwiftTarget",
      "name" : "SwiftFormats",
      "path" : "Sources/SwiftFormats",
      "product_dependencies" : [
        "Algorithms"
      ],
      "product_memberships" : [
        "SwiftFormats"
      ],
      "sources" : [
        "BoolFormatStyle.swift",
        "DegreesMinutesSecondsNotation.swift",
        "FormatStyle+Angles.swift",
        "FormatStyle+ClosedRange.swift",
        "FormatStyle+Coordinates.swift",
        "FormatStyle+CoreGraphics.swift",
        "FormatStyle+Debugging.swift",
        "FormatStyle+Extensions.swift",
        "FormatStyle+Hexdump.swift",
        "FormatStyle+JSON.swift",
        "FormatStyle+Matrix.swift",
        "FormatStyle+Quaternion.swift",
        "FormatStyle+Vector.swift",
        "IncrementalParseStrategy.swift",
        "MappingFormatStyle.swift",
        "ParseableFormatStyle+Measurement.swift",
        "RadixedIntegerFormatStyle.swift",
        "Scratch.swift",
        "SimpleListFormatStyle.swift",
        "String+Extensions.swift",
        "Support.swift",
        "TupleFormatStyle.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.