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 smoldot-swift, reference v0.1.0 (8fe67e), with Swift 6.0 for watchOS using Xcode 16.0 on 16 Sep 2024 08:43:52 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme smoldot-swift -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/finsig/smoldot-swift.git
Reference: v0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/finsig/smoldot-swift
 * tag               v0.1.0     -> FETCH_HEAD
HEAD is now at 8fe67ec Fix release tag
Cloned https://github.com/finsig/smoldot-swift.git
Revision (git rev-parse @):
8fe67ecb85514cc467854c761d71be5e573794eb
SUCCESS checkout https://github.com/finsig/smoldot-swift.git at v0.1.0
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/finsig/smoldot-swift.git
Command line invocation:
    /Applications/Xcode-16.0.0-Release.Candidate.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/finsig/json-rpc2
Fetching from https://github.com/finsig/json
Creating working copy of package ‘json-rpc2’
Checking out 0.1.1 of package ‘json-rpc2’
Creating working copy of package ‘json’
Checking out 0.1.0 of package ‘json’
Resolve Package Graph
Resolved source packages:
  json-rpc2: https://github.com/finsig/json-rpc2 @ 0.1.1
  json: https://github.com/finsig/json @ 0.1.0
  smoldot-swift: /Users/admin/builder/spi-builder-workspace
resolved source packages: json-rpc2, json, smoldot-swift
{
  "dependencies" : [
    {
      "identity" : "json-rpc2",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/finsig/json-rpc2"
    }
  ],
  "manifest_display_name" : "smoldot-swift",
  "name" : "smoldot-swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SmoldotSwift",
      "targets" : [
        "SmoldotSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "smoldot",
      "module_type" : "BinaryTarget",
      "name" : "smoldot",
      "path" : "remote/archive/smoldot.xcframework.zip",
      "product_memberships" : [
        "SmoldotSwift"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "SmoldotSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "SmoldotSwiftTests",
      "path" : "Tests/SmoldotSwiftTests",
      "sources" : [
        "SmoldotSwiftTests.swift"
      ],
      "target_dependencies" : [
        "SmoldotSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SmoldotSwift",
      "module_type" : "SwiftTarget",
      "name" : "SmoldotSwift",
      "path" : "Sources/SmoldotSwift",
      "product_dependencies" : [
        "JSONRPC2"
      ],
      "product_memberships" : [
        "SmoldotSwift"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SmoldotSwift/Resources/kusama.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SmoldotSwift/Resources/polkadot.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SmoldotSwift/Resources/rococo.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SmoldotSwift/Resources/westend.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Chain+Resources.swift",
        "Chain+Specification.swift",
        "Chain.swift",
        "Client.swift",
        "ClientError.swift",
        "JSONObject.swift",
        "JSONRPC2Request.swift",
        "SmoldotSwift.swift"
      ],
      "target_dependencies" : [
        "CSmoldot"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSmoldot",
      "module_type" : "ClangTarget",
      "name" : "CSmoldot",
      "path" : "Sources/CSmoldot",
      "product_memberships" : [
        "SmoldotSwift"
      ],
      "sources" : [
        "bridge.c"
      ],
      "target_dependencies" : [
        "smoldot"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "smoldot-swift"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme smoldot-swift -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-16.0.0-Release.Candidate.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 smoldot-swift -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:
  json-rpc2: https://github.com/finsig/json-rpc2 @ 0.1.1
  json: https://github.com/finsig/json @ 0.1.0
  smoldot-swift: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (8 targets)
    Target 'SmoldotSwift' in project 'smoldot-swift'
        ➜ Explicit dependency on target 'SmoldotSwift' in project 'smoldot-swift'
        ➜ Explicit dependency on target 'smoldot-swift_SmoldotSwift' in project 'smoldot-swift'
        ➜ Explicit dependency on target 'CSmoldot' in project 'smoldot-swift'
        ➜ Explicit dependency on target 'JSONRPC2' in project 'json-rpc2'
    Target 'SmoldotSwift' in project 'smoldot-swift'
        ➜ Explicit dependency on target 'smoldot-swift_SmoldotSwift' in project 'smoldot-swift'
        ➜ Explicit dependency on target 'CSmoldot' in project 'smoldot-swift'
        ➜ Explicit dependency on target 'JSONRPC2' in project 'json-rpc2'
    Target 'JSONRPC2' in project 'json-rpc2'
        ➜ Explicit dependency on target 'JSONRPC2' in project 'json-rpc2'
        ➜ Explicit dependency on target 'JSON' in project 'json'
    Target 'JSONRPC2' in project 'json-rpc2'
        ➜ Explicit dependency on target 'JSON' in project 'json'
    Target 'JSON' in project 'json'
        ➜ Explicit dependency on target 'JSON' in project 'json'
    Target 'JSON' in project 'json' (no dependencies)
    Target 'CSmoldot' in project 'smoldot-swift' (no dependencies)
    Target 'smoldot-swift_SmoldotSwift' in project 'smoldot-swift' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.0.sdk -x c -c /dev/null
Build description signature: a77cf44d1d177d825418d971596c99db
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/a77cf44d1d177d825418d971596c99db.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/smoldot/smoldot.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/smoldot/smoldot.xcframework'. (in target 'CSmoldot' from project 'smoldot-swift')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/smoldot/smoldot.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/smoldot/smoldot.xcframework'. (in target 'SmoldotSwift' from project 'smoldot-swift')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/smoldot/smoldot.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/smoldot/smoldot.xcframework'. (in target 'SmoldotSwift' from project 'smoldot-swift')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme smoldot-swift
(1 failure)
Command line invocation:
    /Applications/Xcode-16.0.0-Release.Candidate.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 smoldot-swift -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:
  smoldot-swift: /Users/admin/builder/spi-builder-workspace
  json: https://github.com/finsig/json @ 0.1.0
  json-rpc2: https://github.com/finsig/json-rpc2 @ 0.1.1
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (8 targets)
    Target 'SmoldotSwift' in project 'smoldot-swift'
        ➜ Explicit dependency on target 'SmoldotSwift' in project 'smoldot-swift'
        ➜ Explicit dependency on target 'smoldot-swift_SmoldotSwift' in project 'smoldot-swift'
        ➜ Explicit dependency on target 'CSmoldot' in project 'smoldot-swift'
        ➜ Explicit dependency on target 'JSONRPC2' in project 'json-rpc2'
    Target 'SmoldotSwift' in project 'smoldot-swift'
        ➜ Explicit dependency on target 'smoldot-swift_SmoldotSwift' in project 'smoldot-swift'
        ➜ Explicit dependency on target 'CSmoldot' in project 'smoldot-swift'
        ➜ Explicit dependency on target 'JSONRPC2' in project 'json-rpc2'
    Target 'JSONRPC2' in project 'json-rpc2'
        ➜ Explicit dependency on target 'JSONRPC2' in project 'json-rpc2'
        ➜ Explicit dependency on target 'JSON' in project 'json'
    Target 'JSONRPC2' in project 'json-rpc2'
        ➜ Explicit dependency on target 'JSON' in project 'json'
    Target 'JSON' in project 'json'
        ➜ Explicit dependency on target 'JSON' in project 'json'
    Target 'JSON' in project 'json' (no dependencies)
    Target 'CSmoldot' in project 'smoldot-swift' (no dependencies)
    Target 'smoldot-swift_SmoldotSwift' in project 'smoldot-swift' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/smoldot/smoldot.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/smoldot/smoldot.xcframework'. (in target 'SmoldotSwift' from project 'smoldot-swift')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/smoldot/smoldot.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/smoldot/smoldot.xcframework'. (in target 'CSmoldot' from project 'smoldot-swift')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/smoldot/smoldot.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/smoldot/smoldot.xcframework'. (in target 'SmoldotSwift' from project 'smoldot-swift')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme smoldot-swift
(1 failure)
BUILD FAILURE 6.0 watchOS