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 macOS (SPM) on 5 Nov 2024 09:38:06 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/ChimeHQ/JSONRPC
[1/585] Fetching jsonrpc
Fetched https://github.com/ChimeHQ/JSONRPC from cache (0.84s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.7.0 (0.70s)
Creating working copy for https://github.com/ChimeHQ/JSONRPC
Working copy of https://github.com/ChimeHQ/JSONRPC resolved at 0.7.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "debugadapterprotocol",
      "name": "DebugAdapterProtocol",
      "url": "https://github.com/ChimeHQ/DebugAdapterProtocol.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DebugAdapterProtocol",
      "dependencies": [
        {
          "identity": "jsonrpc",
          "name": "JSONRPC",
          "url": "https://github.com/ChimeHQ/JSONRPC",
          "version": "0.9.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JSONRPC",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ChimeHQ/DebugAdapterProtocol.git
[3/59] Fetching debugadapterprotocol
Fetched https://github.com/ChimeHQ/DebugAdapterProtocol.git from cache (0.66s)
Fetching https://github.com/ChimeHQ/JSONRPC from cache
Fetched https://github.com/ChimeHQ/JSONRPC from cache (0.52s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.0 (0.52s)
Creating working copy for https://github.com/ChimeHQ/DebugAdapterProtocol.git
Working copy of https://github.com/ChimeHQ/DebugAdapterProtocol.git resolved at main (5fd6c6f)
Creating working copy for https://github.com/ChimeHQ/JSONRPC
Working copy of https://github.com/ChimeHQ/JSONRPC resolved at 0.9.0
warning: '.resolve-product-dependencies': dependency 'debugadapterprotocol' is not used by any target
Found 1 product dependencies
  - JSONRPC
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ChimeHQ/DebugAdapterProtocol.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/14] Compiling JSONRPC SeperatedHTTPHeaderMessageFraming.swift
[5/15] Emitting module JSONRPC
[6/15] Compiling JSONRPC DataTransport.swift
[7/15] Compiling JSONRPC JSONId.swift
[8/15] Compiling JSONRPC JSONValue.swift
[9/15] Compiling JSONRPC ProtocolTransport.swift
[10/15] Compiling JSONRPC JSONValueDecoder.swift
[11/15] Compiling JSONRPC Protocol.swift
[12/15] Compiling JSONRPC LengthPrefixMessageFraming.swift
[13/15] Compiling JSONRPC JSONRPCError.swift
[14/15] Compiling JSONRPC MessageTransport.swift
[15/15] Compiling JSONRPC StdioDataTransport.swift
[16/24] Compiling DebugAdapterProtocol Server.swift
/Users/admin/builder/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 |
[17/24] Compiling DebugAdapterProtocol DebugAdapterProtocol.swift
[18/24] Compiling DebugAdapterProtocol DAPServer.swift
[19/24] Compiling DebugAdapterProtocol Capabilities.swift
[20/24] Compiling DebugAdapterProtocol Initialize.swift
[21/24] Compiling DebugAdapterProtocol DAPTransport.swift
[22/24] Compiling DebugAdapterProtocol BaseProtocol+Extensions.swift
[23/24] Emitting module DebugAdapterProtocol
/Users/admin/builder/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/24] Compiling DebugAdapterProtocol BaseProtocol.swift
Build complete! (19.00s)
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" : "/Users/admin/builder/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"
}
Done.