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 main (9d4a9b), with Swift 6.0 for tvOS using Xcode 16.0 on 5 Nov 2024 08:07:00 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme smoldot-swift -destination generic/platform=tvOS 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/finsig/smoldot-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/finsig/smoldot-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9d4a9b1 Update README.md
Cloned https://github.com/finsig/smoldot-swift.git
Revision (git rev-parse @):
9d4a9b15fe449f44b792091247c56947163732b6
SUCCESS checkout https://github.com/finsig/smoldot-swift.git at main
========================================
Build
========================================
Selected platform:         tvOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/finsig/smoldot-swift.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/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:
  smoldot-swift: /Users/admin/builder/spi-builder-workspace
  json-rpc2: https://github.com/finsig/json-rpc2 @ 0.1.1
  json: https://github.com/finsig/json @ 0.1.0
resolved source packages: smoldot-swift, json-rpc2, json
{
  "dependencies" : [
    {
      "identity" : "json-rpc2",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.1",
            "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",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SmoldotSwiftTests/Resources/kusama.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SmoldotSwiftTests/Resources/polkadot.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SmoldotSwiftTests/Resources/rococo.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SmoldotSwiftTests/Resources/westend.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "SmoldotSwiftTests.swift"
      ],
      "target_dependencies" : [
        "SmoldotSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SmoldotSwift",
      "module_type" : "SwiftTarget",
      "name" : "SmoldotSwift",
      "path" : "Sources/SmoldotSwift",
      "product_dependencies" : [
        "JSONRPC2"
      ],
      "product_memberships" : [
        "SmoldotSwift"
      ],
      "sources" : [
        "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.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme smoldot-swift -destination generic/platform=tvOS 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 smoldot-swift -destination generic/platform=tvOS "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: https://github.com/finsig/json @ 0.1.0
  json-rpc2: https://github.com/finsig/json-rpc2 @ 0.1.1
  smoldot-swift: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (7 targets)
    Target 'SmoldotSwift' in project 'smoldot-swift'
        ➜ Explicit dependency on target '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 '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)
GatherProvisioningInputs
CreateBuildDescription
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/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -x c -c /dev/null
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 1b9a2f44ed135dbeb80554cfa6157daa
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/1b9a2f44ed135dbeb80554cfa6157daa.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/smoldot/smoldot.xcframework:1:1: error: While building for tvOS, 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 tvOS, 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 tvOS, 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')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme smoldot-swift
(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 smoldot-swift -destination generic/platform=tvOS "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:
  json-rpc2: https://github.com/finsig/json-rpc2 @ 0.1.1
  smoldot-swift: /Users/admin/builder/spi-builder-workspace
  json: https://github.com/finsig/json @ 0.1.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (7 targets)
    Target 'SmoldotSwift' in project 'smoldot-swift'
        ➜ Explicit dependency on target '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 '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)
GatherProvisioningInputs
CreateBuildDescription
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/smoldot/smoldot.xcframework:1:1: error: While building for tvOS, 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 tvOS, 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 tvOS, 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 tvOS