The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-influxdb-telemetry, reference main (9639bc), with Swift 6.4 for macOS (SPM) on 22 Sep 2026 20:18:01 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/dankinsoid/swift-influxdb-telemetry.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankinsoid/swift-influxdb-telemetry
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9639bcd writer
Cloned https://github.com/dankinsoid/swift-influxdb-telemetry.git
Revision (git rev-parse @):
9639bcd93a0ee8d5bf82c4794191b712c72055c1
SUCCESS checkout https://github.com/dankinsoid/swift-influxdb-telemetry.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/dankinsoid/swift-influxdb-telemetry.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 657]
[Planning deferred tasks]
[116 / 254]
[126 / 261] system-zlib
[130 / 270]
[135 / 275]
[141 / 298]
[152 / 328]
[166 / 329] _AtomicsShims
[171 / 329] Gzip
[187 / 381]
[188 / 381]
[197 / 381]
[198 / 381] Atomics
[208 / 381]
[223 / 381] Atomics
[229 / 381] Logging
[242 / 381] Logging
[257 / 383]
[259 / 383] CoreMetrics
[267 / 392] Tracing
[271 / 392] Tracing
[284 / 412] Tracing
[289 / 412]
[295 / 412]
[297 / 412]
[301 / 412]
[303 / 412]
[313 / 412] Gzip
[315 / 412]
[330 / 412] CSV
[332 / 412] CSV
[343 / 412] Metrics
[353 / 412]
[357 / 413] CSV
[357 / 413] Gzip
[370 / 424] InfluxDBSwift
[372 / 424] InfluxDBSwift
[379 / 425] InfluxDBSwift
[379 / 425] SwiftInfluxDBCore
[388 / 432] InfluxDBSwift
[388 / 432] SwiftInfluxDBCore
[398 / 436] SwiftInfluxDBCore
[400 / 436] InfluxDBTracing
[411 / 452] InfluxDBMetrics
[440 / 452] InfluxDBAnalytics
[445 / 452] InfluxDBLogs
[452 / 452] InfluxDBTracing-product
Build complete! (10.94 sec)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/dankinsoid/swift-analytics.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/influxdata/influxdb-client-swift.git
[1/1875] Fetching swift-atomics
[20/5391] Fetching swift-atomics, swift-metrics
[21/11711] Fetching swift-atomics, swift-metrics, swift-distributed-tracing
[41/12012] Fetching swift-atomics, swift-metrics, swift-distributed-tracing, swift-analytics
[333/20160] Fetching swift-atomics, swift-metrics, swift-distributed-tracing, swift-analytics, swift-log
[646/23991] Fetching swift-atomics, swift-metrics, swift-distributed-tracing, swift-analytics, swift-log, influxdb-client-swift
Fetched https://github.com/apple/swift-metrics.git (1.43s)
Fetched https://github.com/apple/swift-log.git (1.43s)
Fetched https://github.com/dankinsoid/swift-analytics.git (1.45s)
Fetched https://github.com/apple/swift-distributed-tracing.git (1.45s)
[5592/5706] Fetching swift-atomics, influxdb-client-swift
Fetched https://github.com/apple/swift-atomics.git (1.45s)
[3755/3831] Fetching influxdb-client-swift
Fetched https://github.com/influxdata/influxdb-client-swift.git (1.52s)
Computing version for https://github.com/influxdata/influxdb-client-swift.git
Computed https://github.com/influxdata/influxdb-client-swift.git at 1.7.0 (4.33s)
Fetching https://github.com/yaslab/CSV.swift
Fetching https://github.com/1024jp/GzipSwift
[1/1833] Fetching csv.swift
[20/3595] Fetching csv.swift, gzipswift
Fetched https://github.com/1024jp/GzipSwift (1.08s)
Fetched https://github.com/yaslab/CSV.swift (1.08s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.2.0 (1.77s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.58s)
Computing version for https://github.com/yaslab/CSV.swift
Computed https://github.com/yaslab/CSV.swift at 2.5.2 (0.65s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.63s)
Fetching https://github.com/apple/swift-service-context.git
[1/1364] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (1.51s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (2.15s)
Computing version for https://github.com/dankinsoid/swift-analytics.git
Computed https://github.com/dankinsoid/swift-analytics.git at 1.11.1 (0.57s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.60s)
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
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Creating working copy for https://github.com/yaslab/CSV.swift
Working copy of https://github.com/yaslab/CSV.swift resolved at 2.5.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/influxdata/influxdb-client-swift.git
Working copy of https://github.com/influxdata/influxdb-client-swift.git resolved at 1.7.0
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 5.2.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.0
Creating working copy for https://github.com/dankinsoid/swift-analytics.git
Working copy of https://github.com/dankinsoid/swift-analytics.git resolved at 1.11.1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftInfluxDBCore/NIOLockedValueBox.swift:5:6: warning: stored property '_storage' of 'Sendable'-conforming generic struct 'NIOLockedValueBox' has non-Sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
 3 |
 4 | 	@usableFromInline
 5 | 	let _storage: LockStorage<Value>
   |      `- warning: stored property '_storage' of 'Sendable'-conforming generic struct 'NIOLockedValueBox' has non-Sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
 6 |
 7 | 	/// Initialize the `Value`.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftInfluxDBCore/NIOLock.swift:111:13: note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
109 | /// See also: https://github.com/apple/swift/pull/40000
110 | @usableFromInline
111 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
    |             `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
112 |
113 | 	@inlinable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftInfluxDBCore/NIOLock.swift:165:35: warning: 'LockStorage<Value>' inherits an unavailable 'Sendable' conformance; conforming here risks data races [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unavailable-sendable-conformance\UnavailableSendableConformance]8;;\]
109 | /// See also: https://github.com/apple/swift/pull/40000
110 | @usableFromInline
111 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
    |             `- note: 'LockStorage<Value>' inherits unavailable conformance to protocol 'Sendable' from superclass here
112 |
113 | 	@inlinable
    :
163 | }
164 |
165 | extension LockStorage: @unchecked Sendable {}
    |                                   `- warning: 'LockStorage<Value>' inherits an unavailable 'Sendable' conformance; conforming here risks data races [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unavailable-sendable-conformance\UnavailableSendableConformance]8;;\]
166 |
167 | /// A threading lock based on `libpthread` instead of `libdispatch`.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftInfluxDBCore/NIOLock.swift:177:6: warning: stored property '_storage' of 'Sendable'-conforming struct 'NIOLock' has non-Sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
109 | /// See also: https://github.com/apple/swift/pull/40000
110 | @usableFromInline
111 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
    |             `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
112 |
113 | 	@inlinable
    :
175 | struct NIOLock {
176 | 	@usableFromInline
177 | 	let _storage: LockStorage<Void>
    |      `- warning: stored property '_storage' of 'Sendable'-conforming struct 'NIOLock' has non-Sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
178 |
179 | 	/// Create a new lock.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftInfluxDBCore/NIOLockedValueBox.swift:5:6: warning: stored property '_storage' of 'Sendable'-conforming generic struct 'NIOLockedValueBox' has non-Sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
 3 |
 4 | 	@usableFromInline
 5 | 	let _storage: LockStorage<Value>
   |      `- warning: stored property '_storage' of 'Sendable'-conforming generic struct 'NIOLockedValueBox' has non-Sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
 6 |
 7 | 	/// Initialize the `Value`.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftInfluxDBCore/NIOLock.swift:111:13: note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
109 | /// See also: https://github.com/apple/swift/pull/40000
110 | @usableFromInline
111 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
    |             `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
112 |
113 | 	@inlinable
[#UnavailableSendableConformance]: <https://docs.swift.org/compiler/documentation/diagnostics/unavailable-sendable-conformance>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftInfluxDBCore/NIOLock.swift:165:35: warning: 'LockStorage<Value>' inherits an unavailable 'Sendable' conformance; conforming here risks data races [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unavailable-sendable-conformance\UnavailableSendableConformance]8;;\]
109 | /// See also: https://github.com/apple/swift/pull/40000
110 | @usableFromInline
111 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
    |             `- note: 'LockStorage<Value>' inherits unavailable conformance to protocol 'Sendable' from superclass here
112 |
113 | 	@inlinable
    :
163 | }
164 |
165 | extension LockStorage: @unchecked Sendable {}
    |                                   `- warning: 'LockStorage<Value>' inherits an unavailable 'Sendable' conformance; conforming here risks data races [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unavailable-sendable-conformance\UnavailableSendableConformance]8;;\]
166 |
167 | /// A threading lock based on `libpthread` instead of `libdispatch`.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftInfluxDBCore/NIOLock.swift:177:6: warning: stored property '_storage' of 'Sendable'-conforming struct 'NIOLock' has non-Sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
109 | /// See also: https://github.com/apple/swift/pull/40000
110 | @usableFromInline
111 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
    |             `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
112 |
113 | 	@inlinable
    :
175 | struct NIOLock {
176 | 	@usableFromInline
177 | 	let _storage: LockStorage<Void>
    |      `- warning: stored property '_storage' of 'Sendable'-conforming struct 'NIOLock' has non-Sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
178 |
179 | 	/// Create a new lock.
[#UnavailableSendableConformance]: <https://docs.swift.org/compiler/documentation/diagnostics/unavailable-sendable-conformance>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftInfluxDBCore/SwiftInfluxAPI.swift:299:6: 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;;\]
297 | 				while !Task.isCancelled {
298 | 					let j = i
299 | 					Task { [weak self] in
    |      |- 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
300 | 						try await self?.writeTimerPoints(
301 | 							date: Date(timeIntervalSince1970: offset + Double(j) * interval),
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBLogs/SwiftInfluxDBLogs.swift:29: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;;\]
 27 | /// }
 28 | /// ```
 29 | public struct InfluxDBLogHandler: LogHandler {
    |               `- 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;;\]
 30 |
 31 | 	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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/InfluxDBLogs/SwiftInfluxDBLogs.swift:29: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;;\]
 27 | /// }
 28 | /// ```
 29 | public struct InfluxDBLogHandler: LogHandler {
    |               `- 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;;\]
 30 |
 31 | 	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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "influxdb-client-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/influxdata/influxdb-client-swift.git"
    },
    {
      "identity" : "swift-metrics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-metrics.git"
    },
    {
      "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"
    },
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "swift-analytics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dankinsoid/swift-analytics.git"
    },
    {
      "identity" : "swift-distributed-tracing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-distributed-tracing.git"
    }
  ],
  "manifest_display_name" : "swift-influxdb-telemetry",
  "name" : "swift-influxdb-telemetry",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "InfluxDBLogs",
      "targets" : [
        "InfluxDBLogs"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "InfluxDBMetrics",
      "targets" : [
        "InfluxDBMetrics"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "InfluxDBAnalytics",
      "targets" : [
        "InfluxDBAnalytics"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "InfluxDBTracing",
      "targets" : [
        "InfluxDBTracing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftInfluxDBCore",
      "module_type" : "SwiftTarget",
      "name" : "SwiftInfluxDBCore",
      "path" : "Sources/SwiftInfluxDBCore",
      "product_dependencies" : [
        "InfluxDBSwift",
        "Logging"
      ],
      "product_memberships" : [
        "InfluxDBLogs",
        "InfluxDBMetrics",
        "InfluxDBAnalytics",
        "InfluxDBTracing"
      ],
      "sources" : [
        "InfluxDBPointsWriter.swift",
        "IntervalType.swift",
        "LabelsSet.swift",
        "NIOLock.swift",
        "NIOLockedValueBox.swift",
        "SwiftInfluxAPI.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InfluxDBTracing",
      "module_type" : "SwiftTarget",
      "name" : "InfluxDBTracing",
      "path" : "Sources/InfluxDBTracing",
      "product_dependencies" : [
        "Tracing",
        "Instrumentation"
      ],
      "product_memberships" : [
        "InfluxDBTracing"
      ],
      "sources" : [
        "InfluxDBTracing.swift"
      ],
      "target_dependencies" : [
        "SwiftInfluxDBCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InfluxDBMetrics",
      "module_type" : "SwiftTarget",
      "name" : "InfluxDBMetrics",
      "path" : "Sources/InfluxDBMetrics",
      "product_dependencies" : [
        "Metrics",
        "Atomics"
      ],
      "product_memberships" : [
        "InfluxDBMetrics"
      ],
      "sources" : [
        "Counter.swift",
        "FloatingCounter.swift",
        "HandlerID.swift",
        "InfluxMetric.swift",
        "InfluxMetricHandler.swift",
        "MetricIdentifyingPolicy.swift",
        "Recorder.swift",
        "SwiftInfluxDBMetrics.swift",
        "Timer.swift"
      ],
      "target_dependencies" : [
        "SwiftInfluxDBCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InfluxDBLogs",
      "module_type" : "SwiftTarget",
      "name" : "InfluxDBLogs",
      "path" : "Sources/InfluxDBLogs",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "InfluxDBLogs"
      ],
      "sources" : [
        "SwiftInfluxDBLogs.swift"
      ],
      "target_dependencies" : [
        "SwiftInfluxDBCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InfluxDBAnalytics",
      "module_type" : "SwiftTarget",
      "name" : "InfluxDBAnalytics",
      "path" : "Sources/InfluxDBAnalytics",
      "product_dependencies" : [
        "SwiftAnalytics"
      ],
      "product_memberships" : [
        "InfluxDBAnalytics"
      ],
      "sources" : [
        "SwiftInfluxDBAnalytics.swift"
      ],
      "target_dependencies" : [
        "SwiftInfluxDBCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.