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-algorithms, reference 1.2.1 (87e50f), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 13:10:24 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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-algorithms.git
Reference: 1.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-algorithms
 * tag               1.2.1      -> FETCH_HEAD
HEAD is now at 87e50f4 Prepare for 1.2.1 release
Cloned https://github.com/apple/swift-algorithms.git
Revision (git rev-parse @):
87e50f483c54e6efd60e885f7f5aa946cee68023
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-algorithms.git at 1.2.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/apple/swift-algorithms.git
https://github.com/apple/swift-algorithms.git
{
  "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.git"
    }
  ],
  "manifest_display_name" : "swift-algorithms",
  "name" : "swift-algorithms",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Algorithms",
      "targets" : [
        "Algorithms"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftAlgorithmsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAlgorithmsTests",
      "path" : "Tests/SwiftAlgorithmsTests",
      "sources" : [
        "AdjacentPairsTests.swift",
        "ChainTests.swift",
        "ChunkedTests.swift",
        "CombinationsTests.swift",
        "CompactedTests.swift",
        "CycleTests.swift",
        "FirstNonNilTests.swift",
        "GroupedTests.swift",
        "IndexedTests.swift",
        "IntersperseTests.swift",
        "JoinedTests.swift",
        "KeyedTests.swift",
        "MinMaxTests.swift",
        "PartitionTests.swift",
        "PermutationsTests.swift",
        "ProductTests.swift",
        "RandomSampleTests.swift",
        "ReductionsTests.swift",
        "RotateTests.swift",
        "SplitTests.swift",
        "StrideTests.swift",
        "SuffixTests.swift",
        "TestUtilities.swift",
        "TrimTests.swift",
        "UniquePermutationsTests.swift",
        "UniqueTests.swift",
        "WindowsTests.swift"
      ],
      "target_dependencies" : [
        "Algorithms"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Algorithms",
      "module_type" : "SwiftTarget",
      "name" : "Algorithms",
      "path" : "Sources/Algorithms",
      "product_dependencies" : [
        "RealModule"
      ],
      "product_memberships" : [
        "Algorithms"
      ],
      "sources" : [
        "AdjacentPairs.swift",
        "Chain.swift",
        "Chunked.swift",
        "Combinations.swift",
        "Compacted.swift",
        "Cycle.swift",
        "EitherSequence.swift",
        "FirstNonNil.swift",
        "FlattenCollection.swift",
        "Grouped.swift",
        "Indexed.swift",
        "Intersperse.swift",
        "Joined.swift",
        "Keyed.swift",
        "MinMax.swift",
        "Partition.swift",
        "Permutations.swift",
        "Product.swift",
        "RandomSample.swift",
        "Reductions.swift",
        "Rotate.swift",
        "Split.swift",
        "Stride.swift",
        "Suffix.swift",
        "Trim.swift",
        "Unique.swift",
        "Windows.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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/4] Write sources
[2/4] Compiling _NumericsShims _NumericsShims.c
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/14] Compiling RealModule AugmentedArithmetic.swift
[6/14] Compiling RealModule Real.swift
[7/15] Compiling RealModule AlgebraicField.swift
[8/15] Compiling RealModule ApproximateEquality.swift
[9/15] Emitting module RealModule
[10/15] Compiling RealModule Float80+Real.swift
[11/15] Compiling RealModule ElementaryFunctions.swift
[12/15] Compiling RealModule Float+Real.swift
[13/15] Compiling RealModule Float16+Real.swift
[14/15] Compiling RealModule Double+Real.swift
[15/15] Compiling RealModule RealFunctions.swift
[16/41] Compiling Algorithms RandomSample.swift
[17/41] Compiling Algorithms Reductions.swift
[18/41] Compiling Algorithms Rotate.swift
[19/43] Compiling Algorithms EitherSequence.swift
[20/43] Compiling Algorithms FirstNonNil.swift
[21/43] Compiling Algorithms FlattenCollection.swift
[22/43] Compiling Algorithms Suffix.swift
[23/43] Compiling Algorithms Trim.swift
[24/43] Compiling Algorithms Split.swift
[25/43] Compiling Algorithms Stride.swift
[26/43] Compiling Algorithms Grouped.swift
[27/43] Compiling Algorithms Indexed.swift
[28/43] Compiling Algorithms Intersperse.swift
[29/43] Compiling Algorithms Joined.swift
[30/43] Compiling Algorithms Keyed.swift
[31/43] Compiling Algorithms MinMax.swift
[32/43] Compiling Algorithms Partition.swift
[33/43] Compiling Algorithms Permutations.swift
[34/43] Compiling Algorithms Product.swift
[35/43] Compiling Algorithms Unique.swift
[36/43] Compiling Algorithms Windows.swift
[37/43] Compiling Algorithms Combinations.swift
[38/43] Compiling Algorithms Compacted.swift
[39/43] Compiling Algorithms Cycle.swift
[40/43] Compiling Algorithms AdjacentPairs.swift
[41/43] Compiling Algorithms Chain.swift
[42/43] Compiling Algorithms Chunked.swift
[43/43] Emitting module Algorithms
Build complete! (3.85s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.06s)
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
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.git"
    }
  ],
  "manifest_display_name" : "swift-algorithms",
  "name" : "swift-algorithms",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Algorithms",
      "targets" : [
        "Algorithms"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftAlgorithmsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAlgorithmsTests",
      "path" : "Tests/SwiftAlgorithmsTests",
      "sources" : [
        "AdjacentPairsTests.swift",
        "ChainTests.swift",
        "ChunkedTests.swift",
        "CombinationsTests.swift",
        "CompactedTests.swift",
        "CycleTests.swift",
        "FirstNonNilTests.swift",
        "GroupedTests.swift",
        "IndexedTests.swift",
        "IntersperseTests.swift",
        "JoinedTests.swift",
        "KeyedTests.swift",
        "MinMaxTests.swift",
        "PartitionTests.swift",
        "PermutationsTests.swift",
        "ProductTests.swift",
        "RandomSampleTests.swift",
        "ReductionsTests.swift",
        "RotateTests.swift",
        "SplitTests.swift",
        "StrideTests.swift",
        "SuffixTests.swift",
        "TestUtilities.swift",
        "TrimTests.swift",
        "UniquePermutationsTests.swift",
        "UniqueTests.swift",
        "WindowsTests.swift"
      ],
      "target_dependencies" : [
        "Algorithms"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Algorithms",
      "module_type" : "SwiftTarget",
      "name" : "Algorithms",
      "path" : "Sources/Algorithms",
      "product_dependencies" : [
        "RealModule"
      ],
      "product_memberships" : [
        "Algorithms"
      ],
      "sources" : [
        "AdjacentPairs.swift",
        "Chain.swift",
        "Chunked.swift",
        "Combinations.swift",
        "Compacted.swift",
        "Cycle.swift",
        "EitherSequence.swift",
        "FirstNonNil.swift",
        "FlattenCollection.swift",
        "Grouped.swift",
        "Indexed.swift",
        "Intersperse.swift",
        "Joined.swift",
        "Keyed.swift",
        "MinMax.swift",
        "Partition.swift",
        "Permutations.swift",
        "Product.swift",
        "RandomSample.swift",
        "Reductions.swift",
        "Rotate.swift",
        "Split.swift",
        "Stride.swift",
        "Suffix.swift",
        "Trim.swift",
        "Unique.swift",
        "Windows.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.