The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-log-datadog, reference main (9ac85e), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 10:12:50 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
Fetching https://github.com/apple/swift-log.git
[1/6565] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.19s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.85s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-log-datadog",
      "name": "swift-log-datadog",
      "url": "https://github.com/jagreenwood/swift-log-datadog.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log-datadog",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.12.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "traits": [
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/jagreenwood/swift-log-datadog.git
[1/295] Fetching swift-log-datadog
Fetched https://github.com/jagreenwood/swift-log-datadog.git from cache (0.67s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.67s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/jagreenwood/swift-log-datadog.git
Working copy of https://github.com/jagreenwood/swift-log-datadog.git resolved at main (9ac85e0)
warning: '.resolve-product-dependencies': dependency 'swift-log-datadog' is not used by any target
Found 1 product dependencies
  - swift-log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/jagreenwood/swift-log-datadog.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/9] Compiling Logging LogHandler.swift
[5/9] Compiling Logging Locks.swift
[6/9] Compiling Logging LogEvent.swift
[7/9] Compiling Logging MetadataProvider.swift
[8/9] Emitting module Logging
[9/9] Compiling Logging Logging.swift
[10/19] Compiling DataDogLog Site.swift
[11/19] Compiling DataDogLog StatusCode.swift
[12/19] Compiling DataDogLog Exports.swift
[13/19] Compiling DataDogLog DataDogLogHandler.swift
/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 [#DeprecatedDeclaration]
 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 [#DeprecatedDeclaration]
 9 |     /// Global metadata. This metadata will be added to every log message
10 |     public var metadata = Logger.Metadata()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 |     ///
144 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
146 |
147 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
254 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
255 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
257 |         self.log(
258 |             level: event.level,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[14/19] Compiling DataDogLog String+Timestamp.swift
[15/19] Compiling DataDogLog Log.swift
[16/19] Compiling DataDogLog Site+URL.swift
[17/19] Compiling DataDogLog Metadata+Format.swift
[18/19] 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
/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 [#DeprecatedDeclaration]
 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 [#DeprecatedDeclaration]
 9 |     /// Global metadata. This metadata will be added to every log message
10 |     public var metadata = Logger.Metadata()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 |     ///
144 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
146 |
147 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
254 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
255 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
257 |         self.log(
258 |             level: event.level,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[19/19] 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
Build complete! (6.88s)
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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/jagreenwood/swift-log-datadog/main
Repository:               jagreenwood/swift-log-datadog
Swift version used:       6.3
Target:                   DataDogLog
Extracting symbol information for 'DataDogLog'...
Finished extracting symbol information for 'DataDogLog'. (26.77s)
Building documentation for 'DataDogLog'...
warning: Parameter 'region' not found in initializer declaration
  --> ../Public/DataDogLogHandler.swift:35:11-35:64
33 |     ///   - key: The DataDog access key
34 |     ///   - hostname: The name of the host sending logs
35 +     ///   - region: The DataDog region to use, defaults to `US`
   |           ╰─suggestion: Remove 'region' parameter documentation
36 |     public init(
37 |         label: String,
warning: Parameter 'site' is missing documentation
  --> ../Public/DataDogLogHandler.swift:35:64-35:64
33 |     ///   - key: The DataDog access key
34 |     ///   - hostname: The name of the host sending logs
35 +     ///   - region: The DataDog region to use, defaults to `US`
   |                                                                ╰─suggestion: Document 'site' parameter
36 |     public init(
37 |         label: String,
Finished building documentation for 'DataDogLog' (0.34s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/jagreenwood/swift-log-datadog/main
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.54s)
[1/2277] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.11s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.79s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (2.46s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.21s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.95s)
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.6
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
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--6988338F2F200930.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit GenericConstraint.swift
[8/57] Compiling SymbolKit GenericParameter.swift
[9/57] Compiling SymbolKit Generics.swift
[10/57] Compiling SymbolKit Namespace.swift
[11/57] Compiling Snippets SnippetParser.swift
[12/57] Compiling Snippets Snippet.swift
[13/57] Emitting module Snippets
[14/57] Compiling SymbolKit Identifier.swift
[15/57] Compiling SymbolKit KindIdentifier.swift
[16/57] Compiling SymbolKit Location.swift
[17/57] Compiling SymbolKit Mutability.swift
[18/57] Compiling SymbolKit DeclarationFragments.swift
[19/57] Compiling SymbolKit Fragment.swift
[20/57] Compiling SymbolKit FragmentKind.swift
[21/57] Compiling SymbolKit FunctionParameter.swift
[22/57] Compiling SymbolKit FunctionSignature.swift
[23/57] Compiling SymbolKit Mixin+Equals.swift
[24/57] Compiling SymbolKit Mixin+Hash.swift
[25/57] Compiling SymbolKit Mixin.swift
[26/57] Compiling SymbolKit LineList.swift
[27/57] Compiling SymbolKit Position.swift
[28/57] Compiling SymbolKit SemanticVersion.swift
[29/57] Compiling SymbolKit AccessControl.swift
[30/57] Compiling SymbolKit Availability.swift
[31/57] Compiling SymbolKit AvailabilityItem.swift
[32/57] Compiling SymbolKit Domain.swift
[33/57] Compiling SymbolKit Names.swift
[34/57] Compiling SymbolKit SPI.swift
[35/57] Compiling SymbolKit Snippet.swift
[36/57] Compiling SymbolKit Extension.swift
[37/57] Compiling SymbolKit Symbol.swift
[38/57] Compiling SymbolKit SymbolKind.swift
[39/57] Compiling SymbolKit SymbolGraph.swift
[40/57] Compiling SymbolKit GraphCollector.swift
[41/57] Compiling SymbolKit SourceRange.swift
[42/57] Compiling SymbolKit Metadata.swift
[43/57] Compiling SymbolKit Module.swift
[44/57] Compiling SymbolKit OperatingSystem.swift
[45/57] Compiling SymbolKit Platform.swift
[46/57] Compiling SymbolKit Relationship.swift
[47/57] Compiling SymbolKit RelationshipKind.swift
[48/57] Compiling SymbolKit SourceOrigin.swift
[49/57] Compiling SymbolKit GenericConstraints.swift
[50/57] Compiling SymbolKit Swift.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.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! (5.92s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
Build of target: 'DataDogLog' complete! (0.26s)
     108
2	/Users/admin/builder/spi-builder-workspace/.docs/jagreenwood/swift-log-datadog/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/jagreenwood/swift-log-datadog/main
File count: 108
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-jagreenwood-swift-log-datadog-main-764b6c20.zip to s3://spi-docs-inbox/prod-jagreenwood-swift-log-datadog-main-764b6c20.zip
Copying... [16%]
Copying... [33%]
Copying... [49%]
Copying... [65%]
Copying... [81%]
Copying... [98%]
Copying... [100%]
Done.