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 SBObjectiveCWrapper, reference master (4fcdab), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 03:05:29 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftyBeaver/SBObjectiveCWrapper
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4fcdab9 new 1.5.0 release
Submodule path 'lib/SwiftyBeaver': checked out 'ad66cc41c5d8acbd63d9dcdc9d3609f152e08ed1'
Submodule 'lib/SwiftyBeaver' (https://github.com/SwiftyBeaver/SwiftyBeaver.git) registered for path 'lib/SwiftyBeaver'
Cloning into '/Users/admin/builder/spi-builder-workspace/lib/SwiftyBeaver'...
Cloned https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git
Revision (git rev-parse @):
4fcdab9198d5ee513b082d59d7b24651b5ae0977
SUCCESS checkout https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git at master
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
[1/4052] Fetching swiftybeaver
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (1.15s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.6 (1.83s)
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 1.9.6
========================================
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": "sbobjectivecwrapper",
      "name": "SBObjectiveCWrapper",
      "url": "https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SBObjectiveCWrapper",
      "dependencies": [
        {
          "identity": "swiftybeaver",
          "name": "SwiftyBeaver",
          "url": "https://github.com/SwiftyBeaver/SwiftyBeaver.git",
          "version": "1.9.6",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyBeaver",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git
[1/365] Fetching sbobjectivecwrapper
Fetched https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git from cache (0.68s)
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (0.51s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.6 (0.57s)
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 1.9.6
Creating working copy for https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git
Working copy of https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git resolved at master (4fcdab9)
warning: '.resolve-product-dependencies': dependency 'sbobjectivecwrapper' is not used by any target
Found 1 product dependencies
  - SwiftyBeaver
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git
https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git
{
  "dependencies" : [
    {
      "identity" : "swiftybeaver",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftyBeaver/SwiftyBeaver.git"
    }
  ],
  "manifest_display_name" : "SBObjectiveCWrapper",
  "name" : "SBObjectiveCWrapper",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SBObjectiveCWrapper",
      "targets" : [
        "SBObjectiveCWrapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SBObjectiveCWrapper",
      "module_type" : "SwiftTarget",
      "name" : "SBObjectiveCWrapper",
      "path" : "Sources",
      "product_dependencies" : [
        "SwiftyBeaver"
      ],
      "product_memberships" : [
        "SBObjectiveCWrapper"
      ],
      "sources" : [
        "SBObjectiveCWrapper.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[4/14] Compiling SwiftyBeaver Filter.swift
[5/14] Compiling SwiftyBeaver Extensions.swift
[6/14] Emitting module SwiftyBeaver
[7/14] Compiling SwiftyBeaver FilterValidator.swift
[8/14] Compiling SwiftyBeaver GoogleCloudDestination.swift
[9/14] Compiling SwiftyBeaver ConsoleDestination.swift
[10/14] Compiling SwiftyBeaver SBPlatformDestination.swift
[11/14] Compiling SwiftyBeaver AES256CBC.swift
[12/14] Compiling SwiftyBeaver Base64.swift
[13/14] Compiling SwiftyBeaver BaseDestination.swift
[14/15] Compiling SwiftyBeaver FileDestination.swift
[15/15] Compiling SwiftyBeaver SwiftyBeaver.swift
[16/17] Emitting module SBObjectiveCWrapper
/Users/admin/builder/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:30:16: warning: static property 'logClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |     }
29 |
30 |     static var logClass: Loggable.Type = SwiftyBeaver.self
   |                |- warning: static property 'logClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'logClass' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'logClass' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 |     @objc open class func logVerbose(_ message: String, filePath: String, function: String, line: Int) {
[17/17] Compiling SBObjectiveCWrapper SBObjectiveCWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:30:16: warning: static property 'logClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |     }
29 |
30 |     static var logClass: Loggable.Type = SwiftyBeaver.self
   |                |- warning: static property 'logClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'logClass' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'logClass' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 |     @objc open class func logVerbose(_ message: String, filePath: String, function: String, line: Int) {
Build complete! (8.24s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftybeaver",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftyBeaver/SwiftyBeaver.git"
    }
  ],
  "manifest_display_name" : "SBObjectiveCWrapper",
  "name" : "SBObjectiveCWrapper",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SBObjectiveCWrapper",
      "targets" : [
        "SBObjectiveCWrapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SBObjectiveCWrapper",
      "module_type" : "SwiftTarget",
      "name" : "SBObjectiveCWrapper",
      "path" : "Sources",
      "product_dependencies" : [
        "SwiftyBeaver"
      ],
      "product_memberships" : [
        "SBObjectiveCWrapper"
      ],
      "sources" : [
        "SBObjectiveCWrapper.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.