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 Degu, reference 0.2.0 (16d23f), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 03:35:15 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/cats-oss/Degu.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cats-oss/Degu
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 16d23f4 Update Degu.podspec
Cloned https://github.com/cats-oss/Degu.git
Revision (git rev-parse @):
16d23f43507ebdf26b81d58ded8fecc3ba0c52a4
SUCCESS checkout https://github.com/cats-oss/Degu.git at 0.2.0
========================================
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": "degu",
      "name": "Degu",
      "url": "https://github.com/cats-oss/Degu.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Degu",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/cats-oss/Degu.git
[4/308] Fetching degu
Fetched https://github.com/cats-oss/Degu.git from cache (0.95s)
Creating working copy for https://github.com/cats-oss/Degu.git
Working copy of https://github.com/cats-oss/Degu.git resolved at 0.2.0 (16d23f4)
warning: '.resolve-product-dependencies': dependency 'degu' 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/cats-oss/Degu.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/3] Write sources
[1/3] Write swift-version--7754E27361AE5C74.txt
[2/9] Compiling RuntimeHandler RuntimeHandler.m
[4/9] Compiling Degu Swizzle.swift
[5/9] Compiling Degu ApplicationProxyDelegate.swift
[6/9] Compiling Degu ViewController.extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Degu/ApplicationProxy.swift:25:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationProxy' may have shared mutable state; this is an error in the Swift 6 language mode
22 | // MARK: - ApplicationProxy
23 |
24 | public final class ApplicationProxy {
   |                    `- note: class 'ApplicationProxy' does not conform to the 'Sendable' protocol
25 |     public static let shared = ApplicationProxy()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationProxy' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |     /// default nil. weak reference
[7/9] Compiling Degu ApplicationProxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Degu/ApplicationProxy.swift:25:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationProxy' may have shared mutable state; this is an error in the Swift 6 language mode
22 | // MARK: - ApplicationProxy
23 |
24 | public final class ApplicationProxy {
   |                    `- note: class 'ApplicationProxy' does not conform to the 'Sendable' protocol
25 |     public static let shared = ApplicationProxy()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationProxy' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |     /// default nil. weak reference
[8/9] Emitting module Degu
/Users/admin/builder/spi-builder-workspace/Sources/Degu/ApplicationProxy.swift:25:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationProxy' may have shared mutable state; this is an error in the Swift 6 language mode
22 | // MARK: - ApplicationProxy
23 |
24 | public final class ApplicationProxy {
   |                    `- note: class 'ApplicationProxy' does not conform to the 'Sendable' protocol
25 |     public static let shared = ApplicationProxy()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationProxy' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |     /// default nil. weak reference
[9/9] Compiling Degu Application.extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Degu/ApplicationProxy.swift:25:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationProxy' may have shared mutable state; this is an error in the Swift 6 language mode
22 | // MARK: - ApplicationProxy
23 |
24 | public final class ApplicationProxy {
   |                    `- note: class 'ApplicationProxy' does not conform to the 'Sendable' protocol
25 |     public static let shared = ApplicationProxy()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationProxy' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |     /// default nil. weak reference
Build complete! (9.65s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Degu",
  "name" : "Degu",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Degu",
      "targets" : [
        "Degu",
        "RuntimeHandler"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RuntimeHandler",
      "module_type" : "ClangTarget",
      "name" : "RuntimeHandler",
      "path" : "Sources/RuntimeHandler",
      "product_memberships" : [
        "Degu"
      ],
      "sources" : [
        "RuntimeHandler.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Degu",
      "module_type" : "SwiftTarget",
      "name" : "Degu",
      "path" : "Sources/Degu",
      "product_memberships" : [
        "Degu"
      ],
      "sources" : [
        "Application.extension.swift",
        "ApplicationProxy.swift",
        "ApplicationProxyDelegate.swift",
        "Swizzle.swift",
        "ViewController.extension.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.