This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 TriforkSwiftLogger with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/trifork/TriforkSwiftLogger.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/trifork/TriforkSwiftLogger
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 20e1a1c Removed unused os.logs
Cloned https://github.com/trifork/TriforkSwiftLogger.git
Revision (git rev-parse @):
20e1a1cc17e9d2659a7e6a1a283dd5aab64ea3cd
SUCCESS checkout https://github.com/trifork/TriforkSwiftLogger.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/trifork/TriforkSwiftLogger.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/8] Compiling TriforkSwiftLogger OSLoggerConfig.swift
[4/8] Compiling TriforkSwiftLogger LogLevel.swift
[5/8] Emitting module TriforkSwiftLogger
/Users/admin/builder/spi-builder-workspace/Sources/TriforkSwiftLogger/OSLogger.swift:50:24: warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | private extension OSLog {
50 |     private static var subsystem = Bundle.main.bundleIdentifier ?? "<missing bundleId>"
   |                        |- warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'subsystem' 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
51 |
52 |     static func log(category: String) -> OSLog {
[6/8] Compiling TriforkSwiftLogger OSLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/TriforkSwiftLogger/OSLogger.swift:50:24: warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | private extension OSLog {
50 |     private static var subsystem = Bundle.main.bundleIdentifier ?? "<missing bundleId>"
   |                        |- warning: static property 'subsystem' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'subsystem' 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
51 |
52 |     static func log(category: String) -> OSLog {
[7/8] Compiling TriforkSwiftLogger MultiLogger.swift
[8/8] Compiling TriforkSwiftLogger Logger.swift
Build complete! (19.47s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TriforkSwiftLogger",
  "name" : "TriforkSwiftLogger",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "TriforkSwiftLogger",
      "targets" : [
        "TriforkSwiftLogger"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TriforkSwiftLoggerTests",
      "module_type" : "SwiftTarget",
      "name" : "TriforkSwiftLoggerTests",
      "path" : "Tests/TriforkSwiftLoggerTests",
      "sources" : [
        "LogLevelTests.swift",
        "MultiLoggerTests.swift",
        "OSLoggerTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "TriforkSwiftLogger"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TriforkSwiftLogger",
      "module_type" : "SwiftTarget",
      "name" : "TriforkSwiftLogger",
      "path" : "Sources/TriforkSwiftLogger",
      "product_memberships" : [
        "TriforkSwiftLogger"
      ],
      "sources" : [
        "LogLevel.swift",
        "Logger.swift",
        "MultiLogger.swift",
        "OSLogger.swift",
        "OSLoggerConfig.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.