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 main (fac456), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 00:07:10 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wrkstrm/WrkstrmLog
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fac4567 Update Log.swift
Cloned https://github.com/wrkstrm/WrkstrmLog.git
Revision (git rev-parse @):
fac4567913a6645d6069c96c168eefe3ac53494b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wrkstrm/WrkstrmLog.git at main
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-log.git from cache
[1/2049] Fetching swift-docc-plugin
[227/5426] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (1.25s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.25s)
Fetched https://github.com/apple/swift-log.git from cache (1.26s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (1.89s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.59s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.62s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
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
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
========================================
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.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.97s)
Creating working copy for https://github.com/wrkstrm/WrkstrmLog.git
Working copy of https://github.com/wrkstrm/WrkstrmLog.git resolved at main (fac4567)
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
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-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/10] Compiling Logging MetadataProvider.swift
[7/10] Compiling Logging LogHandler.swift
[8/10] Emitting module Logging
[9/10] Compiling Logging Locks.swift
[10/10] Compiling Logging Logging.swift
[11/16] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[12/16] 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: [Self: 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: [Self: 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/16] Compiling WrkstrmLog Level+OSLogType.swift
[14/16] 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: [Self: 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: [Self: 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.
[15/16] Compiling WrkstrmLog Level+Emoji.swift
[16/16] 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)")
Build complete! (15.32s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "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/main
Repository:               wrkstrm/WrkstrmLog
Swift version used:       6.1
    .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.1.0"),
Target:                   WrkstrmLog
Generating documentation for 'WrkstrmLog'...
Converting documentation...
warning: Parameter 'string' not found in instance method declaration
   --> ../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
   --> ../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
   --> ../Log.swift:170:9-170:45
168 |   ///
169 |   /// - Parameters:
170 +   ///   - string: The message string to log.
    |         ╰─suggestion: Remove 'string' parameter documentation
171 |   ///   - file: The source file where the log message is generated.
172 |   ///   - function: The name of the function where the log message is generated.
warning: Parameter 'describable' is missing documentation
   --> ../Log.swift:175:84-175:84
173 |   ///   - line: The line number in the source file where the log message is generated.
174 |   ///   - column: The column number in the source file where the log message is generated.
175 +   ///   - dso: The address of the shared object where the log message is generated.
176 |   public func error(
177 |     _ describable: Any,
warning: Parameter 'string' not found in instance method declaration
   --> ../Log.swift:198:9-198:45
196 |   ///
197 |   /// - Parameters:
198 +   ///   - string: The message string to log.
    |         ╰─suggestion: Remove 'string' parameter documentation
199 |   ///   - file: The source file where the log message is generated.
200 |   ///   - function: The name of the function where the log message is generated.
warning: Parameter 'describable' is missing documentation
   --> ../Log.swift:203:84-203:84
201 |   ///   - line: The line number in the source file where the log message is generated.
202 |   ///   - column: The column number in the source file where the log message is generated.
203 +   ///   - dso: The address of the shared object where the log message is generated.
204 |   /// - Returns: Never, indicating a fatal error.
205 |   public func `guard`(
Conversion complete! (0.12s)
Generated DocC archive at '/Users/admin/builder/spi-builder-workspace/.docs/wrkstrm/wrkstrmlog/main'
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Symbol.swift
[8/57] Compiling SymbolKit SymbolKind.swift
[9/57] Compiling SymbolKit SymbolGraph.swift
[10/57] Compiling SymbolKit GraphCollector.swift
[11/57] Compiling SymbolKit SourceRange.swift
[12/57] Compiling SymbolKit Metadata.swift
[13/57] Compiling SymbolKit Module.swift
[14/57] Compiling SymbolKit OperatingSystem.swift
[15/57] Compiling SymbolKit Platform.swift
[16/57] Compiling SymbolKit GenericConstraint.swift
[17/57] Compiling SymbolKit GenericParameter.swift
[18/57] Compiling SymbolKit Generics.swift
[19/57] Compiling SymbolKit Namespace.swift
[20/57] Compiling SymbolKit Relationship.swift
[21/57] Compiling SymbolKit RelationshipKind.swift
[22/57] Compiling SymbolKit SourceOrigin.swift
[23/57] Compiling SymbolKit GenericConstraints.swift
[24/57] Compiling SymbolKit Swift.swift
[25/57] Compiling SymbolKit Mixin+Equals.swift
[26/57] Compiling SymbolKit Mixin+Hash.swift
[27/57] Compiling SymbolKit Mixin.swift
[28/57] Compiling SymbolKit LineList.swift
[29/57] Compiling SymbolKit Position.swift
[30/57] Compiling SymbolKit Names.swift
[31/57] Compiling SymbolKit SPI.swift
[32/57] Compiling SymbolKit Snippet.swift
[33/57] Compiling SymbolKit Extension.swift
[34/57] Compiling SymbolKit Identifier.swift
[35/57] Compiling SymbolKit KindIdentifier.swift
[36/57] Compiling SymbolKit Location.swift
[37/57] Compiling SymbolKit Mutability.swift
[38/57] Compiling SymbolKit DeclarationFragments.swift
[39/57] Compiling SymbolKit Fragment.swift
[40/57] Compiling SymbolKit FragmentKind.swift
[41/57] Compiling SymbolKit FunctionParameter.swift
[42/57] Compiling SymbolKit FunctionSignature.swift
[43/57] Compiling SymbolKit SemanticVersion.swift
[44/57] Compiling SymbolKit AccessControl.swift
[45/57] Compiling SymbolKit Availability.swift
[46/57] Compiling SymbolKit AvailabilityItem.swift
[47/57] Compiling SymbolKit Domain.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Emitting module snippet_extract
[57/61] Compiling snippet_extract URL+Status.swift
[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.64s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling Logging MetadataProvider.swift
[3/6] Compiling Logging LogHandler.swift
[4/6] Compiling Logging Locks.swift
[5/6] Emitting module Logging
[6/6] Compiling Logging Logging.swift
[7/12] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[8/12] Compiling WrkstrmLog Level+OSLogType.swift
[9/12] Compiling WrkstrmLog Log+Shared.swift
[10/12] Emitting module WrkstrmLog
[11/12] Compiling WrkstrmLog Log.swift
[12/12] Compiling WrkstrmLog Level+Emoji.swift
Build of target: 'WrkstrmLog' complete! (1.25s)
     118
2	/Users/admin/builder/spi-builder-workspace/.docs/wrkstrm/wrkstrmlog/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/wrkstrm/wrkstrmlog/main
File count: 118
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-wrkstrm-wrkstrmlog-main-cd0db2cc.zip to s3://spi-docs-inbox/prod-wrkstrm-wrkstrmlog-main-cd0db2cc.zip
Copying... [16%]
Copying... [33%]
Copying... [49%]
Copying... [65%]
Copying... [81%]
Copying... [98%]
Copying... [100%]
Done.