Build Information
Successful build of smoldot-swift, reference v0.1.0 (8fe67e
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 08:07:10 UTC.
Swift 6 data race errors: 0
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/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
Fetching https://github.com/finsig/json-rpc2
[1/42] Fetching json-rpc2
Fetched https://github.com/finsig/json-rpc2 from cache (0.65s)
Computing version for https://github.com/finsig/json-rpc2
Computed https://github.com/finsig/json-rpc2 at 0.1.1 (3.06s)
Fetching https://github.com/finsig/json
[1/26] Fetching json
Fetched https://github.com/finsig/json from cache (0.67s)
Computing version for https://github.com/finsig/json
Computed https://github.com/finsig/json at 0.1.0 (0.61s)
Creating working copy for https://github.com/finsig/json
Working copy of https://github.com/finsig/json resolved at 0.1.0
Creating working copy for https://github.com/finsig/json-rpc2
Working copy of https://github.com/finsig/json-rpc2 resolved at 0.1.1
[6379/65790399] Downloading https://github.com/finsig/smoldot-swift/releases/download/v0.1.0/smoldot.xcframework.zip
Downloading binary artifact https://github.com/finsig/smoldot-swift/releases/download/v0.1.0/smoldot.xcframework.zip
Downloaded https://github.com/finsig/smoldot-swift/releases/download/v0.1.0/smoldot.xcframework.zip (4.05s)
========================================
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": "smoldot-swift",
"name": "smoldot-swift",
"url": "https://github.com/finsig/smoldot-swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/smoldot-swift",
"dependencies": [
{
"identity": "json-rpc2",
"name": "json-rpc2",
"url": "https://github.com/finsig/json-rpc2",
"version": "0.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/json-rpc2",
"dependencies": [
{
"identity": "json",
"name": "json",
"url": "https://github.com/finsig/json",
"version": "0.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/json",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/finsig/smoldot-swift.git
[1/489] Fetching smoldot-swift
Fetched https://github.com/finsig/smoldot-swift.git from cache (1.25s)
Fetching https://github.com/finsig/json-rpc2 from cache
Fetched https://github.com/finsig/json-rpc2 from cache (0.44s)
Computing version for https://github.com/finsig/json-rpc2
Computed https://github.com/finsig/json-rpc2 at 0.1.1 (0.03s)
Fetching https://github.com/finsig/json from cache
Fetched https://github.com/finsig/json from cache (0.46s)
Computing version for https://github.com/finsig/json
Computed https://github.com/finsig/json at 0.1.0 (0.03s)
Creating working copy for https://github.com/finsig/json
Working copy of https://github.com/finsig/json resolved at 0.1.0
Creating working copy for https://github.com/finsig/json-rpc2
Working copy of https://github.com/finsig/json-rpc2 resolved at 0.1.1
Creating working copy for https://github.com/finsig/smoldot-swift.git
Working copy of https://github.com/finsig/smoldot-swift.git resolved at v0.1.0 (8fe67ec)
Fetching binary artifact https://github.com/finsig/smoldot-swift/releases/download/v0.1.0/smoldot.xcframework.zip from cache
Fetched https://github.com/finsig/smoldot-swift/releases/download/v0.1.0/smoldot.xcframework.zip from cache (2.70s)
warning: '.resolve-product-dependencies': dependency 'smoldot-swift' is not used by any target
Found 1 product dependencies
- json-rpc2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/finsig/smoldot-swift.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/10] Write sources
[1/10] Copying libsmoldot_c_ffi.a
[2/10] Write sources
[3/10] Copying kusama.json
[4/10] Copying polkadot.json
[6/10] Copying westend.json
[7/10] Copying rococo.json
[8/10] Write swift-version--7754E27361AE5C74.txt
[9/10] Compiling CSmoldot bridge.c
[11/14] Compiling JSON Object.swift
[12/14] Emitting module JSON
[13/14] Compiling JSON Primitive.swift
[14/14] Compiling JSON JSON.swift
[15/24] Compiling JSONRPC2 JSONRPC2.swift
[16/25] Compiling JSONRPC2 Notification.swift
[17/25] Compiling JSONRPC2 RequestParameters.swift
[18/25] Compiling JSONRPC2 Identifier.swift
[19/25] Compiling JSONRPC2 Batch.swift
[20/25] Compiling JSONRPC2 JSONRPC2ErrorCode.swift
[21/25] Compiling JSONRPC2 JSONRPCVersion.swift
[22/25] Emitting module JSONRPC2
[23/25] Compiling JSONRPC2 JSONRPC2Error.swift
[24/25] Compiling JSONRPC2 Request.swift
[25/25] Compiling JSONRPC2 Response.swift
[26/35] Compiling SmoldotSwift JSONObject.swift
[27/35] Compiling SmoldotSwift JSONRPC2Request.swift
[28/35] Compiling SmoldotSwift Chain.swift
[29/35] Compiling SmoldotSwift resource_bundle_accessor.swift
[30/35] Compiling SmoldotSwift SmoldotSwift.swift
[31/35] Compiling SmoldotSwift ClientError.swift
[32/35] Compiling SmoldotSwift Chain+Specification.swift
[33/35] Compiling SmoldotSwift Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmoldotSwift/Client.swift:104:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
102 |
103 | AsyncThrowingStream<String,Error>(String.self, bufferingPolicy: bufferingPolicy, { continuation in
104 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
105 | while (true) {
106 | guard let id = chain.id else {
| `- note: closure captures 'chain' which is accessible to code in the current task
107 | throw ClientError(message: "Chain not found in client.")
108 | }
[34/35] Emitting module SmoldotSwift
[35/35] Compiling SmoldotSwift Chain+Resources.swift
Build complete! (20.90s)
Build complete.
{
"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"
}
Done.