The Swift Package Index logo.Swift Package Index

Build Information

Successful build of LSPServiceKit, reference master (b9e7a4), with Swift 6.1 for macOS (SPM) on 24 Apr 2026 14:36:01 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nohype-ai/LSPServiceKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nohype-ai/LSPServiceKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b9e7a4f Init Obsidian
Cloned https://github.com/nohype-ai/LSPServiceKit.git
Revision (git rev-parse @):
b9e7a4ffe1a8637a77d4bf65a86e2af47ef8dc1c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nohype-ai/LSPServiceKit.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nohype-ai/LSPServiceKit.git
https://github.com/nohype-ai/LSPServiceKit.git
{
  "dependencies" : [
    {
      "identity" : "swiftlsp",
      "requirement" : {
        "exact" : [
          "0.3.15"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/codeface-io/SwiftLSP.git"
    },
    {
      "identity" : "foundationtoolz",
      "requirement" : {
        "exact" : [
          "0.4.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/flowtoolz/FoundationToolz.git"
    },
    {
      "identity" : "swiftobserver",
      "requirement" : {
        "exact" : [
          "7.0.9"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/codeface-io/SwiftObserver.git"
    },
    {
      "identity" : "swiftytoolz",
      "requirement" : {
        "exact" : [
          "0.5.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/flowtoolz/SwiftyToolz.git"
    }
  ],
  "manifest_display_name" : "LSPServiceKit",
  "name" : "LSPServiceKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "LSPServiceKit",
      "targets" : [
        "LSPServiceKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LSPServiceKitTests",
      "module_type" : "SwiftTarget",
      "name" : "LSPServiceKitTests",
      "path" : "Tests",
      "product_dependencies" : [
        "SwiftLSP"
      ],
      "sources" : [
        "LSPServiceKitTests.swift"
      ],
      "target_dependencies" : [
        "LSPServiceKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LSPServiceKit",
      "module_type" : "SwiftTarget",
      "name" : "LSPServiceKit",
      "path" : "Code",
      "product_dependencies" : [
        "SwiftLSP",
        "FoundationToolz",
        "SwiftObserver",
        "SwiftyToolz"
      ],
      "product_memberships" : [
        "LSPServiceKit"
      ],
      "sources" : [
        "LSP.ServerManager.swift",
        "LSPService+LSP.ServerCommunicationHandler.swift",
        "LSPService+LSP.WebSocketConnection.swift",
        "LSPService.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-2F0A5646E1D333AE.txt
[7/26] Emitting module SwiftyToolz
[8/28] Compiling SwiftyToolz Dictionary+SwiftyToolz.swift
[9/28] Compiling SwiftyToolz Int+SwiftyToolz.swift
[10/28] Compiling SwiftyToolz Set+SwiftyToolz.swift
[11/28] Compiling SwiftyToolz String+SwiftyToolz.swift
[12/28] Compiling SwiftyToolz Copyable.swift
[13/28] Compiling SwiftyToolz JSON.swift
[14/28] Compiling SwiftyToolz Array+SwiftyToolz.swift
[15/28] Compiling SwiftyToolz Collection+Sum.swift
[16/28] Compiling SwiftyToolz Optional+SwiftyToolz.swift
[17/28] Compiling SwiftyToolz Sequence+Async.swift
[18/28] Compiling SwiftyToolz Task+SwiftyToolz.swift
[19/28] Compiling SwiftyToolz SwiftHelpers.swift
[20/28] Compiling SwiftyToolz BackgroundActor.swift
[21/28] Compiling SwiftyToolz BuildEnvironment.swift
[22/28] Compiling SwiftyToolz Clipboard.swift
[23/28] Compiling SwiftyToolz Color.swift
[24/28] Compiling SwiftyToolz Font.swift
[25/28] Compiling SwiftyToolz Log.swift
[26/28] Compiling SwiftyToolz ReadableError.swift
[27/28] Compiling SwiftyToolz Geometry.swift
[28/28] Compiling SwiftyToolz WeakArray.swift
[29/92] Compiling SwiftObserver ObservationTransformer+Filter.swift
[30/92] Compiling SwiftObserver ObservationTransformer+FilterAuthor.swift
[31/92] Compiling SwiftObserver ObservationTransformer+From.swift
[32/92] Compiling SwiftObserver ObservationTransformer+Map.swift
[33/92] Compiling SwiftObserver ObservationTransformer+UnwrapWithDefault.swift
[34/92] Compiling SwiftObserver ObservationTransformer.swift
[35/92] Compiling SwiftObserver Observer+ObservationTransformer.swift
[36/92] Compiling SwiftObserver Variable+Comparable.swift
[37/92] Emitting module SwiftObserver
[38/96] Compiling SwiftObserver ObservationTransformer+New.swift
[39/96] Compiling SwiftObserver ObservationTransformer+NotFrom.swift
[40/96] Compiling SwiftObserver ObservationTransformer+Select.swift
[41/96] Compiling SwiftObserver ObservationTransformer+Unwrap.swift
[42/96] Compiling SwiftObserver ObservableObject+Unwrap.swift
[43/96] Compiling SwiftObserver ObservableObject+UnwrapWithDefault.swift
[44/96] Compiling SwiftObserver ObservableObject+Weak.swift
[45/96] Compiling SwiftObserver Unwrapper.swift
[46/96] Compiling SwiftObserver Weak.swift
[47/96] Compiling SwiftObserver AnyAuthor.swift
[48/96] Compiling SwiftObserver Connection.swift
[49/96] Compiling SwiftObserver Messenger.swift
[50/96] Compiling SwiftObserver ObservableCache.swift
[51/96] Compiling SwiftObserver ObservableObject+StopObservation.swift
[52/96] Compiling SwiftObserver Variable+ObservableCache.swift
[53/96] Compiling SwiftObserver Variable+PropertyWrapper.swift
[54/96] Compiling SwiftObserver Variable+ValueAssignment.swift
[55/96] Compiling SwiftObserver Variable.swift
[56/96] Compiling SwiftObserver Receiver.swift
[57/96] Compiling SwiftObserver AuthorFilter.swift
[58/96] Compiling SwiftObserver Cache.swift
[59/96] Compiling SwiftObserver CacheOnOptionalMessage.swift
[60/96] Compiling SwiftObserver Filter.swift
[61/96] Compiling SwiftObserver ObservableObject.swift
[62/96] Compiling SwiftObserver ReceiverPool.swift
[63/96] Compiling SwiftObserver Update.swift
[64/96] Compiling SwiftObserver ObservableObject+Observer.swift
[65/96] Compiling SwiftObserver Observer.swift
[66/96] Compiling SwiftObserver ObservableObject+From.swift
[67/96] Compiling SwiftObserver ObservableObject+Map.swift
[68/96] Compiling SwiftObserver ObservableObject+New.swift
[69/96] Compiling SwiftObserver ObservableObject+NotFrom.swift
[70/96] Compiling SwiftObserver ObservableObject+Select.swift
[71/96] Compiling SwiftObserver Mapper+Cache.swift
[72/96] Compiling SwiftObserver Mapper.swift
[73/96] Compiling SwiftObserver ObservableObject+Cache.swift
[74/96] Compiling SwiftObserver ObservableObject+Filter.swift
[75/96] Compiling SwiftObserver ObservableObject+FilterAuthor.swift
[76/96] Emitting module FoundationToolz
[77/98] Compiling FoundationToolz String+FoundationToolz.swift
[78/98] Compiling FoundationToolz JSON+FoundationToolz.swift
[99/123] Emitting module SwiftLSP
[100/125] Compiling SwiftLSP LSP.Message+JSON.swift
[101/125] Compiling SwiftLSP LSP.Message+ReadableDescription.swift
[102/125] Compiling SwiftLSP LSP.Message.swift
[103/125] Compiling SwiftLSP LSP.ServerExecutable.swift
[104/125] Compiling SwiftLSP LSP.WebSocketConnection.swift
[105/125] Compiling SwiftLSP LSPServerConnection.swift
[106/125] Compiling SwiftLSP LSP.PacketDetector.swift
[107/125] Compiling SwiftLSP LSP.LanguageIdentifier.swift
[108/125] Compiling SwiftLSP LSP.ServerCommunicationHandler.swift
[109/125] Compiling SwiftLSP LSP.ServerCommunicationHandler+DocumentSync.swift
[110/125] Compiling SwiftLSP LSP.Message.Request+References.swift
[111/125] Compiling SwiftLSP LSP.Message.Request+Initialize.swift
[112/125] Compiling SwiftLSP LSP.Message.Request+Symbols.swift
[113/125] Compiling SwiftLSP LSP.ServerCommunicationHandler+References.swift
[114/125] Compiling SwiftLSP LSP.Message.Notification+Initialized.swift
[115/125] Compiling SwiftLSP LSP.CodebaseLocation.swift
[116/125] Compiling SwiftLSP LSP.swift
[117/125] Compiling SwiftLSP LSP.Message+Data.swift
[118/125] Compiling SwiftLSP LSPLocation.swift
[119/125] Compiling SwiftLSP LSPTextDocumentPositionParams.swift
[120/125] Compiling SwiftLSP LSP.Message.Notification+DocumentSync.swift
[121/125] Compiling SwiftLSP LSP.Notification+LogMessage.swift
[122/125] Compiling SwiftLSP LSP.Packet+Message.swift
[123/125] Compiling SwiftLSP LSP.Packet.swift
[124/125] Compiling SwiftLSP LSP.ServerCommunicationHandler+Symbols.swift
[125/125] Compiling SwiftLSP LSPDocumentSymbol.swift
[126/130] Compiling LSPServiceKit LSPService+LSP.WebSocketConnection.swift
[127/130] Compiling LSPServiceKit LSPService.swift
/Users/admin/builder/spi-builder-workspace/Code/LSPService.swift:48:23: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'LSPService.APIComponent' may have shared mutable state; this is an error in the Swift 6 language mode
46 |     }
47 |
48 |     public static let api = APIComponent()
   |                       |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'LSPService.APIComponent' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'api' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |     public struct APIComponent {
   |                   `- note: consider making struct 'APIComponent' conform to the 'Sendable' protocol
51 |
52 |         public func language(_ languageName: String) -> LanguageComponent {
[128/130] Compiling LSPServiceKit LSPService+LSP.ServerCommunicationHandler.swift
[129/130] Compiling LSPServiceKit LSP.ServerManager.swift
/Users/admin/builder/spi-builder-workspace/Code/LSP.ServerManager.swift:13:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LSP.ServerManager' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |      Creates a fully initialized `LSP.Server` and indicates wheter an active server is working
10 |      */
11 |     class ServerManager: ObservableObject {
   |           `- note: class 'ServerManager' does not conform to the 'Sendable' protocol
12 |
13 |         public static let shared = ServerManager()
   |                           |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LSP.ServerManager' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |         private init() {}
/Users/admin/builder/spi-builder-workspace/Code/LSP.ServerManager.swift:58:26: warning: sending value of non-Sendable type '(any Error) -> Void' risks causing data races; this is an error in the Swift 6 language mode
56 |             }
57 |
58 |             await server.handleConnectionShutdown { error in
   |                          |- warning: sending value of non-Sendable type '(any Error) -> Void' risks causing data races; this is an error in the Swift 6 language mode
   |                          `- note: sending task-isolated value of non-Sendable type '(any Error) -> Void' to actor-isolated instance method 'handleConnectionShutdown' risks causing races in between task-isolated and actor-isolated uses
59 |                 log(error.readable)
60 |                 self.serverIsWorking = false
[130/130] Emitting module LSPServiceKit
/Users/admin/builder/spi-builder-workspace/Code/LSP.ServerManager.swift:13:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LSP.ServerManager' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |      Creates a fully initialized `LSP.Server` and indicates wheter an active server is working
10 |      */
11 |     class ServerManager: ObservableObject {
   |           `- note: class 'ServerManager' does not conform to the 'Sendable' protocol
12 |
13 |         public static let shared = ServerManager()
   |                           |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LSP.ServerManager' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |         private init() {}
/Users/admin/builder/spi-builder-workspace/Code/LSPService.swift:48:23: warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'LSPService.APIComponent' may have shared mutable state; this is an error in the Swift 6 language mode
46 |     }
47 |
48 |     public static let api = APIComponent()
   |                       |- warning: static property 'api' is not concurrency-safe because non-'Sendable' type 'LSPService.APIComponent' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'api' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |     public struct APIComponent {
   |                   `- note: consider making struct 'APIComponent' conform to the 'Sendable' protocol
51 |
52 |         public func language(_ languageName: String) -> LanguageComponent {
Build complete! (20.04s)
Fetching https://github.com/codeface-io/SwiftObserver.git
Fetching https://github.com/flowtoolz/SwiftyToolz.git
Fetching https://github.com/flowtoolz/FoundationToolz.git
Fetching https://github.com/codeface-io/SwiftLSP.git
[1/892] Fetching swiftlsp
[82/5137] Fetching swiftlsp, swiftobserver
[252/6009] Fetching swiftlsp, swiftobserver, foundationtoolz
[832/6766] Fetching swiftlsp, swiftobserver, foundationtoolz, swiftytoolz
Fetched https://github.com/codeface-io/SwiftLSP.git from cache (1.31s)
Fetched https://github.com/flowtoolz/SwiftyToolz.git from cache (1.31s)
[5026/5117] Fetching swiftobserver, foundationtoolz
Fetched https://github.com/flowtoolz/FoundationToolz.git from cache (1.94s)
Fetched https://github.com/codeface-io/SwiftObserver.git from cache (1.94s)
Computing version for https://github.com/flowtoolz/SwiftyToolz.git
Computed https://github.com/flowtoolz/SwiftyToolz.git at 0.5.1 (2.57s)
Computing version for https://github.com/codeface-io/SwiftObserver.git
Computed https://github.com/codeface-io/SwiftObserver.git at 7.0.9 (0.62s)
Computing version for https://github.com/flowtoolz/FoundationToolz.git
Computed https://github.com/flowtoolz/FoundationToolz.git at 0.4.0 (0.61s)
Computing version for https://github.com/codeface-io/SwiftLSP.git
Computed https://github.com/codeface-io/SwiftLSP.git at 0.3.15 (0.59s)
Creating working copy for https://github.com/flowtoolz/FoundationToolz.git
Working copy of https://github.com/flowtoolz/FoundationToolz.git resolved at 0.4.0
Creating working copy for https://github.com/codeface-io/SwiftLSP.git
Working copy of https://github.com/codeface-io/SwiftLSP.git resolved at 0.3.15
Creating working copy for https://github.com/flowtoolz/SwiftyToolz.git
Working copy of https://github.com/flowtoolz/SwiftyToolz.git resolved at 0.5.1
Creating working copy for https://github.com/codeface-io/SwiftObserver.git
Working copy of https://github.com/codeface-io/SwiftObserver.git resolved at 7.0.9
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftlsp",
      "requirement" : {
        "exact" : [
          "0.3.15"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/codeface-io/SwiftLSP.git"
    },
    {
      "identity" : "foundationtoolz",
      "requirement" : {
        "exact" : [
          "0.4.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/flowtoolz/FoundationToolz.git"
    },
    {
      "identity" : "swiftobserver",
      "requirement" : {
        "exact" : [
          "7.0.9"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/codeface-io/SwiftObserver.git"
    },
    {
      "identity" : "swiftytoolz",
      "requirement" : {
        "exact" : [
          "0.5.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/flowtoolz/SwiftyToolz.git"
    }
  ],
  "manifest_display_name" : "LSPServiceKit",
  "name" : "LSPServiceKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "LSPServiceKit",
      "targets" : [
        "LSPServiceKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LSPServiceKitTests",
      "module_type" : "SwiftTarget",
      "name" : "LSPServiceKitTests",
      "path" : "Tests",
      "product_dependencies" : [
        "SwiftLSP"
      ],
      "sources" : [
        "LSPServiceKitTests.swift"
      ],
      "target_dependencies" : [
        "LSPServiceKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LSPServiceKit",
      "module_type" : "SwiftTarget",
      "name" : "LSPServiceKit",
      "path" : "Code",
      "product_dependencies" : [
        "SwiftLSP",
        "FoundationToolz",
        "SwiftObserver",
        "SwiftyToolz"
      ],
      "product_memberships" : [
        "LSPServiceKit"
      ],
      "sources" : [
        "LSP.ServerManager.swift",
        "LSPService+LSP.ServerCommunicationHandler.swift",
        "LSPService+LSP.WebSocketConnection.swift",
        "LSPService.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.