The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of DebugAdapterProtocol, reference main (5fd6c6), with Swift 6.1 for Linux on 29 Apr 2025 01:27:15 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/DebugAdapterProtocol.git
Reference: main
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/ChimeHQ/DebugAdapterProtocol
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5fd6c6f Update readme
Cloned https://github.com/ChimeHQ/DebugAdapterProtocol.git
Revision (git rev-parse @):
5fd6c6f2eb4f1b8064f1f7e3710f0539d3f116e7
SUCCESS checkout https://github.com/ChimeHQ/DebugAdapterProtocol.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ChimeHQ/DebugAdapterProtocol.git
https://github.com/ChimeHQ/DebugAdapterProtocol.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "jsonrpc",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.7.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/JSONRPC"
    }
  ],
  "manifest_display_name" : "DebugAdapterProtocol",
  "name" : "DebugAdapterProtocol",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "DebugAdapterProtocol",
      "targets" : [
        "DebugAdapterProtocol"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DebugAdapterProtocolTests",
      "module_type" : "SwiftTarget",
      "name" : "DebugAdapterProtocolTests",
      "path" : "Tests/DebugAdapterProtocolTests",
      "sources" : [
        "DebugAdapterProtocolTests.swift"
      ],
      "target_dependencies" : [
        "DebugAdapterProtocol"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DebugAdapterProtocol",
      "module_type" : "SwiftTarget",
      "name" : "DebugAdapterProtocol",
      "path" : "Sources/DebugAdapterProtocol",
      "product_dependencies" : [
        "JSONRPC"
      ],
      "product_memberships" : [
        "DebugAdapterProtocol"
      ],
      "sources" : [
        "BaseProtocol+Extensions.swift",
        "BaseProtocol.swift",
        "Capabilities.swift",
        "DAPServer.swift",
        "DAPTransport.swift",
        "DebugAdapterProtocol.swift",
        "Initialize.swift",
        "Server.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/ChimeHQ/JSONRPC
[1/630] Fetching jsonrpc
Fetched https://github.com/ChimeHQ/JSONRPC from cache (0.26s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.1 (0.66s)
Creating working copy for https://github.com/ChimeHQ/JSONRPC
Working copy of https://github.com/ChimeHQ/JSONRPC resolved at 0.9.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/15] Compiling JSONRPC JSONValueDecoder.swift
[5/16] Compiling JSONRPC JSONRPCSession.swift
[6/16] Compiling JSONRPC JSONId.swift
[7/16] Compiling JSONRPC JSONRPCError.swift
[8/16] Compiling JSONRPC JSONValue.swift
[9/16] Compiling JSONRPC DataChannel+PredefinedMessages.swift
[10/16] Compiling JSONRPC DataChannel+StdioPipe.swift
[11/16] Compiling JSONRPC AsyncStreamPolyfill.swift
[12/16] Compiling JSONRPC DataChannel+Actor.swift
[13/16] Compiling JSONRPC DataChannel+WebSocket.swift
[14/16] Compiling JSONRPC DataChannel.swift
[15/16] Emitting module JSONRPC
[16/16] Compiling JSONRPC Protocol.swift
[18/25] Compiling DebugAdapterProtocol DAPServer.swift
[19/26] Compiling DebugAdapterProtocol DAPTransport.swift
[20/26] Compiling DebugAdapterProtocol Server.swift
/host/spi-builder-workspace/Sources/DebugAdapterProtocol/Server.swift:6:7: warning: associated value 'serverError(message:data:)' of 'Sendable'-conforming enum 'ServerError' has non-sendable type 'any Codable' (aka 'any Decodable & Encodable'); this is an error in the Swift 6 language mode
 4 | public enum ServerError: Error {
 5 | 	case unableToSendRequest(Error)
 6 | 	case serverError(message: String, data: Codable?)
   |       `- warning: associated value 'serverError(message:data:)' of 'Sendable'-conforming enum 'ServerError' has non-sendable type 'any Codable' (aka 'any Decodable & Encodable'); this is an error in the Swift 6 language mode
 7 | }
 8 |
[21/26] Compiling DebugAdapterProtocol Initialize.swift
[22/26] Compiling DebugAdapterProtocol DebugAdapterProtocol.swift
[23/26] Compiling DebugAdapterProtocol Capabilities.swift
[24/26] Compiling DebugAdapterProtocol BaseProtocol+Extensions.swift
[25/26] Compiling DebugAdapterProtocol BaseProtocol.swift
[26/26] Emitting module DebugAdapterProtocol
/host/spi-builder-workspace/Sources/DebugAdapterProtocol/Server.swift:6:7: warning: associated value 'serverError(message:data:)' of 'Sendable'-conforming enum 'ServerError' has non-sendable type 'any Codable' (aka 'any Decodable & Encodable'); this is an error in the Swift 6 language mode
 4 | public enum ServerError: Error {
 5 | 	case unableToSendRequest(Error)
 6 | 	case serverError(message: String, data: Codable?)
   |       `- warning: associated value 'serverError(message:data:)' of 'Sendable'-conforming enum 'ServerError' has non-sendable type 'any Codable' (aka 'any Decodable & Encodable'); this is an error in the Swift 6 language mode
 7 | }
 8 |
Build complete! (8.78s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "jsonrpc",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.7.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/JSONRPC"
    }
  ],
  "manifest_display_name" : "DebugAdapterProtocol",
  "name" : "DebugAdapterProtocol",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "DebugAdapterProtocol",
      "targets" : [
        "DebugAdapterProtocol"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DebugAdapterProtocolTests",
      "module_type" : "SwiftTarget",
      "name" : "DebugAdapterProtocolTests",
      "path" : "Tests/DebugAdapterProtocolTests",
      "sources" : [
        "DebugAdapterProtocolTests.swift"
      ],
      "target_dependencies" : [
        "DebugAdapterProtocol"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DebugAdapterProtocol",
      "module_type" : "SwiftTarget",
      "name" : "DebugAdapterProtocol",
      "path" : "Sources/DebugAdapterProtocol",
      "product_dependencies" : [
        "JSONRPC"
      ],
      "product_memberships" : [
        "DebugAdapterProtocol"
      ],
      "sources" : [
        "BaseProtocol+Extensions.swift",
        "BaseProtocol.swift",
        "Capabilities.swift",
        "DAPServer.swift",
        "DAPTransport.swift",
        "DebugAdapterProtocol.swift",
        "Initialize.swift",
        "Server.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.