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.0 for Linux on 5 Nov 2024 09:26:11 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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.0
Building package at path:  $PWD
https://github.com/ChimeHQ/DebugAdapterProtocol.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/ChimeHQ/JSONRPC
[1/585] Fetching jsonrpc
Fetched https://github.com/ChimeHQ/JSONRPC from cache (0.19s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.0 (0.36s)
Creating working copy for https://github.com/ChimeHQ/JSONRPC
Working copy of https://github.com/ChimeHQ/JSONRPC resolved at 0.9.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling JSONRPC JSONValue.swift
[5/15] Compiling JSONRPC JSONRPCError.swift
[6/15] Compiling JSONRPC DataChannel+PredefinedMessages.swift
[7/15] Compiling JSONRPC DataChannel+StdioPipe.swift
[8/15] Compiling JSONRPC AsyncStreamPolyfill.swift
[9/15] Compiling JSONRPC DataChannel+Actor.swift
[10/15] Compiling JSONRPC DataChannel.swift
[11/15] Compiling JSONRPC JSONId.swift
[12/15] Emitting module JSONRPC
[13/15] Compiling JSONRPC JSONRPCSession.swift
[14/15] Compiling JSONRPC JSONValueDecoder.swift
[15/15] Compiling JSONRPC Protocol.swift
[17/24] Compiling DebugAdapterProtocol DAPTransport.swift
[18/25] Compiling DebugAdapterProtocol DAPServer.swift
[19/25] Compiling DebugAdapterProtocol Capabilities.swift
[20/25] 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/25] Compiling DebugAdapterProtocol DebugAdapterProtocol.swift
[22/25] Compiling DebugAdapterProtocol Initialize.swift
[23/25] 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 |
[24/25] Compiling DebugAdapterProtocol BaseProtocol.swift
[25/25] Compiling DebugAdapterProtocol BaseProtocol+Extensions.swift
Build complete! (15.10s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.