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.0 for macOS (SPM) on 27 Nov 2024 02:51:24 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/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/3851] Fetching swiftybeaver
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (1.37s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.6 (2.44s)
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.80s)
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (0.55s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.6 (0.02s)
Creating working copy for https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git
Working copy of https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git resolved at master (4fcdab9)
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 1.9.6
warning: '.resolve-product-dependencies': dependency 'sbobjectivecwrapper' is not used by any target
Found 1 product dependencies
  - SwiftyBeaver
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/SwiftyBeaver/SBObjectiveCWrapper.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
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/14] Compiling SwiftyBeaver SBPlatformDestination.swift
[5/15] Compiling SwiftyBeaver GoogleCloudDestination.swift
[6/15] Compiling SwiftyBeaver FilterValidator.swift
[7/15] Compiling SwiftyBeaver FileDestination.swift
[8/15] Compiling SwiftyBeaver ConsoleDestination.swift
[9/15] Compiling SwiftyBeaver BaseDestination.swift
[10/15] Compiling SwiftyBeaver Extensions.swift
[11/15] Compiling SwiftyBeaver AES256CBC.swift
[12/15] Compiling SwiftyBeaver Base64.swift
[13/15] Emitting module SwiftyBeaver
[14/15] Compiling SwiftyBeaver Filter.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: annotate 'logClass' 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
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: annotate 'logClass' 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
31 |
32 |     @objc open class func logVerbose(_ message: String, filePath: String, function: String, line: Int) {
Build complete! (17.14s)
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.