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

Failed to build DebugAdapterProtocol, reference main (5fd6c6), with Swift 6.0 for watchOS using Xcode 16.0 on 5 Nov 2024 09:38:15 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme DebugAdapterProtocol -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -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
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ChimeHQ/DebugAdapterProtocol.git
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/ChimeHQ/JSONRPC
Creating working copy of package ‘JSONRPC’
Checking out 0.9.0 of package ‘JSONRPC’
Resolve Package Graph
Resolved source packages:
  JSONRPC: https://github.com/ChimeHQ/JSONRPC @ 0.9.0
  DebugAdapterProtocol: /Users/admin/builder/spi-builder-workspace
resolved source packages: JSONRPC, DebugAdapterProtocol
{
  "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"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "DebugAdapterProtocol"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme DebugAdapterProtocol -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme DebugAdapterProtocol -destination generic/platform=watchOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  DebugAdapterProtocol: /Users/admin/builder/spi-builder-workspace
  JSONRPC: https://github.com/ChimeHQ/JSONRPC @ 0.9.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
    Target 'DebugAdapterProtocol' in project 'DebugAdapterProtocol'
        ➜ Explicit dependency on target 'DebugAdapterProtocol' in project 'DebugAdapterProtocol'
        ➜ Explicit dependency on target 'JSONRPC' in project 'JSONRPC'
    Target 'DebugAdapterProtocol' in project 'DebugAdapterProtocol'
        ➜ Explicit dependency on target 'JSONRPC' in project 'JSONRPC'
    Target 'JSONRPC' in project 'JSONRPC'
        ➜ Explicit dependency on target 'JSONRPC' in project 'JSONRPC'
    Target 'JSONRPC' in project 'JSONRPC' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: 9a689de0a5cba73001e72486a439f8c9
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/9a689de0a5cba73001e72486a439f8c9.xcbuilddata
error: The package product 'JSONRPC' requires minimum platform version 6.0 for the watchOS platform, but this target supports 4.0 (in target 'DebugAdapterProtocol' from project 'DebugAdapterProtocol')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme DebugAdapterProtocol
(1 failure)
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme DebugAdapterProtocol -destination generic/platform=watchOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolved source packages:
  DebugAdapterProtocol: /Users/admin/builder/spi-builder-workspace
  JSONRPC: https://github.com/ChimeHQ/JSONRPC @ 0.9.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
    Target 'DebugAdapterProtocol' in project 'DebugAdapterProtocol'
        ➜ Explicit dependency on target 'DebugAdapterProtocol' in project 'DebugAdapterProtocol'
        ➜ Explicit dependency on target 'JSONRPC' in project 'JSONRPC'
    Target 'DebugAdapterProtocol' in project 'DebugAdapterProtocol'
        ➜ Explicit dependency on target 'JSONRPC' in project 'JSONRPC'
    Target 'JSONRPC' in project 'JSONRPC'
        ➜ Explicit dependency on target 'JSONRPC' in project 'JSONRPC'
    Target 'JSONRPC' in project 'JSONRPC' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'JSONRPC' requires minimum platform version 6.0 for the watchOS platform, but this target supports 4.0 (in target 'DebugAdapterProtocol' from project 'DebugAdapterProtocol')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme DebugAdapterProtocol
(1 failure)
BUILD FAILURE 6.0 watchOS