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.0 for macOS (SPM) on 1 Dec 2024 06:30:15 UTC.

Swift 6 data race errors: 3

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.1
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
[1/3723] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.54s)
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.2",
          "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 (1.10s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.49s)
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.2
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.0
Building package at path:  $PWD
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.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/8] Compiling Logging MetadataProvider.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Compiling Logging Locks.swift
[7/8] Emitting module Logging
[8/8] Compiling Logging Logging.swift
[9/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: annotate 'shared' 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
 12 |     didSet {
 13 |       shared.verbose("New Logger: \(shared)")
[10/14] Compiling WrkstrmLog Level+Emoji.swift
[11/14] Compiling WrkstrmLog Level+OSLogType.swift
[12/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: annotate 'shared' 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
 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: annotate 'swiftLoggers' 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
 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: annotate 'osLoggers' 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
 56 |
 57 |   /// Initializes a new Log instance with the specified system, category, and style.
[13/14] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[14/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: annotate 'swiftLoggers' 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
 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: annotate 'osLoggers' 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
 56 |
 57 |   /// Initializes a new Log instance with the specified system, category, and style.
Build complete! (8.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.0
Target:                   WrkstrmLog
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'WrkstrmLog'...
Finished extracting symbol information for 'WrkstrmLog'. (3.17s)
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
Updating https://github.com/apple/swift-log.git
Updated https://github.com/apple/swift-log.git (0.50s)
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.25s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.54s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3188] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.28s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.56s)
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
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
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Identifier.swift
[8/57] Compiling SymbolKit KindIdentifier.swift
[9/57] Compiling SymbolKit Location.swift
[10/57] Compiling SymbolKit Mutability.swift
[11/57] Compiling SymbolKit GenericConstraint.swift
[12/57] Compiling SymbolKit GenericParameter.swift
[13/57] Compiling SymbolKit Generics.swift
[14/57] Compiling SymbolKit Namespace.swift
[15/57] Compiling SymbolKit Relationship.swift
[16/57] Compiling SymbolKit RelationshipKind.swift
[17/57] Compiling SymbolKit SourceOrigin.swift
[18/57] Compiling SymbolKit GenericConstraints.swift
[19/57] Compiling SymbolKit Swift.swift
[20/57] Compiling SymbolKit DeclarationFragments.swift
[21/57] Compiling SymbolKit Fragment.swift
[22/57] Compiling SymbolKit FragmentKind.swift
[23/57] Compiling SymbolKit FunctionParameter.swift
[24/57] Compiling SymbolKit FunctionSignature.swift
[25/57] Compiling SymbolKit Symbol.swift
[26/57] Compiling SymbolKit SymbolKind.swift
[27/57] Compiling SymbolKit SymbolGraph.swift
[28/57] Compiling SymbolKit GraphCollector.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.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 Names.swift
[40/57] Compiling SymbolKit SPI.swift
[41/57] Compiling SymbolKit Snippet.swift
[42/57] Compiling SymbolKit Extension.swift
[43/57] Compiling SymbolKit Mixin+Equals.swift
[44/57] Compiling SymbolKit Mixin+Hash.swift
[45/57] Compiling SymbolKit Mixin.swift
[46/57] Compiling SymbolKit LineList.swift
[47/57] Compiling SymbolKit Position.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] Emitting module Snippets
[53/57] Compiling Snippets SnippetParser.swift
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.73s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/6] Compiling Logging MetadataProvider.swift
[3/6] Compiling Logging LogHandler.swift
[4/6] Compiling Logging Locks.swift
[5/6] Compiling Logging Logging.swift
[6/6] Emitting module Logging
[7/12] Compiling WrkstrmLog Level+OSLogType.swift
[8/12] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[9/12] Compiling WrkstrmLog Level+Emoji.swift
[10/12] Compiling WrkstrmLog Log.swift
[11/12] Compiling WrkstrmLog Log+Shared.swift
[12/12] Emitting module WrkstrmLog
Build of target: 'WrkstrmLog' complete! (1.06s)
     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-9a50b18c.zip to s3://spi-docs-inbox/prod-wrkstrm-wrkstrmlog-0.4.0-9a50b18c.zip
Copying... [17%]
Copying... [33%]
Copying... [50%]
Copying... [66%]
Copying... [83%]
Copying... [100%]
Copying... [100%]
Done.