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 main (a53907), with Swift 6.0 for macOS (SPM) on 7 Jan 2025 06:19:30 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwa/SwiftFormats.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/schwa/SwiftFormats
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a53907d Fix demos path.
Cloned https://github.com/schwa/SwiftFormats.git
Revision (git rev-parse @):
a53907df4b860d1ea7871aedc3cc0215c4d37a16
SUCCESS checkout https://github.com/schwa/SwiftFormats.git at main
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-numerics
[1/5614] Fetching swift-algorithms
[114/11190] Fetching swift-algorithms, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.15s)
Fetched https://github.com/apple/swift-algorithms from cache (1.15s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.0.0 (3.11s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.57s)
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.0",
          "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.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/schwa/SwiftFormats.git
[8/703] Fetching swiftformats
Fetched https://github.com/schwa/SwiftFormats.git from cache (0.80s)
Fetching https://github.com/apple/swift-algorithms from cache
Fetched https://github.com/apple/swift-algorithms from cache (0.47s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.0 (0.57s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.56s)
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.2
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.0
Creating working copy for https://github.com/schwa/SwiftFormats.git
Working copy of https://github.com/schwa/SwiftFormats.git resolved at main (a53907d)
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.0
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.2.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-5BDAB9E9C0126B9D.txt
[6/15] Compiling RealModule Real.swift
[7/16] Compiling RealModule Float80+Real.swift
[8/16] Compiling RealModule Double+Real.swift
[9/16] Compiling RealModule ApproximateEquality.swift
[10/16] Compiling RealModule Float+Real.swift
[11/16] Compiling RealModule ElementaryFunctions.swift
[12/16] Compiling RealModule Float16+Real.swift
[13/16] Compiling RealModule AlgebraicField.swift
[14/16] Emitting module RealModule
[15/16] Compiling RealModule AugmentedArithmetic.swift
[16/16] Compiling RealModule RealFunctions.swift
[17/40] Compiling Algorithms MinMax.swift
[18/40] Compiling Algorithms Partition.swift
[19/40] Compiling Algorithms Permutations.swift
[20/42] Compiling Algorithms Suffix.swift
[21/42] Compiling Algorithms Trim.swift
[22/42] Compiling Algorithms Split.swift
[23/42] Compiling Algorithms Stride.swift
[24/42] Compiling Algorithms Reductions.swift
[25/42] Compiling Algorithms Rotate.swift
[26/42] Compiling Algorithms EitherSequence.swift
[27/42] Compiling Algorithms FirstNonNil.swift
[28/42] Compiling Algorithms FlattenCollection.swift
[29/42] Compiling Algorithms Unique.swift
[30/42] Compiling Algorithms Windows.swift
[31/42] Compiling Algorithms Combinations.swift
[32/42] Compiling Algorithms Compacted.swift
[33/42] Compiling Algorithms Cycle.swift
[34/42] Compiling Algorithms Product.swift
[35/42] Compiling Algorithms RandomSample.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 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 |         [
[45/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 |         [
[46/65] Compiling SwiftFormats SimpleListFormatStyle.swift
[47/65] Compiling SwiftFormats String+Extensions.swift
[48/65] Compiling SwiftFormats FormatStyle+ClosedRange.swift
[49/65] Compiling SwiftFormats FormatStyle+Coordinates.swift
[50/65] Compiling SwiftFormats FormatStyle+CoreGraphics.swift
[51/65] Compiling SwiftFormats FormatStyle+Vector.swift
[52/65] Compiling SwiftFormats IncrementalParseStrategy.swift
[53/65] Compiling SwiftFormats FormatStyle+Hexdump.swift
[54/65] Compiling SwiftFormats FormatStyle+JSON.swift
[55/65] Compiling SwiftFormats FormatStyle+Debugging.swift
[56/65] Compiling SwiftFormats FormatStyle+Extensions.swift
[57/65] Compiling SwiftFormats FormatStyle+Matrix.swift
[58/65] Compiling SwiftFormats FormatStyle+Quaternion.swift
[59/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 |
[60/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 |
[61/65] Compiling SwiftFormats RadixedIntegerFormatStyle.swift
[62/65] Compiling SwiftFormats Scratch.swift
[63/65] Compiling SwiftFormats BoolFormatStyle.swift
[64/65] Compiling SwiftFormats DegreesMinutesSecondsNotation.swift
[65/65] Compiling SwiftFormats FormatStyle+Angles.swift
Build complete! (23.79s)
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.