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 WrkstrmLog, reference 0.4.0 (8d7348), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 00:07:01 UTC.

Swift 6 data race errors: 3

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/wrkstrm/WrkstrmLog.git
Reference: 0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wrkstrm/WrkstrmLog
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 8d73481 Update github actions.
Cloned https://github.com/wrkstrm/WrkstrmLog.git
Revision (git rev-parse @):
8d7348152fd668affb270106eb6f1159beb55475
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wrkstrm/WrkstrmLog.git at 0.4.0
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (1.24s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.3
========================================
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": "wrkstrmlog",
      "name": "WrkstrmLog",
      "url": "https://github.com/wrkstrm/WrkstrmLog.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WrkstrmLog",
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.6.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/wrkstrm/WrkstrmLog.git
[1/874] Fetching wrkstrmlog
Fetched https://github.com/wrkstrm/WrkstrmLog.git from cache (0.87s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.98s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/wrkstrm/WrkstrmLog.git
Working copy of https://github.com/wrkstrm/WrkstrmLog.git resolved at 0.4.0 (8d73481)
warning: '.resolve-product-dependencies': dependency 'wrkstrmlog' is not used by any target
Found 1 product dependencies
  - swift-log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wrkstrm/WrkstrmLog.git
https://github.com/wrkstrm/WrkstrmLog.git
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "WrkstrmLog",
  "name" : "WrkstrmLog",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "WrkstrmLog",
      "targets" : [
        "WrkstrmLog"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WrkstrmLogTests",
      "module_type" : "SwiftTarget",
      "name" : "WrkstrmLogTests",
      "path" : "Tests/WrkstrmLogTests",
      "sources" : [
        "WrkstrmLogTests.swift"
      ],
      "target_dependencies" : [
        "WrkstrmLog"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WrkstrmLog",
      "module_type" : "SwiftTarget",
      "name" : "WrkstrmLog",
      "path" : "Sources/WrkstrmLog",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "WrkstrmLog"
      ],
      "sources" : [
        "Level+Emoji.swift",
        "Level+OSLogType.swift",
        "Log+Shared.swift",
        "Log.swift",
        "ProcessInfo+Xcode.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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/8] Compiling Logging MetadataProvider.swift
[5/8] Emitting module Logging
[6/8] Compiling Logging LogHandler.swift
[7/8] Compiling Logging Logging.swift
[8/8] Compiling Logging Locks.swift
[9/14] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[10/14] Compiling WrkstrmLog Log+Shared.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmLog/Log+Shared.swift:11:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |   /// Log.shared.info("Application started")
 10 |   /// ```
 11 |   public static var shared = Log(system: "wrkstrm", category: "shared") {
    |                     |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     didSet {
 13 |       shared.verbose("New Logger: \(shared)")
[11/14] Compiling WrkstrmLog Level+OSLogType.swift
[12/14] Compiling WrkstrmLog Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmLog/Log.swift:52:22: warning: static property 'swiftLoggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 50 |   #endif  // canImport(os)
 51 |
 52 |   private static var swiftLoggers: [Log: Logging.Logger] = [:]
    |                      |- warning: static property 'swiftLoggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'swiftLoggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: add '@MainActor' to make static property 'swiftLoggers' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 53 |
 54 |   #if canImport(os)
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmLog/Log.swift:55:22: warning: static property 'osLoggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 53 |
 54 |   #if canImport(os)
 55 |   private static var osLoggers: [Log: OSLog] = [:]
    |                      |- warning: static property 'osLoggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'osLoggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: add '@MainActor' to make static property 'osLoggers' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |
 57 |   /// Initializes a new Log instance with the specified system, category, and style.
[13/14] Emitting module WrkstrmLog
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmLog/Log+Shared.swift:11:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |   /// Log.shared.info("Application started")
 10 |   /// ```
 11 |   public static var shared = Log(system: "wrkstrm", category: "shared") {
    |                     |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     didSet {
 13 |       shared.verbose("New Logger: \(shared)")
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmLog/Log.swift:52:22: warning: static property 'swiftLoggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 50 |   #endif  // canImport(os)
 51 |
 52 |   private static var swiftLoggers: [Log: Logging.Logger] = [:]
    |                      |- warning: static property 'swiftLoggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'swiftLoggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: add '@MainActor' to make static property 'swiftLoggers' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 53 |
 54 |   #if canImport(os)
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmLog/Log.swift:55:22: warning: static property 'osLoggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 53 |
 54 |   #if canImport(os)
 55 |   private static var osLoggers: [Log: OSLog] = [:]
    |                      |- warning: static property 'osLoggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'osLoggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: add '@MainActor' to make static property 'osLoggers' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |
 57 |   /// Initializes a new Log instance with the specified system, category, and style.
[14/14] Compiling WrkstrmLog Level+Emoji.swift
Build complete! (6.14s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "WrkstrmLog",
  "name" : "WrkstrmLog",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "WrkstrmLog",
      "targets" : [
        "WrkstrmLog"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WrkstrmLogTests",
      "module_type" : "SwiftTarget",
      "name" : "WrkstrmLogTests",
      "path" : "Tests/WrkstrmLogTests",
      "sources" : [
        "WrkstrmLogTests.swift"
      ],
      "target_dependencies" : [
        "WrkstrmLog"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WrkstrmLog",
      "module_type" : "SwiftTarget",
      "name" : "WrkstrmLog",
      "path" : "Sources/WrkstrmLog",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "WrkstrmLog"
      ],
      "sources" : [
        "Level+Emoji.swift",
        "Level+OSLogType.swift",
        "Log+Shared.swift",
        "Log.swift",
        "ProcessInfo+Xcode.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/wrkstrm/wrkstrmlog/0.4.0
Repository:               wrkstrm/WrkstrmLog
Swift version used:       6.1
Target:                   WrkstrmLog
Extracting symbol information for 'WrkstrmLog'...
Finished extracting symbol information for 'WrkstrmLog'. (3.22s)
Building documentation for 'WrkstrmLog'...
warning: Parameter 'string' not found in instance method declaration
   --> Sources/WrkstrmLog/Log.swift:114:9-114:45
112 |   ///
113 |   /// - Parameters:
114 +   ///   - string: The message string to log.
    |         ╰─suggestion: Remove 'string' parameter documentation
115 |   ///   - file: The source file where the log message is generated.
116 |   ///   - function: The name of the function where the log message is generated.
warning: Parameter 'describable' is missing documentation
   --> Sources/WrkstrmLog/Log.swift:119:84-119:84
117 |   ///   - line: The line number in the source file where the log message is generated.
118 |   ///   - column: The column number in the source file where the log message is generated.
119 +   ///   - dso: The address of the shared object where the log message is generated.
120 |   public func verbose(
121 |     _ describable: Any,
warning: Parameter 'string' not found in instance method declaration
   --> Sources/WrkstrmLog/Log.swift:168:9-168:45
166 |   ///
167 |   /// - Parameters:
168 +   ///   - string: The message string to log.
    |         ╰─suggestion: Remove 'string' parameter documentation
169 |   ///   - file: The source file where the log message is generated.
170 |   ///   - function: The name of the function where the log message is generated.
warning: Parameter 'describable' is missing documentation
   --> Sources/WrkstrmLog/Log.swift:173:84-173:84
171 |   ///   - line: The line number in the source file where the log message is generated.
172 |   ///   - column: The column number in the source file where the log message is generated.
173 +   ///   - dso: The address of the shared object where the log message is generated.
174 |   public func error(
175 |     _ describable: Any,
warning: Parameter 'string' not found in instance method declaration
   --> Sources/WrkstrmLog/Log.swift:195:9-195:45
193 |   ///
194 |   /// - Parameters:
195 +   ///   - string: The message string to log.
    |         ╰─suggestion: Remove 'string' parameter documentation
196 |   ///   - file: The source file where the log message is generated.
197 |   ///   - function: The name of the function where the log message is generated.
warning: Parameter 'describable' is missing documentation
   --> Sources/WrkstrmLog/Log.swift:200:84-200:84
198 |   ///   - line: The line number in the source file where the log message is generated.
199 |   ///   - column: The column number in the source file where the log message is generated.
200 +   ///   - dso: The address of the shared object where the log message is generated.
201 |   /// - Returns: Never, indicating a fatal error.
202 |   public func `guard`(
Finished building documentation for 'WrkstrmLog' (0.12s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/wrkstrm/wrkstrmlog/0.4.0
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Updating https://github.com/apple/swift-log.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.44s)
Updated https://github.com/apple/swift-log.git (0.53s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (1.10s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.84s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.43s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/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
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/57] Compiling SymbolKit Relationship.swift
[11/57] Compiling SymbolKit RelationshipKind.swift
[12/57] Compiling SymbolKit SourceOrigin.swift
[13/57] Compiling SymbolKit GenericConstraints.swift
[14/57] Compiling SymbolKit Swift.swift
[15/57] Compiling SymbolKit DeclarationFragments.swift
[16/57] Compiling SymbolKit Fragment.swift
[17/57] Compiling SymbolKit FragmentKind.swift
[18/57] Compiling SymbolKit FunctionParameter.swift
[19/57] Compiling SymbolKit FunctionSignature.swift
[20/57] Compiling SymbolKit Identifier.swift
[21/57] Compiling SymbolKit KindIdentifier.swift
[22/57] Compiling SymbolKit Location.swift
[23/57] Compiling SymbolKit Mutability.swift
[24/57] Compiling SymbolKit Mixin+Equals.swift
[25/57] Compiling SymbolKit Mixin+Hash.swift
[26/57] Compiling SymbolKit Mixin.swift
[27/57] Compiling SymbolKit LineList.swift
[28/57] Compiling SymbolKit Position.swift
[29/57] Emitting module SymbolKit
[30/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[31/57] Compiling SymbolKit UnifiedSymbol.swift
[32/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[33/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[34/57] Compiling SymbolKit SemanticVersion.swift
[35/57] Compiling SymbolKit AccessControl.swift
[36/57] Compiling SymbolKit Availability.swift
[37/57] Compiling SymbolKit AvailabilityItem.swift
[38/57] Compiling SymbolKit Domain.swift
[39/57] Compiling SymbolKit SourceRange.swift
[40/57] Compiling SymbolKit Metadata.swift
[41/57] Compiling SymbolKit Module.swift
[42/57] Compiling SymbolKit OperatingSystem.swift
[43/57] Compiling SymbolKit Platform.swift
[44/57] Compiling SymbolKit Names.swift
[45/57] Compiling SymbolKit SPI.swift
[46/57] Compiling SymbolKit Snippet.swift
[47/57] Compiling SymbolKit Extension.swift
[48/57] Compiling SymbolKit Symbol.swift
[49/57] Compiling SymbolKit SymbolKind.swift
[50/57] Compiling SymbolKit SymbolGraph.swift
[51/57] Compiling SymbolKit GraphCollector.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.86s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling Logging Locks.swift
[3/6] Emitting module Logging
[4/6] Compiling Logging MetadataProvider.swift
[5/6] Compiling Logging LogHandler.swift
[6/6] Compiling Logging Logging.swift
[7/12] Emitting module WrkstrmLog
[8/12] Compiling WrkstrmLog Log+Shared.swift
[9/12] Compiling WrkstrmLog Level+OSLogType.swift
[10/12] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[11/12] Compiling WrkstrmLog Level+Emoji.swift
[12/12] Compiling WrkstrmLog Log.swift
Build of target: 'WrkstrmLog' complete! (1.19s)
     116
2	/Users/admin/builder/spi-builder-workspace/.docs/wrkstrm/wrkstrmlog/0.4.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/wrkstrm/wrkstrmlog/0.4.0
File count: 116
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-wrkstrm-wrkstrmlog-0.4.0-98fed613.zip to s3://spi-docs-inbox/prod-wrkstrm-wrkstrmlog-0.4.0-98fed613.zip
Copying... [17%]
Copying... [33%]
Copying... [50%]
Copying... [67%]
Copying... [83%]
Copying... [100%]
Copying... [100%]
Done.