The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-log-datadog, reference main (9ac85e), with Swift 6.4 for macOS (SPM) on 21 Sep 2026 14:21:37 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jagreenwood/swift-log-datadog.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jagreenwood/swift-log-datadog
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/jagreenwood/swift-log-datadog.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 96]
[Planning deferred tasks]
[25 / 42]
[26 / 43] Logging
[35 / 70]
[39 / 70]
[41 / 70]
[42 / 70]
[53 / 70] Logging
[54 / 70] Logging
[60 / 71] Logging
[62 / 71] DataDogLog
[69 / 99]
[71 / 99]
[74 / 99]
[77 / 99]
[79 / 99]
[80 / 99]
[90 / 99] DataDogLog
[96 / 99] DataDogLog
Build complete! (8.41 sec)
Fetching https://github.com/apple/swift-log.git
[1/8132] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (1.72s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (2.36s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
/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
/Users/admin/builder/spi-builder-workspace/Sources/DataDogLog/Public/DataDogLogHandler.swift:8:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 6 |
 7 | /// A log handler designed to send logs to DataDog
 8 | public struct DataDogLogHandler: LogHandler, Sendable {
   |               `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 9 |     /// Global metadata. This metadata will be added to every log message
10 |     public var metadata = Logger.Metadata()
Logging.LogHandler.log:3:15: note: 'log(event:)' declared here
1 | protocol LogHandler {
2 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
3 |   public func log(event: Logging.LogEvent)}
  |               `- note: 'log(event:)' declared here
4 |
Logging.LogHandler.log:2:6: note: requirement 'log(event:)' declared here
1 | protocol LogHandler {
2 | func log(event: Logging.LogEvent)}
  |      `- note: requirement 'log(event:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DataDogLog/Public/DataDogLogHandler.swift:81:9: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
79 |         )
80 |
81 |         Task {
   |         |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
   |         `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
82 |             let statusCode = try await networkClient.send(log, key: key, site: site)
83 |             if !statusCode.success {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
/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
/Users/admin/builder/spi-builder-workspace/Sources/DataDogLog/Public/DataDogLogHandler.swift:8:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 6 |
 7 | /// A log handler designed to send logs to DataDog
 8 | public struct DataDogLogHandler: LogHandler, Sendable {
   |               `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 9 |     /// Global metadata. This metadata will be added to every log message
10 |     public var metadata = Logger.Metadata()
Logging.LogHandler.log:3:15: note: 'log(event:)' declared here
1 | protocol LogHandler {
2 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
3 |   public func log(event: Logging.LogEvent)}
  |               `- note: 'log(event:)' declared here
4 |
Logging.LogHandler.log:2:6: note: requirement 'log(event:)' declared here
1 | protocol LogHandler {
2 | func log(event: Logging.LogEvent)}
  |      `- note: requirement 'log(event:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DataDogLog/Public/DataDogLogHandler.swift:81:9: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
79 |         )
80 |
81 |         Task {
   |         |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
   |         `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
82 |             let statusCode = try await networkClient.send(log, key: key, site: site)
83 |             if !statusCode.success {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
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.