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, reference 0.1.0 (4b6c5d), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 13:14:59 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CombineHarvesters/FoundationCombine.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CombineHarvesters/FoundationCombine
 * tag               0.1.0      -> FETCH_HEAD
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 0.1.0
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)
========================================
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": "foundationcombine",
      "name": "FoundationCombine",
      "url": "https://github.com/CombineHarvesters/FoundationCombine.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FoundationCombine",
      "dependencies": [
        {
          "identity": "combinetesting",
          "name": "CombineTesting",
          "url": "https://github.com/CombineHarvesters/CombineTesting",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CombineTesting",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/CombineHarvesters/FoundationCombine.git
[3/272] Fetching foundationcombine
Fetched https://github.com/CombineHarvesters/FoundationCombine.git from cache (0.66s)
Fetching https://github.com/CombineHarvesters/CombineTesting from cache
Fetched https://github.com/CombineHarvesters/CombineTesting from cache (0.44s)
Creating working copy for https://github.com/CombineHarvesters/CombineTesting
Working copy of https://github.com/CombineHarvesters/CombineTesting resolved at master (4ad47f6)
Creating working copy for https://github.com/CombineHarvesters/FoundationCombine.git
Working copy of https://github.com/CombineHarvesters/FoundationCombine.git resolved at 0.1.0 (4b6c5d1)
warning: '.resolve-product-dependencies': dependency 'foundationcombine' is not used by any target
Found 1 product dependencies
  - CombineTesting
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CombineHarvesters/FoundationCombine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.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 CombineLatestCollection.swift
[7/7] Compiling FoundationCombine ReduceInto.swift
Build complete! (6.89s)
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.