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 Lithium, reference v9.0.5 (0ebe10), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 01:25:51 UTC.

Swift 6 data race errors: 0

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/e-sites/Lithium.git
Reference: v9.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/e-sites/Lithium
 * tag               v9.0.5     -> FETCH_HEAD
HEAD is now at 0ebe10f Swift-versions
Cloned https://github.com/e-sites/Lithium.git
Revision (git rev-parse @):
0ebe10fb24251fdc6ef2b4efcd4f8fd137de1323
SUCCESS checkout https://github.com/e-sites/Lithium.git at v9.0.5
Fetching https://github.com/apple/swift-log.git
[1/3660] 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.3.0 (0.65s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git 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": "lithium",
      "name": "Lithium",
      "url": "https://github.com/e-sites/Lithium.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Lithium",
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.6.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/e-sites/Lithium.git
[1/304] Fetching lithium
Fetched https://github.com/e-sites/Lithium.git from cache (0.70s)
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.1 (0.48s)
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.1
Creating working copy for https://github.com/e-sites/Lithium.git
Working copy of https://github.com/e-sites/Lithium.git resolved at v9.0.5 (0ebe10f)
warning: '.resolve-product-dependencies': dependency 'lithium' 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/e-sites/Lithium.git
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/7] Compiling Logging LogHandler.swift
[5/7] Compiling Logging Locks.swift
[6/7] Emitting module Logging
[7/7] Compiling Logging Logging.swift
[8/14] Compiling Lithium LogTheme.swift
[9/14] Compiling Lithium DefaultLogTheme.swift
[10/14] Compiling Lithium EmojiLogTheme.swift
[11/14] Compiling Lithium LithiumLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/LithiumLogger.swift:16:15: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
 14 | @available(tvOS 10.0, *)
 15 | @available(watchOS 3.0, *)
 16 | public struct LithiumLogger: LogHandler {
    |               `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
 17 |     public var logLevel: Logger.Level = .trace
 18 |     public var theme: LogTheme = DefaultLogTheme()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:168:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
127 |     ///     - function: The function the log line was emitted from.
128 |     ///     - line: The line the log message was emitted from.
129 |     func log(level: Logger.Level,
    |          `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
130 |              message: Logger.Message,
131 |              metadata: Logger.Metadata?,
    :
166 | extension LogHandler {
167 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
168 |     public func log(level: Logger.Level,
    |                 `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
169 |                     message: Logger.Message,
170 |                     metadata: Logger.Metadata?,
[12/14] Emitting module Lithium
/Users/admin/builder/spi-builder-workspace/Sources/LithiumLogger.swift:16:15: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
 14 | @available(tvOS 10.0, *)
 15 | @available(watchOS 3.0, *)
 16 | public struct LithiumLogger: LogHandler {
    |               `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
 17 |     public var logLevel: Logger.Level = .trace
 18 |     public var theme: LogTheme = DefaultLogTheme()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:168:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
127 |     ///     - function: The function the log line was emitted from.
128 |     ///     - line: The line the log message was emitted from.
129 |     func log(level: Logger.Level,
    |          `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
130 |              message: Logger.Message,
131 |              metadata: Logger.Metadata?,
    :
166 | extension LogHandler {
167 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
168 |     public func log(level: Logger.Level,
    |                 `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
169 |                     message: Logger.Message,
170 |                     metadata: Logger.Metadata?,
[13/14] Compiling Lithium LogFormatter.swift
[14/14] Compiling Lithium LogStyle.swift
Build complete! (8.15s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "Lithium",
  "name" : "Lithium",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Lithium",
      "targets" : [
        "Lithium"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Lithium",
      "module_type" : "SwiftTarget",
      "name" : "Lithium",
      "path" : "Sources",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "Lithium"
      ],
      "sources" : [
        "LithiumLogger.swift",
        "Styling/LogFormatter.swift",
        "Styling/LogStyle.swift",
        "Styling/LogTheme.swift",
        "Themes/DefaultLogTheme.swift",
        "Themes/EmojiLogTheme.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.