The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build langserver-swift, reference master (4ed2cb), with Swift 6.1 for Wasm on 27 May 2025 08:00:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rlovelett/langserver-swift.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/rlovelett/langserver-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4ed2cbe Merge pull request #57 from RLovelett/parent-directory-fallback
Cloned https://github.com/rlovelett/langserver-swift.git
Revision (git rev-parse @):
4ed2cbedae1264f2739abe78b6b537b6517652f8
SUCCESS checkout https://github.com/rlovelett/langserver-swift.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rlovelett/langserver-swift.git
https://github.com/rlovelett/langserver-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "sourcekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RLovelett/SourceKit.git"
    },
    {
      "identity" : "argo",
      "requirement" : {
        "branch" : [
          "swift-4.1-macOS-and-linux"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RLovelett/Argo.git"
    },
    {
      "identity" : "ogra",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RLovelett/Ogra.git"
    },
    {
      "identity" : "curry",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/thoughtbot/Curry.git"
    },
    {
      "identity" : "swift-package-manager",
      "requirement" : {
        "branch" : [
          "swift-4.1-branch"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RLovelett/swift-package-manager.git"
    },
    {
      "identity" : "swxmlhash",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/drmohundro/SWXMLHash.git"
    }
  ],
  "manifest_display_name" : "langserver-swift",
  "name" : "langserver-swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "langserver-swift",
      "targets" : [
        "BaseProtocol",
        "SourceKitter",
        "LanguageServerProtocol",
        "LanguageServer"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SourceKitter",
      "module_type" : "SwiftTarget",
      "name" : "SourceKitter",
      "path" : "Sources/SourceKitter",
      "product_dependencies" : [
        "Argo"
      ],
      "product_memberships" : [
        "langserver-swift"
      ],
      "sources" : [
        "Extensions/Array.swift",
        "Extensions/Int64.swift",
        "Extensions/Optional.swift",
        "Extensions/String.swift",
        "Extensions/URL.swift",
        "Types/RequestType.swift",
        "Types/SourceKit.swift",
        "Types/SourceKitError.swift",
        "Types/SourceKitRequestable.swift",
        "Types/library_wrapper.swift",
        "Types/library_wrapper_sourcekitd.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LanguageServerProtocolTests",
      "module_type" : "SwiftTarget",
      "name" : "LanguageServerProtocolTests",
      "path" : "Tests/LanguageServerProtocolTests",
      "sources" : [
        "Extensions/URLTests.swift",
        "Functions/ConvertTests.swift",
        "Resources/Fixtures.swift",
        "Types/CompletionItemTests.swift",
        "Types/CursorTests.swift",
        "Types/DidChangeWatchedFilesParamsTests.swift",
        "Types/LineCollectionTests.swift",
        "Types/SwiftModuleTests.swift",
        "Types/SwiftSourceTests.swift",
        "Types/WorkspaceTests.swift"
      ],
      "target_dependencies" : [
        "LanguageServerProtocol"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LanguageServerProtocol",
      "module_type" : "SwiftTarget",
      "name" : "LanguageServerProtocol",
      "path" : "Sources/LanguageServerProtocol",
      "product_dependencies" : [
        "SwiftPM",
        "SWXMLHash"
      ],
      "product_memberships" : [
        "langserver-swift"
      ],
      "sources" : [
        "Classes/ToolWorkspaceDelegate.swift",
        "Extenstions/Dictionary.swift",
        "Extenstions/String.swift",
        "Extenstions/URL.swift",
        "Functions/CommonRoot.swift",
        "Functions/Convert.swift",
        "Protocols/TextDocumentIdentifier.swift",
        "Protocols/TextDocumentItem.swift",
        "Types/Command.swift",
        "Types/CompletionItem.swift",
        "Types/CompletionItemKind.swift",
        "Types/CompletionOptions.swift",
        "Types/Cursor.swift",
        "Types/DidChangeTextDocumentParams.swift",
        "Types/DidChangeWatchedFilesParams.swift",
        "Types/DidCloseTextDocumentParams.swift",
        "Types/DidOpenTextDocumentParams.swift",
        "Types/FileChangeType.swift",
        "Types/FileEvent.swift",
        "Types/Hover.swift",
        "Types/InitializeParams.swift",
        "Types/InitializeResult.swift",
        "Types/InsertTextFormat.swift",
        "Types/LineCollection.swift",
        "Types/Location.swift",
        "Types/Position.swift",
        "Types/Server.swift",
        "Types/ServerCapabilities.swift",
        "Types/SwiftModule.swift",
        "Types/TextDocument.swift",
        "Types/TextDocumentContentChangeEvent.swift",
        "Types/TextDocumentPositionParams.swift",
        "Types/TextDocumentRange.swift",
        "Types/TextDocumentSyncKind.swift",
        "Types/TextEdit.swift",
        "Types/VersionedTextDocumentIdentifier.swift",
        "Types/WorkspaceError.swift",
        "Types/WorkspaceSequence.swift"
      ],
      "target_dependencies" : [
        "BaseProtocol",
        "SourceKitter"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LanguageServer",
      "module_type" : "SwiftTarget",
      "name" : "LanguageServer",
      "path" : "Sources/LanguageServer",
      "product_memberships" : [
        "langserver-swift"
      ],
      "sources" : [
        "Functions/handle.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "BaseProtocol",
        "LanguageServerProtocol"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BaseProtocolTests",
      "module_type" : "SwiftTarget",
      "name" : "BaseProtocolTests",
      "path" : "Tests/BaseProtocolTests",
      "sources" : [
        "Resources/Fixtures.swift",
        "Types/HeaderTests.swift",
        "Types/RequestBufferTests.swift",
        "Types/RequestTests.swift",
        "Types/ResponseTests.swift"
      ],
      "target_dependencies" : [
        "BaseProtocol"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BaseProtocol",
      "module_type" : "SwiftTarget",
      "name" : "BaseProtocol",
      "path" : "Sources/BaseProtocol",
      "product_dependencies" : [
        "Argo",
        "Curry",
        "Ogra"
      ],
      "product_memberships" : [
        "langserver-swift"
      ],
      "sources" : [
        "Extensions/Collection.swift",
        "Protocols/ServerError.swift",
        "Types/Header.swift",
        "Types/MultibyteDataIterator.swift",
        "Types/PredefinedError.swift",
        "Types/Request.swift",
        "Types/RequestBuffer.swift",
        "Types/Response.swift",
        "Types/Result.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/RLovelett/Argo.git
[1/2755] Fetching argo
Fetched https://github.com/RLovelett/Argo.git from cache (0.33s)
Fetching https://github.com/RLovelett/Ogra.git
[1/663] Fetching ogra
Fetched https://github.com/RLovelett/Ogra.git from cache (0.26s)
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.1' to specify the current tools version in https://github.com/RLovelett/Ogra.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Updating https://github.com/RLovelett/Argo.git
Updated https://github.com/RLovelett/Argo.git (0.16s)
Updating https://github.com/RLovelett/Ogra.git
Updated https://github.com/RLovelett/Ogra.git (0.16s)
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.1' to specify the current tools version in https://github.com/RLovelett/Ogra.git
BUILD FAILURE 6.1 wasm