The Swift Package Index logo.Swift Package Index

Build Information

Successful build of WledLib, reference main (35dffc), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 19:03:08 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sqrt0b1000/WledLib.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sqrt0b1000/WledLib
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 35dffc2 Add ip-address frield to info struct
Cloned https://github.com/sqrt0b1000/WledLib.git
Revision (git rev-parse @):
35dffc22f913f4341a83f9dd76de650813d93316
SUCCESS checkout https://github.com/sqrt0b1000/WledLib.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sqrt0b1000/WledLib.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Compiling Logging Locks.swift
[6/8] Emitting module Logging
[7/8] Compiling Logging Logging.swift
[8/8] Compiling Logging LogHandler.swift
[9/33] Emitting module WledLib
[10/35] Compiling WledLib WledStateExtension.swift
[11/35] Compiling WledLib WledHTTPGet.swift
[12/35] Compiling WledLib WledHTTPPost.swift
[13/35] Compiling WledLib DeviceExtension.swift
[14/35] Compiling WledLib PresetsExtension.swift
[15/35] Compiling WledLib SuccessMessageExtension.swift
[16/35] Compiling WledLib WledHostURL.swift
[17/35] Compiling WledLib WledHostWebSocket.swift
[18/35] Compiling WledLib Connection.swift
[19/35] Compiling WledLib ConnectionSheme.swift
[20/35] Compiling WledLib WledHTTPResponse.swift
[21/35] Compiling WledLib WledWebSocketData.swift
[22/35] Compiling WledLib Presets.swift
[23/35] Compiling WledLib Segment.swift
[24/35] Compiling WledLib State.swift
[25/35] Compiling WledLib Leds.swift
[26/35] Compiling WledLib Nightlight.swift
[27/35] Compiling WledLib Preset.swift
[28/35] Compiling WledLib WledHost.swift
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:74:28: warning: capture of non-sendable type 'Self.Type' in an isolated closure
 72 |                 return
 73 |             }
 74 |             if let error = validateResponse(response: response) {
    |                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
 75 |                 handleError(error)
 76 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:53:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
 51 |     }
 52 |
 53 |     public func get<G: WledHttGet>(
    |                 `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
 54 |         handleData: @escaping (_ data: G) -> Void = {_ in},
 55 |         handleError: @escaping (_ error: Error) -> Void = {_ in}
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:84:46: warning: capture of non-sendable type 'G.Type' in an isolated closure
 82 |
 83 |             do {
 84 |                 let data = try JSONDecoder().decode(G.self, from: data)
    |                                              `- warning: capture of non-sendable type 'G.Type' in an isolated closure
 85 |                 #if DEBUG
 86 |                 WledHostConstants.LOGGER.debug("Data got: \(String(reflecting: data))")
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:54:9: warning: capture of non-sendable type 'G.Type' in an isolated closure
 52 |
 53 |     public func get<G: WledHttGet>(
 54 |         handleData: @escaping (_ data: G) -> Void = {_ in},
    |         `- warning: capture of non-sendable type 'G.Type' in an isolated closure
 55 |         handleError: @escaping (_ error: Error) -> Void = {_ in}
 56 |     ) throws {
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:132:28: warning: capture of non-sendable type 'Self.Type' in an isolated closure
130 |                 return
131 |             }
132 |             if let error = validateResponse(response: response) {
    |                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
133 |                 handleError(error)
134 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:102:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
100 |     }
101 |
102 |     public func send<S: WledHTTPPost, R: WledHTTPResponse>(
    |                 `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
103 |         data: S,
104 |         encoder: JSONEncoder = JSONEncoder(),
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:141:46: warning: capture of non-sendable type 'R.Type' in an isolated closure
139 |             }
140 |             do {
141 |                 let data = try JSONDecoder().decode(R.self, from: data)
    |                                              `- warning: capture of non-sendable type 'R.Type' in an isolated closure
142 |                 #if DEBUG
143 |                 WledHostConstants.LOGGER.debug("Respond received: \(String(reflecting: data))")
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:105:9: warning: capture of non-sendable type 'R.Type' in an isolated closure
103 |         data: S,
104 |         encoder: JSONEncoder = JSONEncoder(),
105 |         handleData: @escaping (_ data: R) -> Void = {_ in},
    |         `- warning: capture of non-sendable type 'R.Type' in an isolated closure
106 |         handleError: @escaping (_ error: Error) -> Void = {_ in}
107 |     ) throws {
[29/35] Compiling WledLib WledHostHTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:74:28: warning: capture of non-sendable type 'Self.Type' in an isolated closure
 72 |                 return
 73 |             }
 74 |             if let error = validateResponse(response: response) {
    |                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
 75 |                 handleError(error)
 76 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:53:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
 51 |     }
 52 |
 53 |     public func get<G: WledHttGet>(
    |                 `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
 54 |         handleData: @escaping (_ data: G) -> Void = {_ in},
 55 |         handleError: @escaping (_ error: Error) -> Void = {_ in}
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:84:46: warning: capture of non-sendable type 'G.Type' in an isolated closure
 82 |
 83 |             do {
 84 |                 let data = try JSONDecoder().decode(G.self, from: data)
    |                                              `- warning: capture of non-sendable type 'G.Type' in an isolated closure
 85 |                 #if DEBUG
 86 |                 WledHostConstants.LOGGER.debug("Data got: \(String(reflecting: data))")
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:54:9: warning: capture of non-sendable type 'G.Type' in an isolated closure
 52 |
 53 |     public func get<G: WledHttGet>(
 54 |         handleData: @escaping (_ data: G) -> Void = {_ in},
    |         `- warning: capture of non-sendable type 'G.Type' in an isolated closure
 55 |         handleError: @escaping (_ error: Error) -> Void = {_ in}
 56 |     ) throws {
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:132:28: warning: capture of non-sendable type 'Self.Type' in an isolated closure
130 |                 return
131 |             }
132 |             if let error = validateResponse(response: response) {
    |                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
133 |                 handleError(error)
134 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:102:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
100 |     }
101 |
102 |     public func send<S: WledHTTPPost, R: WledHTTPResponse>(
    |                 `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
103 |         data: S,
104 |         encoder: JSONEncoder = JSONEncoder(),
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:141:46: warning: capture of non-sendable type 'R.Type' in an isolated closure
139 |             }
140 |             do {
141 |                 let data = try JSONDecoder().decode(R.self, from: data)
    |                                              `- warning: capture of non-sendable type 'R.Type' in an isolated closure
142 |                 #if DEBUG
143 |                 WledHostConstants.LOGGER.debug("Respond received: \(String(reflecting: data))")
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:105:9: warning: capture of non-sendable type 'R.Type' in an isolated closure
103 |         data: S,
104 |         encoder: JSONEncoder = JSONEncoder(),
105 |         handleData: @escaping (_ data: R) -> Void = {_ in},
    |         `- warning: capture of non-sendable type 'R.Type' in an isolated closure
106 |         handleError: @escaping (_ error: Error) -> Void = {_ in}
107 |     ) throws {
[30/35] Compiling WledLib Device.swift
[31/35] Compiling WledLib FileSystem.swift
[32/35] Compiling WledLib Info.swift
[33/35] Compiling WledLib SuccessMessage.swift
[34/35] Compiling WledLib Wifi.swift
[35/35] Compiling WledLib DiscoveryService.swift
Build complete! (8.62s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.10s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.52s)
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.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "WledLib",
  "name" : "WledLib",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "WledLib",
      "targets" : [
        "WledLib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WledLib",
      "module_type" : "SwiftTarget",
      "name" : "WledLib",
      "path" : "Sources/WledLib",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "WledLib"
      ],
      "sources" : [
        "DataStructs/Device.swift",
        "DataStructs/FileSystem.swift",
        "DataStructs/Info.swift",
        "DataStructs/Leds.swift",
        "DataStructs/Nightlight.swift",
        "DataStructs/Preset.swift",
        "DataStructs/Presets.swift",
        "DataStructs/Segment.swift",
        "DataStructs/State.swift",
        "DataStructs/SuccessMessage.swift",
        "DataStructs/Wifi.swift",
        "Discovery/DiscoveryService.swift",
        "ProtocolExtensions/DeviceExtension.swift",
        "ProtocolExtensions/PresetsExtension.swift",
        "ProtocolExtensions/SuccessMessageExtension.swift",
        "ProtocolExtensions/WledStateExtension.swift",
        "Protocols/WledHTTPGet.swift",
        "Protocols/WledHTTPPost.swift",
        "Protocols/WledHTTPResponse.swift",
        "UpdateProtocols/WledWebSocketData.swift",
        "WledHost/Connection.swift",
        "WledHost/ConnectionSheme.swift",
        "WledHost/WledHost.swift",
        "WledHost/WledHostHTTP.swift",
        "WledHost/WledHostURL.swift",
        "WledHost/WledHostWebSocket.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.