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 EnumKit, reference master (ae639d), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 01:33:43 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/gringoireDM/EnumKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gringoireDM/EnumKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ae639df Merge pull request #6 from gringoireDM/add_label_compare
Cloned https://github.com/gringoireDM/EnumKit.git
Revision (git rev-parse @):
ae639dfac5c7116abb64c5f62124915f627140e4
SUCCESS checkout https://github.com/gringoireDM/EnumKit.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": "enumkit",
      "name": "EnumKit",
      "url": "https://github.com/gringoireDM/EnumKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EnumKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/gringoireDM/EnumKit.git
[4/319] Fetching enumkit
Fetched https://github.com/gringoireDM/EnumKit.git from cache (0.85s)
Creating working copy for https://github.com/gringoireDM/EnumKit.git
Working copy of https://github.com/gringoireDM/EnumKit.git resolved at master (ae639df)
warning: '.resolve-product-dependencies': dependency 'enumkit' 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/gringoireDM/EnumKit.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 EnumKit Combine+CaseAccessible.swift
[4/7] Compiling EnumKit Sequence+CaseAccessible.swift
[5/7] Emitting module EnumKit
[6/7] Compiling EnumKit CapturePublisher.swift
[7/7] Compiling EnumKit CaseAccessible.swift
/Users/admin/builder/spi-builder-workspace/Sources/EnumKit/Core/CaseAccessible.swift:23:23: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 21 |         var root = self
 22 |         var `case` = `case`
 23 |         return memcmp(&root, &`case`, MemoryLayout<Self>.size) == 0 || root.label == `case`.label
    |                       `- warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 24 |     }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/EnumKit/Core/CaseAccessible.swift:23:30: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 21 |         var root = self
 22 |         var `case` = `case`
 23 |         return memcmp(&root, &`case`, MemoryLayout<Self>.size) == 0 || root.label == `case`.label
    |                              `- warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 24 |     }
 25 |
Build complete! (6.44s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "EnumKit",
  "name" : "EnumKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "EnumKit",
      "targets" : [
        "EnumKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EnumKitTests",
      "module_type" : "SwiftTarget",
      "name" : "EnumKitTests",
      "path" : "Tests/EnumKitTests",
      "sources" : [
        "CaseAccessibleExtractionTests.swift",
        "CaseAccessibleLabelsTests.swift",
        "CaseAccessibleMatchingTests.swift",
        "CaseAccessiblePatternExtractionTests.swift",
        "CaseAccessibleSequenceTests.swift",
        "CaseAccessibleUpdateTests.swift",
        "CombineCaptureTests.swift",
        "CombineExcludeTests.swift",
        "CombineFilterTests.swift",
        "CombineMapTests.swift",
        "Mocks/MockCaseAccessible.swift",
        "Mocks/RecordingObserver.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "EnumKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EnumKit",
      "module_type" : "SwiftTarget",
      "name" : "EnumKit",
      "path" : "Sources/EnumKit",
      "product_memberships" : [
        "EnumKit"
      ],
      "sources" : [
        "Core/CaseAccessible.swift",
        "Extensions/CapturePublisher.swift",
        "Extensions/Combine+CaseAccessible.swift",
        "Extensions/Sequence+CaseAccessible.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.