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 main (0e939e), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 13:11:00 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-algorithms
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0e939e7 Enable remaining soundness checks (#254)
Cloned https://github.com/apple/swift-algorithms.git
Revision (git rev-parse @):
0e939e7bb92d5305022f0f981973c2de5ee543b4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-algorithms.git at main
========================================
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",
        "EndsWithTests.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",
        "EndsWith.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 Float16+Real.swift
[6/14] Compiling RealModule Real.swift
[7/14] Compiling RealModule Float80+Real.swift
[8/14] Compiling RealModule ElementaryFunctions.swift
[9/14] Compiling RealModule AugmentedArithmetic.swift
[10/14] Compiling RealModule Float+Real.swift
[11/15] Emitting module RealModule
[12/15] Compiling RealModule AlgebraicField.swift
[13/15] Compiling RealModule ApproximateEquality.swift
[14/15] Compiling RealModule Double+Real.swift
[15/15] Compiling RealModule RealFunctions.swift
[16/42] Compiling Algorithms Suffix.swift
[17/42] Compiling Algorithms Trim.swift
[18/44] Compiling Algorithms EitherSequence.swift
[19/44] Compiling Algorithms EndsWith.swift
[20/44] Compiling Algorithms FirstNonNil.swift
[21/44] Compiling Algorithms FlattenCollection.swift
[22/44] Compiling Algorithms Grouped.swift
[23/44] Compiling Algorithms Indexed.swift
[24/44] Compiling Algorithms Unique.swift
[25/44] Compiling Algorithms Windows.swift
[26/44] Compiling Algorithms MinMax.swift
[27/44] Compiling Algorithms Partition.swift
[28/44] Compiling Algorithms Permutations.swift
[29/44] Compiling Algorithms Rotate.swift
[30/44] Compiling Algorithms Split.swift
[31/44] Compiling Algorithms Stride.swift
[32/44] Compiling Algorithms Combinations.swift
[33/44] Compiling Algorithms Compacted.swift
[34/44] Compiling Algorithms Cycle.swift
[35/44] Compiling Algorithms AdjacentPairs.swift
[36/44] Compiling Algorithms Chain.swift
[37/44] Compiling Algorithms Chunked.swift
[38/44] Compiling Algorithms Intersperse.swift
[39/44] Compiling Algorithms Joined.swift
[40/44] Compiling Algorithms Keyed.swift
[41/44] Compiling Algorithms Product.swift
[42/44] Compiling Algorithms RandomSample.swift
[43/44] Compiling Algorithms Reductions.swift
[44/44] Emitting module Algorithms
Build complete! (3.94s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.52s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.12s)
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",
        "EndsWithTests.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",
        "EndsWith.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.