Build Information
Successful build of CryptoCurrencyKit, reference master (61b725
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 02:24:06 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/iCell/CryptoCurrencyKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iCell/CryptoCurrencyKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 61b725a update podspec
Cloned https://github.com/iCell/CryptoCurrencyKit.git
Revision (git rev-parse @):
61b725a65643ff9668c02e6915982ace109e2716
SUCCESS checkout https://github.com/iCell/CryptoCurrencyKit.git at master
========================================
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": "cryptocurrencykit",
"name": "CryptoCurrencyKit",
"url": "https://github.com/iCell/CryptoCurrencyKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CryptoCurrencyKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/iCell/CryptoCurrencyKit.git
[1/137] Fetching cryptocurrencykit
Fetched https://github.com/iCell/CryptoCurrencyKit.git from cache (0.70s)
Creating working copy for https://github.com/iCell/CryptoCurrencyKit.git
Working copy of https://github.com/iCell/CryptoCurrencyKit.git resolved at master (61b725a)
warning: '.resolve-product-dependencies': dependency 'cryptocurrencykit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/iCell/CryptoCurrencyKit.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/8] Compiling CryptoCurrencyKit Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/Request.swift:37:25: warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseA<T>) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | do {
36 | let objects = try JSONDecoder().decode([T].self, from: data)
37 | response?(ResponseA.success(objects))
| |- warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseA<T>) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
38 | } catch let decodeE {
39 | response?(ResponseA.failure(error: decodeE))
/Users/admin/builder/spi-builder-workspace/Sources/Request.swift:37:25: warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseA<T>) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | do {
36 | let objects = try JSONDecoder().decode([T].self, from: data)
37 | response?(ResponseA.success(objects))
| |- warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseA<T>) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
38 | } catch let decodeE {
39 | response?(ResponseA.failure(error: decodeE))
/Users/admin/builder/spi-builder-workspace/Sources/Request.swift:56:25: warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseD<T>) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | do {
55 | let object = try JSONDecoder().decode(T.self, from: data)
56 | response?(ResponseD.success(object))
| |- warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseD<T>) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | } catch let decodeE {
58 | response?(ResponseD.failure(error: decodeE))
/Users/admin/builder/spi-builder-workspace/Sources/Request.swift:56:25: warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseD<T>) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | do {
55 | let object = try JSONDecoder().decode(T.self, from: data)
56 | response?(ResponseD.success(object))
| |- warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseD<T>) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | } catch let decodeE {
58 | response?(ResponseD.failure(error: decodeE))
/Users/admin/builder/spi-builder-workspace/Sources/Request.swift:73:21: warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseRaw) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | DispatchQueue.main.async {
72 | if let data = data {
73 | response?(ResponseRaw.success(raw: data))
| |- warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseRaw) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
74 | } else if let error = error {
75 | response?(ResponseRaw.failure(error: error))
/Users/admin/builder/spi-builder-workspace/Sources/Request.swift:73:21: warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseRaw) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | DispatchQueue.main.async {
72 | if let data = data {
73 | response?(ResponseRaw.success(raw: data))
| |- warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseRaw) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
74 | } else if let error = error {
75 | response?(ResponseRaw.failure(error: error))
[4/8] Compiling CryptoCurrencyKit Ticker.swift
[5/8] Compiling CryptoCurrencyKit Global.swift
[6/8] Compiling CryptoCurrencyKit Graph.swift
[7/8] Compiling CryptoCurrencyKit CryptoCurrencyKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/CryptoCurrencyKit.swift:46:44: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
44 | do {
45 | if let decoded = try JSONSerialization.jsonObject(with: data, options: .allowFragments) as? [String: [[Double]]], let values = decoded[graph.rawValue] {
46 | let lines = values.flatMap { ele -> GraphLine? in
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
47 | if ele.count == 2 {
48 | return GraphLine(value: ele[1], timestamp: ele[0])
[8/8] Emitting module CryptoCurrencyKit
Build complete! (7.12s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CryptoCurrencyKit",
"name" : "CryptoCurrencyKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CryptoCurrencyKit",
"targets" : [
"CryptoCurrencyKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CryptoCurrencyKit",
"module_type" : "SwiftTarget",
"name" : "CryptoCurrencyKit",
"path" : ".",
"product_memberships" : [
"CryptoCurrencyKit"
],
"sources" : [
"Sources/CryptoCurrencyKit.swift",
"Sources/Global.swift",
"Sources/Graph.swift",
"Sources/Request.swift",
"Sources/Ticker.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.