The Swift Package Index logo.Swift Package Index

Build Information

Successful build of WledLib, reference 0.2.0 (e42b59), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 19:03:01 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: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sqrt0b1000/WledLib
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at e42b59b Add minimum iOS version
Cloned https://github.com/sqrt0b1000/WledLib.git
Revision (git rev-parse @):
e42b59bac33cef222b44e56671bd9b9bf8fcde66
SUCCESS checkout https://github.com/sqrt0b1000/WledLib.git at 0.2.0
========================================
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 LogHandler.swift
[6/8] Emitting module Logging
[7/8] Compiling Logging Locks.swift
[8/8] Compiling Logging Logging.swift
[9/32] Compiling WledLib SuccessMessage.swift
[10/32] Compiling WledLib Wifi.swift
[11/32] Compiling WledLib DeviceExtension.swift
[12/32] Compiling WledLib WledHTTPGet.swift
[13/32] Compiling WledLib WledHTTPPost.swift
[14/34] Compiling WledLib Connection.swift
[15/34] Compiling WledLib ConnectionSheme.swift
[16/34] Compiling WledLib PresetsExtension.swift
[17/34] Compiling WledLib SuccessMessageExtension.swift
[18/34] Compiling WledLib WledStateExtension.swift
[19/34] Compiling WledLib Presets.swift
[20/34] Compiling WledLib Segment.swift
[21/34] Compiling WledLib State.swift
[22/34] Emitting module WledLib
[23/34] Compiling WledLib Device.swift
[24/34] Compiling WledLib FileSystem.swift
[25/34] Compiling WledLib Info.swift
[26/34] Compiling WledLib Leds.swift
[27/34] Compiling WledLib Nightlight.swift
[28/34] Compiling WledLib Preset.swift
[29/34] Compiling WledLib WledHTTPResponse.swift
[30/34] Compiling WledLib WledWebSocketData.swift
[31/34] Compiling WledLib WledHost.swift
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:63:28: warning: capture of non-sendable type 'Self.Type' in an isolated closure
 61 |                 return
 62 |             }
 63 |             if let error = validateResponse(response: response) {
    |                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
 64 |                 handleError(error)
 65 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:46:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
 44 |     }
 45 |
 46 |     public func get<G: WledHttGet>(
    |                 `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
 47 |         handleData: @escaping (_ data: G) -> Void = {_ in},
 48 |         handleError: @escaping (_ error: Error) -> Void = {_ in}
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:73:46: warning: capture of non-sendable type 'G.Type' in an isolated closure
 71 |
 72 |             do {
 73 |                 let data = try JSONDecoder().decode(G.self, from: data)
    |                                              `- warning: capture of non-sendable type 'G.Type' in an isolated closure
 74 |                 handleData(data)
 75 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:47:9: warning: capture of non-sendable type 'G.Type' in an isolated closure
 45 |
 46 |     public func get<G: WledHttGet>(
 47 |         handleData: @escaping (_ data: G) -> Void = {_ in},
    |         `- warning: capture of non-sendable type 'G.Type' in an isolated closure
 48 |         handleError: @escaping (_ error: Error) -> Void = {_ in}
 49 |     ) throws {
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:108:28: warning: capture of non-sendable type 'Self.Type' in an isolated closure
106 |                 return
107 |             }
108 |             if let error = validateResponse(response: response) {
    |                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
109 |                 handleError(error)
110 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:83:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
 81 |     }
 82 |
 83 |     public func send<S: WledHTTPPost, R: WledHTTPResponse>(
    |                 `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
 84 |         data: S,
 85 |         encoder: JSONEncoder = JSONEncoder(),
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:117:46: warning: capture of non-sendable type 'R.Type' in an isolated closure
115 |             }
116 |             do {
117 |                 let data = try JSONDecoder().decode(R.self, from: data)
    |                                              `- warning: capture of non-sendable type 'R.Type' in an isolated closure
118 |                 handleData(data)
119 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:86:9: warning: capture of non-sendable type 'R.Type' in an isolated closure
 84 |         data: S,
 85 |         encoder: JSONEncoder = JSONEncoder(),
 86 |         handleData: @escaping (_ data: R) -> Void = {_ in},
    |         `- warning: capture of non-sendable type 'R.Type' in an isolated closure
 87 |         handleError: @escaping (_ error: Error) -> Void = {_ in}
 88 |     ) throws {
[32/34] Compiling WledLib WledHostHTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:63:28: warning: capture of non-sendable type 'Self.Type' in an isolated closure
 61 |                 return
 62 |             }
 63 |             if let error = validateResponse(response: response) {
    |                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
 64 |                 handleError(error)
 65 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:46:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
 44 |     }
 45 |
 46 |     public func get<G: WledHttGet>(
    |                 `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
 47 |         handleData: @escaping (_ data: G) -> Void = {_ in},
 48 |         handleError: @escaping (_ error: Error) -> Void = {_ in}
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:73:46: warning: capture of non-sendable type 'G.Type' in an isolated closure
 71 |
 72 |             do {
 73 |                 let data = try JSONDecoder().decode(G.self, from: data)
    |                                              `- warning: capture of non-sendable type 'G.Type' in an isolated closure
 74 |                 handleData(data)
 75 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:47:9: warning: capture of non-sendable type 'G.Type' in an isolated closure
 45 |
 46 |     public func get<G: WledHttGet>(
 47 |         handleData: @escaping (_ data: G) -> Void = {_ in},
    |         `- warning: capture of non-sendable type 'G.Type' in an isolated closure
 48 |         handleError: @escaping (_ error: Error) -> Void = {_ in}
 49 |     ) throws {
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:108:28: warning: capture of non-sendable type 'Self.Type' in an isolated closure
106 |                 return
107 |             }
108 |             if let error = validateResponse(response: response) {
    |                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
109 |                 handleError(error)
110 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:83:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
 81 |     }
 82 |
 83 |     public func send<S: WledHTTPPost, R: WledHTTPResponse>(
    |                 `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
 84 |         data: S,
 85 |         encoder: JSONEncoder = JSONEncoder(),
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:117:46: warning: capture of non-sendable type 'R.Type' in an isolated closure
115 |             }
116 |             do {
117 |                 let data = try JSONDecoder().decode(R.self, from: data)
    |                                              `- warning: capture of non-sendable type 'R.Type' in an isolated closure
118 |                 handleData(data)
119 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/WledLib/WledHost/WledHostHTTP.swift:86:9: warning: capture of non-sendable type 'R.Type' in an isolated closure
 84 |         data: S,
 85 |         encoder: JSONEncoder = JSONEncoder(),
 86 |         handleData: @escaping (_ data: R) -> Void = {_ in},
    |         `- warning: capture of non-sendable type 'R.Type' in an isolated closure
 87 |         handleError: @escaping (_ error: Error) -> Void = {_ in}
 88 |     ) throws {
[33/34] Compiling WledLib WledHostURL.swift
[34/34] Compiling WledLib WledHostWebSocket.swift
Build complete! (6.68s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.50s)
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",
        "ProtocolExtensions/DeviceExtension.swift",
        "ProtocolExtensions/PresetsExtension.swift",
        "ProtocolExtensions/SuccessMessageExtension.swift",
        "ProtocolExtensions/WledStateExtension.swift",
        "Protocols/WledHTTPGet.swift",
        "Protocols/WledHTTPPost.swift",
        "Protocols/WledHTTPResponse.swift",
        "Protocols/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.