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 BlackBox, reference 4.0.2 (0e0d63), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 07:42:48 UTC.

Swift 6 data race errors: 0

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dodobrands/BlackBox.git
Reference: 4.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dodobrands/BlackBox
 * tag               4.0.2      -> FETCH_HEAD
HEAD is now at 0e0d638 Swift 6 language mode (#78)
Cloned https://github.com/dodobrands/BlackBox.git
Revision (git rev-parse @):
0e0d638d5c23a60110f3d63f82e932b62b2eecaa
SUCCESS checkout https://github.com/dodobrands/BlackBox.git at 4.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dodobrands/BlackBox.git
https://github.com/dodobrands/BlackBox.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "dbthreadsafe-ios",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dodobrands/DBThreadSafe-ios.git"
    }
  ],
  "manifest_display_name" : "BlackBox",
  "name" : "BlackBox",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "BlackBox",
      "targets" : [
        "BlackBox"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "ExampleModule",
      "module_type" : "SwiftTarget",
      "name" : "ExampleModule",
      "path" : "Sources/ExampleModule",
      "sources" : [
        "ExampleService.swift"
      ],
      "target_dependencies" : [
        "BlackBox"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BlackBoxTests",
      "module_type" : "SwiftTarget",
      "name" : "BlackBoxTests",
      "path" : "Tests/BlackBoxTests",
      "sources" : [
        "BackwardsCompatibilityTests.swift",
        "BlackBoxEndEventTests.swift",
        "BlackBoxErrorEventTests.swift",
        "BlackBoxGenericEventTests.swift",
        "BlackBoxStartEventTests.swift",
        "BlackBoxTestCase.swift",
        "Helpers/AnakinKills.swift",
        "Helpers/Lightsaber.swift",
        "LoggerMock.swift",
        "OSLoggerTests.swift",
        "OSSignpostLoggerTests.swift"
      ],
      "target_dependencies" : [
        "BlackBox",
        "ExampleModule"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BlackBox",
      "module_type" : "SwiftTarget",
      "name" : "BlackBox",
      "path" : "Sources/BlackBox",
      "product_dependencies" : [
        "DBThreadSafe"
      ],
      "product_memberships" : [
        "BlackBox"
      ],
      "sources" : [
        "BBLogFormat.swift",
        "BBLogLevel.swift",
        "BBLoggerProtocol.swift",
        "BlackBox.swift",
        "BlackBoxEvents.swift",
        "Helpers/BBHelpers.swift",
        "Loggers/FSLogger.swift",
        "Loggers/OSLogger.swift",
        "Loggers/OSSignpostLogger.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/6] Write sources
[5/6] Write swift-version-2F0A5646E1D333AE.txt
[7/9] Compiling DBThreadSafe DBThreadSafeContainer.swift
[8/9] Emitting module DBThreadSafe
[9/9] Compiling DBThreadSafe Lock.swift
[10/19] Compiling BlackBox FSLogger.swift
[11/19] Compiling BlackBox BlackBoxEvents.swift
[12/19] Compiling BlackBox BBLoggerProtocol.swift
[13/19] Compiling BlackBox BlackBox.swift
[14/19] Compiling BlackBox BBLogFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlackBox/BBLogFormat.swift:95:14: warning: 'levelsWithIcons' is deprecated: Use levelsIcons
 93 |         self.userInfoFormatOptions = userInfoFormatOptions
 94 |         self.sourceSectionInline = sourceSectionInline
 95 |         self.levelsWithIcons = levelsWithIcons
    |              `- warning: 'levelsWithIcons' is deprecated: Use levelsIcons
 96 |         self.levelsIcons = levelsIcons
 97 |         self.measurementFormatter = measurementFormatter
/Users/admin/builder/spi-builder-workspace/Sources/BlackBox/BBLogFormat.swift:104:12: warning: 'levelsWithIcons' is deprecated: Use levelsIcons
102 | extension BBLogFormat {
103 |     public func icon(for level: BBLogLevel) -> String? {
104 |         if levelsWithIcons.contains(level) {
    |            `- warning: 'levelsWithIcons' is deprecated: Use levelsIcons
105 |             return level.icon
106 |         } else if let icon = levelsIcons.icon(for: level) {
/Users/admin/builder/spi-builder-workspace/Sources/BlackBox/BBLogFormat.swift:105:26: warning: 'icon' is deprecated: Use BBLogFormat.Icons
103 |     public func icon(for level: BBLogLevel) -> String? {
104 |         if levelsWithIcons.contains(level) {
105 |             return level.icon
    |                          `- warning: 'icon' is deprecated: Use BBLogFormat.Icons
106 |         } else if let icon = levelsIcons.icon(for: level) {
107 |             return icon
[15/19] Emitting module BlackBox
[16/19] Compiling BlackBox OSSignpostLogger.swift
[17/19] Compiling BlackBox BBHelpers.swift
[18/19] Compiling BlackBox OSLogger.swift
[19/19] Compiling BlackBox BBLogLevel.swift
[20/21] Emitting module ExampleModule
[21/21] Compiling ExampleModule ExampleService.swift
Build complete! (22.17s)
Fetching https://github.com/dodobrands/DBThreadSafe-ios.git
Fetching https://github.com/apple/swift-docc-plugin
[1/217] Fetching dbthreadsafe-ios
[123/2266] Fetching dbthreadsafe-ios, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.10s)
Fetched https://github.com/dodobrands/DBThreadSafe-ios.git from cache (1.10s)
Computing version for https://github.com/dodobrands/DBThreadSafe-ios.git
Computed https://github.com/dodobrands/DBThreadSafe-ios.git at 2.2.0 (1.56s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.92s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.72s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.37s)
Creating working copy for https://github.com/dodobrands/DBThreadSafe-ios.git
Working copy of https://github.com/dodobrands/DBThreadSafe-ios.git resolved at 2.2.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "dbthreadsafe-ios",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dodobrands/DBThreadSafe-ios.git"
    }
  ],
  "manifest_display_name" : "BlackBox",
  "name" : "BlackBox",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "BlackBox",
      "targets" : [
        "BlackBox"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "ExampleModule",
      "module_type" : "SwiftTarget",
      "name" : "ExampleModule",
      "path" : "Sources/ExampleModule",
      "sources" : [
        "ExampleService.swift"
      ],
      "target_dependencies" : [
        "BlackBox"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BlackBoxTests",
      "module_type" : "SwiftTarget",
      "name" : "BlackBoxTests",
      "path" : "Tests/BlackBoxTests",
      "sources" : [
        "BackwardsCompatibilityTests.swift",
        "BlackBoxEndEventTests.swift",
        "BlackBoxErrorEventTests.swift",
        "BlackBoxGenericEventTests.swift",
        "BlackBoxStartEventTests.swift",
        "BlackBoxTestCase.swift",
        "Helpers/AnakinKills.swift",
        "Helpers/Lightsaber.swift",
        "LoggerMock.swift",
        "OSLoggerTests.swift",
        "OSSignpostLoggerTests.swift"
      ],
      "target_dependencies" : [
        "BlackBox",
        "ExampleModule"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BlackBox",
      "module_type" : "SwiftTarget",
      "name" : "BlackBox",
      "path" : "Sources/BlackBox",
      "product_dependencies" : [
        "DBThreadSafe"
      ],
      "product_memberships" : [
        "BlackBox"
      ],
      "sources" : [
        "BBLogFormat.swift",
        "BBLogLevel.swift",
        "BBLoggerProtocol.swift",
        "BlackBox.swift",
        "BlackBoxEvents.swift",
        "Helpers/BBHelpers.swift",
        "Loggers/FSLogger.swift",
        "Loggers/OSLogger.swift",
        "Loggers/OSSignpostLogger.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.