The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftLSP, reference master (589f36), with Swift 6.4 for macOS (SPM) on 26 Sep 2026 11:10:14 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/nohype-ai/SwiftLSP.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nohype-ai/SwiftLSP
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 589f361 Bump FoundationToolz 0.5.10 and SwiftyToolz 0.5.8
Cloned https://github.com/nohype-ai/SwiftLSP.git
Revision (git rev-parse @):
589f36165a0420efa519a5a03624cc0e5e3d64a9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nohype-ai/SwiftLSP.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/nohype-ai/SwiftLSP.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[31 / 56]
[32 / 57] SwiftyToolz
[41 / 87]
[46 / 87]
[49 / 87]
[51 / 87]
[62 / 87] SwiftyToolz
[63 / 87] SwiftyToolz
[69 / 88] SwiftyToolz
[78 / 121]
[80 / 121]
[82 / 121]
[86 / 121]
[89 / 121]
[91 / 121]
[92 / 121]
[104 / 121] FoundationToolz
[105 / 121] FoundationToolz
[113 / 122] FoundationToolz
[113 / 122] SwiftLSP
[123 / 174]
[125 / 174]
[133 / 174]
[135 / 174]
[136 / 174]
[140 / 174]
[142 / 174]
[146 / 174]
[150 / 174]
[152 / 174]
[153 / 174]
[165 / 174] SwiftLSP
[171 / 174] SwiftLSP
Build complete! (11.75 sec)
Fetching https://github.com/nohype-ai/FoundationToolz.git
Fetching https://github.com/nohype-ai/SwiftyToolz.git
[1/898] Fetching foundationtoolz
[899/1677] Fetching foundationtoolz, swiftytoolz
Fetched https://github.com/nohype-ai/FoundationToolz.git (1.34s)
Fetched https://github.com/nohype-ai/SwiftyToolz.git (1.34s)
Computing version for https://github.com/nohype-ai/SwiftyToolz.git
Computed https://github.com/nohype-ai/SwiftyToolz.git at 0.5.8 (1.93s)
Computing version for https://github.com/nohype-ai/FoundationToolz.git
Computed https://github.com/nohype-ai/FoundationToolz.git at 0.5.10 (0.53s)
Creating working copy for https://github.com/nohype-ai/FoundationToolz.git
Working copy of https://github.com/nohype-ai/FoundationToolz.git resolved at 0.5.10
Creating working copy for https://github.com/nohype-ai/SwiftyToolz.git
Working copy of https://github.com/nohype-ai/SwiftyToolz.git resolved at 0.5.8
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.ServerCommunicationHandler.swift:67:27: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 60 |
 61 |             connection.serverDidSendResponse =
 62 |             {
    |             |- note: 'self' implicitly strongly captured here
    |             `- note: add 'self' as a capture list item to silence
 63 |                 response in
 64 |
 65 |                 Task
 66 |                 {
 67 |                     [weak self] in await self?.serverDidSend(response)
    |                           |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                           `- note: explicitly assign the capture list item to silence
 68 |                 }
 69 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.ServerCommunicationHandler.swift:77:27: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 70 |
 71 |             connection.serverDidSendNotification =
 72 |             {
    |             |- note: 'self' implicitly strongly captured here
    |             `- note: add 'self' as a capture list item to silence
 73 |                 notification in
 74 |
 75 |                 Task
 76 |                 {
 77 |                     [weak self] in await self?.notifyClientAboutNotificationFromServer(notification)
    |                           |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                           `- note: explicitly assign the capture list item to silence
 78 |                 }
 79 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.ServerCommunicationHandler.swift:87:27: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 80 |
 81 |             connection.serverDidSendErrorOutput =
 82 |             {
    |             |- note: 'self' implicitly strongly captured here
    |             `- note: add 'self' as a capture list item to silence
 83 |                 errorOutput in
 84 |
 85 |                 Task
 86 |                 {
 87 |                     [weak self] in await self?.notifyClientAboutErrorOutputFromServer(errorOutput)
    |                           |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                           `- note: explicitly assign the capture list item to silence
 88 |                 }
 89 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.ServerCommunicationHandler.swift:97:27: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 90 |
 91 |             connection.didCloseWithError =
 92 |             {
    |             |- note: 'self' implicitly strongly captured here
    |             `- note: add 'self' as a capture list item to silence
 93 |                 error in
 94 |
 95 |                 Task
 96 |                 {
 97 |                     [weak self] in await self?.connectionDidClose(with: error)
    |                           |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                           `- note: explicitly assign the capture list item to silence
 98 |                 }
 99 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.ServerExecutable.swift:14:11: warning: non-final class 'ServerExecutable' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 12 |      This does not work in a sandboxed app!
 13 |      */
 14 |     class ServerExecutable: ExecutableProcessor {
    |           `- warning: non-final class 'ServerExecutable' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 15 |
 16 |         // MARK: - Life Cycle
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.ServerExecutable.swift:86:21: warning: stored property 'storedExecutable' of 'Sendable'-conforming class 'ServerExecutable' is mutable; this is an error in the Swift 6 language mode
 84 |         }
 85 |
 86 |         private var storedExecutable: Executable?
    |                     `- warning: stored property 'storedExecutable' of 'Sendable'-conforming class 'ServerExecutable' is mutable; this is an error in the Swift 6 language mode
 87 |         private let packetDetector: LSP.PacketDetector
 88 |         private let handleError: (Data) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.WebSocketConnection.swift:10:11: warning: non-final class 'WebSocketConnection' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 |     ///
  9 |     /// The client should set the four handlers defined by the protocol ``LSPServerConnection``
 10 |     class WebSocketConnection: LSPServerConnection, WebSocketProcessor
    |           `- warning: non-final class 'WebSocketConnection' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |     {
 12 |         // MARK: - Initialize
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.WebSocketConnection.swift:47:20: warning: stored property 'serverDidSendResponse' of 'Sendable'-conforming class 'WebSocketConnection' is mutable; this is an error in the Swift 6 language mode
 45 |         }
 46 |
 47 |         public var serverDidSendResponse: (LSP.Message.Response) -> Void = { _ in }
    |                    `- warning: stored property 'serverDidSendResponse' of 'Sendable'-conforming class 'WebSocketConnection' is mutable; this is an error in the Swift 6 language mode
 48 |         public var serverDidSendNotification: (LSP.Message.Notification) -> Void = { _ in }
 49 |         public var serverDidSendErrorOutput: (String) -> Void = { _ in }
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.ServerCommunicationHandler.swift:67:27: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 60 |
 61 |             connection.serverDidSendResponse =
 62 |             {
    |             |- note: 'self' implicitly strongly captured here
    |             `- note: add 'self' as a capture list item to silence
 63 |                 response in
 64 |
 65 |                 Task
 66 |                 {
 67 |                     [weak self] in await self?.serverDidSend(response)
    |                           |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                           `- note: explicitly assign the capture list item to silence
 68 |                 }
 69 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.ServerCommunicationHandler.swift:77:27: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 70 |
 71 |             connection.serverDidSendNotification =
 72 |             {
    |             |- note: 'self' implicitly strongly captured here
    |             `- note: add 'self' as a capture list item to silence
 73 |                 notification in
 74 |
 75 |                 Task
 76 |                 {
 77 |                     [weak self] in await self?.notifyClientAboutNotificationFromServer(notification)
    |                           |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                           `- note: explicitly assign the capture list item to silence
 78 |                 }
 79 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.ServerCommunicationHandler.swift:87:27: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 80 |
 81 |             connection.serverDidSendErrorOutput =
 82 |             {
    |             |- note: 'self' implicitly strongly captured here
    |             `- note: add 'self' as a capture list item to silence
 83 |                 errorOutput in
 84 |
 85 |                 Task
 86 |                 {
 87 |                     [weak self] in await self?.notifyClientAboutErrorOutputFromServer(errorOutput)
    |                           |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                           `- note: explicitly assign the capture list item to silence
 88 |                 }
 89 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.ServerCommunicationHandler.swift:97:27: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 90 |
 91 |             connection.didCloseWithError =
 92 |             {
    |             |- note: 'self' implicitly strongly captured here
    |             `- note: add 'self' as a capture list item to silence
 93 |                 error in
 94 |
 95 |                 Task
 96 |                 {
 97 |                     [weak self] in await self?.connectionDidClose(with: error)
    |                           |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                           `- note: explicitly assign the capture list item to silence
 98 |                 }
 99 |             }
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.ServerExecutable.swift:14:11: warning: non-final class 'ServerExecutable' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 12 |      This does not work in a sandboxed app!
 13 |      */
 14 |     class ServerExecutable: ExecutableProcessor {
    |           `- warning: non-final class 'ServerExecutable' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 15 |
 16 |         // MARK: - Life Cycle
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.ServerExecutable.swift:86:21: warning: stored property 'storedExecutable' of 'Sendable'-conforming class 'ServerExecutable' is mutable; this is an error in the Swift 6 language mode
 84 |         }
 85 |
 86 |         private var storedExecutable: Executable?
    |                     `- warning: stored property 'storedExecutable' of 'Sendable'-conforming class 'ServerExecutable' is mutable; this is an error in the Swift 6 language mode
 87 |         private let packetDetector: LSP.PacketDetector
 88 |         private let handleError: (Data) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.WebSocketConnection.swift:10:11: warning: non-final class 'WebSocketConnection' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 |     ///
  9 |     /// The client should set the four handlers defined by the protocol ``LSPServerConnection``
 10 |     class WebSocketConnection: LSPServerConnection, WebSocketProcessor
    |           `- warning: non-final class 'WebSocketConnection' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |     {
 12 |         // MARK: - Initialize
/Users/admin/builder/spi-builder-workspace/Sources/Server Communication/LSP.WebSocketConnection.swift:47:20: warning: stored property 'serverDidSendResponse' of 'Sendable'-conforming class 'WebSocketConnection' is mutable; this is an error in the Swift 6 language mode
 45 |         }
 46 |
 47 |         public var serverDidSendResponse: (LSP.Message.Response) -> Void = { _ in }
    |                    `- warning: stored property 'serverDidSendResponse' of 'Sendable'-conforming class 'WebSocketConnection' is mutable; this is an error in the Swift 6 language mode
 48 |         public var serverDidSendNotification: (LSP.Message.Notification) -> Void = { _ in }
 49 |         public var serverDidSendErrorOutput: (String) -> Void = { _ in }
Build complete.
{
  "dependencies" : [
    {
      "identity" : "foundationtoolz",
      "requirement" : {
        "exact" : [
          "0.5.10"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nohype-ai/FoundationToolz.git"
    },
    {
      "identity" : "swiftytoolz",
      "requirement" : {
        "exact" : [
          "0.5.8"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nohype-ai/SwiftyToolz.git"
    }
  ],
  "manifest_display_name" : "SwiftLSP",
  "name" : "SwiftLSP",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftLSP",
      "targets" : [
        "SwiftLSP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftLSPTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLSPTests",
      "path" : "Tests",
      "product_dependencies" : [
        "FoundationToolz",
        "SwiftyToolz"
      ],
      "sources" : [
        "PublicAPITests.swift",
        "SwiftLSPTests.swift"
      ],
      "target_dependencies" : [
        "SwiftLSP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftLSP",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLSP",
      "path" : "Sources",
      "product_dependencies" : [
        "FoundationToolz",
        "SwiftyToolz"
      ],
      "product_memberships" : [
        "SwiftLSP"
      ],
      "sources" : [
        "LSP.CodebaseLocation.swift",
        "LSP.swift",
        "Message/LSP.Message+Data.swift",
        "Message/LSP.Message+JSON.swift",
        "Message/LSP.Message+ReadableDescription.swift",
        "Message/LSP.Message.swift",
        "Message/LSP.Notification+LogMessage.swift",
        "Packet/LSP.Packet+Message.swift",
        "Packet/LSP.Packet.swift",
        "Packet/LSP.PacketDetector.swift",
        "Server Communication/LSP.LanguageIdentifier.swift",
        "Server Communication/LSP.ServerCommunicationHandler.swift",
        "Server Communication/LSP.ServerExecutable.swift",
        "Server Communication/LSP.WebSocketConnection.swift",
        "Server Communication/LSPServerConnection.swift",
        "Use Cases/Basic LSP Types/LSPLocation.swift",
        "Use Cases/Basic LSP Types/LSPTextDocumentPositionParams.swift",
        "Use Cases/Document Sync/LSP.Message.Notification+DocumentSync.swift",
        "Use Cases/Document Sync/LSP.ServerCommunicationHandler+DocumentSync.swift",
        "Use Cases/References/LSP.Message.Request+References.swift",
        "Use Cases/References/LSP.ServerCommunicationHandler+References.swift",
        "Use Cases/Server Life Cycle/LSP.Message.Notification+Initialized.swift",
        "Use Cases/Server Life Cycle/LSP.Message.Request+Initialize.swift",
        "Use Cases/Symbols/LSP.Message.Request+Symbols.swift",
        "Use Cases/Symbols/LSP.ServerCommunicationHandler+Symbols.swift",
        "Use Cases/Symbols/LSPDocumentSymbol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.