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.0 for Linux on 11 Feb 2025 05:14:47 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-algorithms.git
Reference: 1.2.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/apple/swift-algorithms.git
https://github.com/apple/swift-algorithms.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-numerics.git
[1/5576] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.35s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.53s)
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
Building for debugging...
[0/4] Write sources
[2/4] Compiling _NumericsShims _NumericsShims.c
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/14] Compiling RealModule ElementaryFunctions.swift
[6/15] Compiling RealModule Real.swift
[7/15] Compiling RealModule RealFunctions.swift
[8/15] Compiling RealModule Float80+Real.swift
[9/15] Compiling RealModule Float16+Real.swift
[10/15] Compiling RealModule Float+Real.swift
[11/15] Compiling RealModule AlgebraicField.swift
[12/15] Compiling RealModule ApproximateEquality.swift
[13/15] Emitting module RealModule
[14/15] Compiling RealModule AugmentedArithmetic.swift
[15/15] Compiling RealModule Double+Real.swift
[17/41] Compiling Algorithms Compacted.swift
[18/41] Compiling Algorithms Cycle.swift
[19/41] Compiling Algorithms EitherSequence.swift
[20/41] Compiling Algorithms FirstNonNil.swift
[21/44] Compiling Algorithms Split.swift
[22/44] Compiling Algorithms Stride.swift
[23/44] Compiling Algorithms Suffix.swift
[24/44] Compiling Algorithms RandomSample.swift
[25/44] Compiling Algorithms Reductions.swift
[26/44] Compiling Algorithms Rotate.swift
[27/44] Compiling Algorithms Partition.swift
[28/44] Compiling Algorithms Permutations.swift
[29/44] Compiling Algorithms Product.swift
[30/44] Compiling Algorithms Trim.swift
[31/44] Compiling Algorithms Unique.swift
[32/44] Compiling Algorithms Windows.swift
[33/44] Compiling Algorithms FlattenCollection.swift
[34/44] Compiling Algorithms Grouped.swift
[35/44] Compiling Algorithms Indexed.swift
[36/44] Compiling Algorithms Intersperse.swift
[37/44] Compiling Algorithms Joined.swift
[38/44] Compiling Algorithms Keyed.swift
[39/44] Compiling Algorithms MinMax.swift
[40/44] Compiling Algorithms AdjacentPairs.swift
[41/44] Compiling Algorithms Chain.swift
[42/44] Compiling Algorithms Chunked.swift
[43/44] Compiling Algorithms Combinations.swift
[44/44] Emitting module Algorithms
Build complete! (12.92s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.