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 Gluey, reference master (c4912c), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 23:00:23 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jadengeller/gluey.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jadengeller/gluey
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c4912ca Merge pull request #1 from MaxDesiatov/master
Cloned https://github.com/jadengeller/gluey.git
Revision (git rev-parse @):
c4912cafda002810fa301ae9dd5e888327451dc8
SUCCESS checkout https://github.com/jadengeller/gluey.git at master
========================================
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": "gluey",
      "name": "Gluey",
      "url": "https://github.com/jadengeller/gluey.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/gluey",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jadengeller/gluey.git
[1/462] Fetching gluey
Fetched https://github.com/jadengeller/gluey.git from cache (0.90s)
Creating working copy for https://github.com/jadengeller/gluey.git
Working copy of https://github.com/jadengeller/gluey.git resolved at master (c4912ca)
warning: '.resolve-product-dependencies': dependency 'gluey' 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/jadengeller/gluey.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 -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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/10] Compiling Gluey UnificationError.swift
[4/10] Compiling Gluey UnifiableType.swift
[5/10] Compiling Gluey Glue.swift
[6/10] Compiling Gluey DriedGlue.swift
[7/10] Compiling Gluey ContextCopyable.swift
[8/10] Compiling Gluey Binding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Gluey/Binding.swift:90:27: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 11 | /// Note that this element may be set to `nil` to indicate that no
 12 | /// value has been determined.
 13 | public final class Binding<Element: Equatable> {
    |                            `- note: 'Element' previously declared here
 14 |     /// The shared state.
 15 |     internal var glue: Glue<Element> {
    :
 88 | extension Binding: Equatable {
 89 | // Reference identity
 90 |     public static func ==<Element>(lhs: Binding<Element>, rhs: Binding<Element>) -> Bool {
    |                           `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 91 |         return lhs === rhs
 92 |     }
[9/10] Emitting module Gluey
/Users/admin/builder/spi-builder-workspace/Sources/Gluey/Binding.swift:90:27: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 11 | /// Note that this element may be set to `nil` to indicate that no
 12 | /// value has been determined.
 13 | public final class Binding<Element: Equatable> {
    |                            `- note: 'Element' previously declared here
 14 |     /// The shared state.
 15 |     internal var glue: Glue<Element> {
    :
 88 | extension Binding: Equatable {
 89 | // Reference identity
 90 |     public static func ==<Element>(lhs: Binding<Element>, rhs: Binding<Element>) -> Bool {
    |                           `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 91 |         return lhs === rhs
 92 |     }
[10/10] Compiling Gluey Unifiable.swift
Build complete! (3.31s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Gluey",
  "name" : "Gluey",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Gluey",
      "targets" : [
        "Gluey"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GlueyTests",
      "module_type" : "SwiftTarget",
      "name" : "GlueyTests",
      "path" : "Sources/GlueyTests",
      "sources" : [
        "GlueyTests.swift"
      ],
      "target_dependencies" : [
        "Gluey"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Gluey",
      "module_type" : "SwiftTarget",
      "name" : "Gluey",
      "path" : "Sources/Gluey",
      "product_memberships" : [
        "Gluey"
      ],
      "sources" : [
        "Binding.swift",
        "ContextCopyable.swift",
        "DriedGlue.swift",
        "Glue.swift",
        "Unifiable.swift",
        "UnifiableType.swift",
        "UnificationError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.