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 Conbini, reference 0.6.2 (cff128), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 01:17:43 UTC.

Swift 6 data race errors: 1

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 -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dehesa/package-conbini.git
Reference: 0.6.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dehesa/package-conbini
 * tag               0.6.2      -> FETCH_HEAD
HEAD is now at cff128f Await operator added
Cloned https://github.com/dehesa/package-conbini.git
Revision (git rev-parse @):
cff128fe48e7bc1fbdfbfc00b68df2a0bddef542
SUCCESS checkout https://github.com/dehesa/package-conbini.git at 0.6.2
========================================
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": "package-conbini",
      "name": "Conbini",
      "url": "https://github.com/dehesa/package-conbini.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/package-conbini",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dehesa/package-conbini.git
[1/937] Fetching package-conbini
Fetched https://github.com/dehesa/package-conbini.git from cache (0.94s)
Creating working copy for https://github.com/dehesa/package-conbini.git
Working copy of https://github.com/dehesa/package-conbini.git resolved at 0.6.2 (cff128f)
warning: '.resolve-product-dependencies': dependency 'package-conbini' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dehesa/package-conbini.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Conbini",
  "name" : "Conbini",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Conbini",
      "targets" : [
        "Conbini"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ConbiniForTesting",
      "targets" : [
        "ConbiniForTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ConbiniTests",
      "module_type" : "SwiftTarget",
      "name" : "ConbiniTests",
      "path" : "tests/runtime",
      "sources" : [
        "operators/AssignOpTests.swift",
        "operators/AwaitOpTests.swift",
        "operators/DelayedRetryOpTests.swift",
        "operators/HandleEndOpTests.swift",
        "operators/ResultOpTests.swift",
        "operators/ThenOpTests.swift",
        "publishers/DeferredCompleteTests.swift",
        "publishers/DeferredFutureTests.swift",
        "publishers/DeferredPassthroughTests.swift",
        "publishers/DeferredResultTests.swift",
        "publishers/DeferredTryCompleteTests.swift",
        "publishers/DeferredTryValueTests.swift",
        "publishers/DeferredValueTests.swift",
        "subscribers/FixedSinkTests.swift",
        "subscribers/GraduatedSinkTests.swift",
        "utils/BufferTests.swift"
      ],
      "target_dependencies" : [
        "Conbini"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ConbiniForTestingTests",
      "module_type" : "SwiftTarget",
      "name" : "ConbiniForTestingTests",
      "path" : "tests/testing",
      "sources" : [
        "ExpectationsTests.swift"
      ],
      "target_dependencies" : [
        "Conbini",
        "ConbiniForTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ConbiniForTesting",
      "module_type" : "SwiftTarget",
      "name" : "ConbiniForTesting",
      "path" : "sources/testing",
      "product_memberships" : [
        "ConbiniForTesting"
      ],
      "sources" : [
        "Expectations.swift",
        "XCTestCase.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Conbini",
      "module_type" : "SwiftTarget",
      "name" : "Conbini",
      "path" : "sources/runtime",
      "product_memberships" : [
        "Conbini"
      ],
      "sources" : [
        "operators/AssignOp.swift",
        "operators/AwaitOp.swift",
        "operators/HandleEndOp.swift",
        "operators/ResultOp.swift",
        "operators/RetryOp.swift",
        "operators/SinkOp.swift",
        "operators/ThenOp.swift",
        "publishers/DeferredComplete.swift",
        "publishers/DeferredFuture.swift",
        "publishers/DeferredPassthrough.swift",
        "publishers/DeferredResult.swift",
        "publishers/DeferredTryComplete.swift",
        "publishers/DeferredTryValue.swift",
        "publishers/DeferredValue.swift",
        "publishers/HandleEnd.swift",
        "publishers/Retry.swift",
        "publishers/Then.swift",
        "subscribers/FixedSink.swift",
        "subscribers/GraduatedSink.swift",
        "utils/Buffer.swift",
        "utils/Lock.swift",
        "utils/State.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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 -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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/27] Emitting module Conbini
/Users/admin/builder/spi-builder-workspace/sources/runtime/publishers/Retry.swift:35:29: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  6 |     ///
  7 |     /// Please notice that any value sent before a failure is still received downstream.
  8 |     public struct DelayedRetry<Upstream,S>: Publisher where Upstream:Publisher, S:Scheduler {
    |                                         `- note: 'S' previously declared here
  9 |         public typealias Output = Upstream.Output
 10 |         public typealias Failure = Upstream.Failure
    :
 33 |         }
 34 |
 35 |         public func receive<S>(subscriber: S) where S:Subscriber, S.Input==Output, S.Failure==Failure {
    |                             `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 36 |             let conduit = DelayedRetry.Conduit(upstream: self.upstream, downstream: subscriber,
 37 |                                                scheduler: self.scheduler, tolerance: self.tolerance, options: self.options,
[5/29] Compiling Conbini Lock.swift
[6/29] Compiling Conbini State.swift
[7/29] Compiling ConbiniForTesting XCTestCase.swift
[8/29] Compiling ConbiniForTesting Expectations.swift
[9/29] Emitting module ConbiniForTesting
[10/29] Compiling Conbini AssignOp.swift
[11/29] Compiling Conbini AwaitOp.swift
[12/29] Compiling Conbini HandleEndOp.swift
[13/29] Compiling Conbini DeferredFuture.swift
[14/29] Compiling Conbini DeferredPassthrough.swift
[15/29] Compiling Conbini DeferredTryValue.swift
[16/29] Compiling Conbini DeferredValue.swift
[17/29] Compiling Conbini GraduatedSink.swift
[18/29] Compiling Conbini Buffer.swift
[19/29] Compiling Conbini Then.swift
[20/29] Compiling Conbini FixedSink.swift
[21/29] Compiling Conbini DeferredResult.swift
[22/29] Compiling Conbini DeferredTryComplete.swift
[23/29] Compiling Conbini ThenOp.swift
[24/29] Compiling Conbini DeferredComplete.swift
[25/29] Compiling Conbini ResultOp.swift
[26/29] Compiling Conbini RetryOp.swift
[27/29] Compiling Conbini SinkOp.swift
[28/29] Compiling Conbini HandleEnd.swift
/Users/admin/builder/spi-builder-workspace/sources/runtime/publishers/Retry.swift:35:29: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  6 |     ///
  7 |     /// Please notice that any value sent before a failure is still received downstream.
  8 |     public struct DelayedRetry<Upstream,S>: Publisher where Upstream:Publisher, S:Scheduler {
    |                                         `- note: 'S' previously declared here
  9 |         public typealias Output = Upstream.Output
 10 |         public typealias Failure = Upstream.Failure
    :
 33 |         }
 34 |
 35 |         public func receive<S>(subscriber: S) where S:Subscriber, S.Input==Output, S.Failure==Failure {
    |                             `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 36 |             let conduit = DelayedRetry.Conduit(upstream: self.upstream, downstream: subscriber,
 37 |                                                scheduler: self.scheduler, tolerance: self.tolerance, options: self.options,
[29/29] Compiling Conbini Retry.swift
/Users/admin/builder/spi-builder-workspace/sources/runtime/publishers/Retry.swift:35:29: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  6 |     ///
  7 |     /// Please notice that any value sent before a failure is still received downstream.
  8 |     public struct DelayedRetry<Upstream,S>: Publisher where Upstream:Publisher, S:Scheduler {
    |                                         `- note: 'S' previously declared here
  9 |         public typealias Output = Upstream.Output
 10 |         public typealias Failure = Upstream.Failure
    :
 33 |         }
 34 |
 35 |         public func receive<S>(subscriber: S) where S:Subscriber, S.Input==Output, S.Failure==Failure {
    |                             `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 36 |             let conduit = DelayedRetry.Conduit(upstream: self.upstream, downstream: subscriber,
 37 |                                                scheduler: self.scheduler, tolerance: self.tolerance, options: self.options,
Build complete! (14.38s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Conbini",
  "name" : "Conbini",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Conbini",
      "targets" : [
        "Conbini"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ConbiniForTesting",
      "targets" : [
        "ConbiniForTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ConbiniTests",
      "module_type" : "SwiftTarget",
      "name" : "ConbiniTests",
      "path" : "tests/runtime",
      "sources" : [
        "operators/AssignOpTests.swift",
        "operators/AwaitOpTests.swift",
        "operators/DelayedRetryOpTests.swift",
        "operators/HandleEndOpTests.swift",
        "operators/ResultOpTests.swift",
        "operators/ThenOpTests.swift",
        "publishers/DeferredCompleteTests.swift",
        "publishers/DeferredFutureTests.swift",
        "publishers/DeferredPassthroughTests.swift",
        "publishers/DeferredResultTests.swift",
        "publishers/DeferredTryCompleteTests.swift",
        "publishers/DeferredTryValueTests.swift",
        "publishers/DeferredValueTests.swift",
        "subscribers/FixedSinkTests.swift",
        "subscribers/GraduatedSinkTests.swift",
        "utils/BufferTests.swift"
      ],
      "target_dependencies" : [
        "Conbini"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ConbiniForTestingTests",
      "module_type" : "SwiftTarget",
      "name" : "ConbiniForTestingTests",
      "path" : "tests/testing",
      "sources" : [
        "ExpectationsTests.swift"
      ],
      "target_dependencies" : [
        "Conbini",
        "ConbiniForTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ConbiniForTesting",
      "module_type" : "SwiftTarget",
      "name" : "ConbiniForTesting",
      "path" : "sources/testing",
      "product_memberships" : [
        "ConbiniForTesting"
      ],
      "sources" : [
        "Expectations.swift",
        "XCTestCase.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Conbini",
      "module_type" : "SwiftTarget",
      "name" : "Conbini",
      "path" : "sources/runtime",
      "product_memberships" : [
        "Conbini"
      ],
      "sources" : [
        "operators/AssignOp.swift",
        "operators/AwaitOp.swift",
        "operators/HandleEndOp.swift",
        "operators/ResultOp.swift",
        "operators/RetryOp.swift",
        "operators/SinkOp.swift",
        "operators/ThenOp.swift",
        "publishers/DeferredComplete.swift",
        "publishers/DeferredFuture.swift",
        "publishers/DeferredPassthrough.swift",
        "publishers/DeferredResult.swift",
        "publishers/DeferredTryComplete.swift",
        "publishers/DeferredTryValue.swift",
        "publishers/DeferredValue.swift",
        "publishers/HandleEnd.swift",
        "publishers/Retry.swift",
        "publishers/Then.swift",
        "subscribers/FixedSink.swift",
        "subscribers/GraduatedSink.swift",
        "utils/Buffer.swift",
        "utils/Lock.swift",
        "utils/State.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.