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 swift-log-datadog, reference 1.0.2 (9ac85e), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 01:45:15 UTC.

Swift 6 data race errors: 0

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jagreenwood/swift-log-datadog.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jagreenwood/swift-log-datadog
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at 9ac85e0 Improved Swift 6 handling (#11)
Cloned https://github.com/jagreenwood/swift-log-datadog.git
Revision (git rev-parse @):
9ac85e039cd1dfbb6422812b364100d5162a0c92
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jagreenwood/swift-log-datadog.git at 1.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jagreenwood/swift-log-datadog.git
https://github.com/jagreenwood/swift-log-datadog.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" : "swift-log-datadog",
  "name" : "swift-log-datadog",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "DataDogLog",
      "targets" : [
        "DataDogLog"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "DataDogLogTests",
      "module_type" : "SwiftTarget",
      "name" : "DataDogLogTests",
      "path" : "Tests/DataDogLogTests",
      "sources" : [
        "DataDogLogTests.swift"
      ],
      "target_dependencies" : [
        "DataDogLog"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataDogLog",
      "module_type" : "SwiftTarget",
      "name" : "DataDogLog",
      "path" : "Sources/DataDogLog",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "DataDogLog"
      ],
      "sources" : [
        "Internal/Extensions/Metadata+Format.swift",
        "Internal/Extensions/Site+URL.swift",
        "Internal/Extensions/String+Timestamp.swift",
        "Internal/Log.swift",
        "Internal/NetworkClient.swift",
        "Internal/StatusCode.swift",
        "Public/DataDogLogHandler.swift",
        "Public/Exports.swift",
        "Public/Site.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Emitting module Logging
[7/8] Compiling Logging Logging.swift
[8/8] Compiling Logging Locks.swift
[9/18] Compiling DataDogLog DataDogLogHandler.swift
[10/18] Compiling DataDogLog StatusCode.swift
[11/18] Compiling DataDogLog Log.swift
[12/18] Compiling DataDogLog Site.swift
[13/18] Compiling DataDogLog Exports.swift
[14/18] Compiling DataDogLog Metadata+Format.swift
[15/18] Compiling DataDogLog Site+URL.swift
[16/18] Compiling DataDogLog NetworkClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataDogLog/Internal/NetworkClient.swift:15:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
13 | #endif
14 |
15 | extension String: Error {}
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
16 |
17 | @usableFromInline
[17/18] Compiling DataDogLog String+Timestamp.swift
[18/18] Emitting module DataDogLog
/Users/admin/builder/spi-builder-workspace/Sources/DataDogLog/Internal/NetworkClient.swift:15:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
13 | #endif
14 |
15 | extension String: Error {}
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
16 |
17 | @usableFromInline
Build complete! (8.25s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.11s)
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
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" : "swift-log-datadog",
  "name" : "swift-log-datadog",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "DataDogLog",
      "targets" : [
        "DataDogLog"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "DataDogLogTests",
      "module_type" : "SwiftTarget",
      "name" : "DataDogLogTests",
      "path" : "Tests/DataDogLogTests",
      "sources" : [
        "DataDogLogTests.swift"
      ],
      "target_dependencies" : [
        "DataDogLog"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataDogLog",
      "module_type" : "SwiftTarget",
      "name" : "DataDogLog",
      "path" : "Sources/DataDogLog",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "DataDogLog"
      ],
      "sources" : [
        "Internal/Extensions/Metadata+Format.swift",
        "Internal/Extensions/Site+URL.swift",
        "Internal/Extensions/String+Timestamp.swift",
        "Internal/Log.swift",
        "Internal/NetworkClient.swift",
        "Internal/StatusCode.swift",
        "Public/DataDogLogHandler.swift",
        "Public/Exports.swift",
        "Public/Site.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.