This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 FoundationCombine with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CombineHarvesters/FoundationCombine.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CombineHarvesters/FoundationCombine
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4b6c5d1 Separate the Publisher conformance to an extension
Cloned https://github.com/CombineHarvesters/FoundationCombine.git
Revision (git rev-parse @):
4b6c5d1013c2bf2ccebdf762cad70564ceb213a7
SUCCESS checkout https://github.com/CombineHarvesters/FoundationCombine.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/CombineHarvesters/FoundationCombine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/7] Compiling FoundationCombine ScanInto.swift
[4/7] Compiling FoundationCombine ZipCollection.swift
/Users/admin/builder/spi-builder-workspace/Sources/FoundationCombine/ZipCollection.swift:55:17: warning: variable 'count' was never mutated; consider changing to 'let' constant
 53 |
 54 |         init(subscriber: Subscriber, publishers: Publishers) {
 55 |             var count = publishers.count
    |                 `- warning: variable 'count' was never mutated; consider changing to 'let' constant
 56 |             var outputs = publishers.map { _ in Queue<Publishers.Element.Output>() }
 57 |             var completions = 0
/Users/admin/builder/spi-builder-workspace/Sources/FoundationCombine/ZipCollection.swift:56:17: warning: variable 'outputs' was never mutated; consider changing to 'let' constant
 54 |         init(subscriber: Subscriber, publishers: Publishers) {
 55 |             var count = publishers.count
 56 |             var outputs = publishers.map { _ in Queue<Publishers.Element.Output>() }
    |                 `- warning: variable 'outputs' was never mutated; consider changing to 'let' constant
 57 |             var completions = 0
 58 |             var hasCompleted = false
[5/7] Emitting module FoundationCombine
[6/7] Compiling FoundationCombine ReduceInto.swift
[7/7] Compiling FoundationCombine CombineLatestCollection.swift
Build complete! (18.98s)
Fetching https://github.com/CombineHarvesters/CombineTesting
[1/26] Fetching combinetesting
Fetched https://github.com/CombineHarvesters/CombineTesting from cache (0.63s)
Creating working copy for https://github.com/CombineHarvesters/CombineTesting
Working copy of https://github.com/CombineHarvesters/CombineTesting resolved at master (b7f6844)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "combinetesting",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CombineHarvesters/CombineTesting"
    }
  ],
  "manifest_display_name" : "FoundationCombine",
  "name" : "FoundationCombine",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "FoundationCombine",
      "targets" : [
        "FoundationCombine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FoundationCombineTests",
      "module_type" : "SwiftTarget",
      "name" : "FoundationCombineTests",
      "path" : "Tests/FoundationCombineTests",
      "product_dependencies" : [
        "CombineTesting"
      ],
      "sources" : [
        "CombineLatestCollectionTests.swift",
        "ReduceIntoTests.swift",
        "ScanIntoTests.swift",
        "ZipCollectionTests.swift"
      ],
      "target_dependencies" : [
        "FoundationCombine"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FoundationCombine",
      "module_type" : "SwiftTarget",
      "name" : "FoundationCombine",
      "path" : "Sources/FoundationCombine",
      "product_memberships" : [
        "FoundationCombine"
      ],
      "sources" : [
        "CombineLatestCollection.swift",
        "ReduceInto.swift",
        "ScanInto.swift",
        "ZipCollection.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.