Build Information
Successful build of HaskellSwift, reference master (908bff
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 06:44:54 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/webcpu/HaskellSwift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/webcpu/HaskellSwift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 908bff3 Fix: compile error
Cloned https://github.com/webcpu/HaskellSwift.git
Revision (git rev-parse @):
908bff3c624af2fe4454daf3811e07df10302ba3
SUCCESS checkout https://github.com/webcpu/HaskellSwift.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": "haskellswift",
"name": "HaskellSwift",
"url": "https://github.com/webcpu/HaskellSwift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HaskellSwift",
"dependencies": [
]
}
]
}
Fetching https://github.com/webcpu/HaskellSwift.git
[1/1728] Fetching haskellswift
Fetched https://github.com/webcpu/HaskellSwift.git from cache (1.37s)
Creating working copy for https://github.com/webcpu/HaskellSwift.git
Working copy of https://github.com/webcpu/HaskellSwift.git resolved at master (908bff3)
warning: '.resolve-product-dependencies': dependency 'haskellswift' 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/webcpu/HaskellSwift.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/19] Compiling HaskellSwift Network.HTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/HaskellSwift/Network/Network.HTTP.swift:30:13: warning: capture of 'result' with non-sendable type 'Response?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct Response {
| `- note: consider making struct 'Response' conform to the 'Sendable' protocol
12 | public let data: Data?
13 | public let response: URLResponse?
:
28 | let semaphore = DispatchSemaphore(value: 0)
29 | dataTask(with: url) {
30 | result = Response(data: $0, response: $1, error: $2 as NSError?)
| `- warning: capture of 'result' with non-sendable type 'Response?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | semaphore.signal()
32 | }.resume()
/Users/admin/builder/spi-builder-workspace/Sources/HaskellSwift/Network/Network.HTTP.swift:30:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
28 | let semaphore = DispatchSemaphore(value: 0)
29 | dataTask(with: url) {
30 | result = Response(data: $0, response: $1, error: $2 as NSError?)
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
31 | semaphore.signal()
32 | }.resume()
[4/20] Compiling HaskellSwift System.Directory.swift
[5/20] Compiling HaskellSwift GHC.Num.swift
[6/20] Compiling HaskellSwift Prelude.swift
[7/20] Compiling HaskellSwift Data.Maybe.swift
[8/20] Compiling HaskellSwift Data.Ord.swift
[9/20] Compiling HaskellSwift Data.Traversable.swift
[10/20] Compiling HaskellSwift Data.Tuple.swift
[11/20] Compiling HaskellSwift Control.Applicative.swift
[12/20] Compiling HaskellSwift Control.Monad.swift
[13/20] Compiling HaskellSwift Control.Parallel.Strategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/HaskellSwift/Control/Control.Parallel.Strategies.swift:15:63: warning: converting non-sendable function value to '@Sendable (Int) -> Void' may introduce data races
13 | var results = [U?](repeating: nil, count: len)
14 | let process = { (i: Int) -> Void in results[i] = transform(xs[i]) }
15 | DispatchQueue.concurrentPerform(iterations: len, execute: process)
| `- warning: converting non-sendable function value to '@Sendable (Int) -> Void' may introduce data races
16 | return map(fromJust, results)
17 | }
[14/20] Compiling HaskellSwift Data.Char.swift
/Users/admin/builder/spi-builder-workspace/Sources/HaskellSwift/Control/Control.Parallel.Strategies.swift:15:63: warning: converting non-sendable function value to '@Sendable (Int) -> Void' may introduce data races
13 | var results = [U?](repeating: nil, count: len)
14 | let process = { (i: Int) -> Void in results[i] = transform(xs[i]) }
15 | DispatchQueue.concurrentPerform(iterations: len, execute: process)
| `- warning: converting non-sendable function value to '@Sendable (Int) -> Void' may introduce data races
16 | return map(fromJust, results)
17 | }
[15/20] Emitting module HaskellSwift
/Users/admin/builder/spi-builder-workspace/Sources/HaskellSwift/Data/Data.Either.swift:39:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
37 | }
38 |
39 | extension String: Error {}
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
40 |
41 | //MARK: fromLeft :: Either a b -> a
[16/20] Compiling HaskellSwift Data.Either.swift
/Users/admin/builder/spi-builder-workspace/Sources/HaskellSwift/Data/Data.Either.swift:39:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
37 | }
38 |
39 | extension String: Error {}
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
40 |
41 | //MARK: fromLeft :: Either a b -> a
[17/20] Compiling HaskellSwift Data.Function.swift
/Users/admin/builder/spi-builder-workspace/Sources/HaskellSwift/Data/Data.Either.swift:39:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
37 | }
38 |
39 | extension String: Error {}
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
40 |
41 | //MARK: fromLeft :: Either a b -> a
[18/20] Compiling HaskellSwift Data.Functor.swift
[19/20] Compiling HaskellSwift Data.List.swift
[20/20] Compiling HaskellSwift System.FilePath.Posix.swift
Build complete! (17.26s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "HaskellSwift",
"name" : "HaskellSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "HaskellSwift",
"targets" : [
"HaskellSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HaskellSwift",
"module_type" : "SwiftTarget",
"name" : "HaskellSwift",
"path" : "Sources/HaskellSwift",
"product_memberships" : [
"HaskellSwift"
],
"sources" : [
"Control/Control.Applicative.swift",
"Control/Control.Monad.swift",
"Control/Control.Parallel.Strategies.swift",
"Data/Data.Char.swift",
"Data/Data.Either.swift",
"Data/Data.Function.swift",
"Data/Data.Functor.swift",
"Data/Data.List.swift",
"Data/Data.Maybe.swift",
"Data/Data.Ord.swift",
"Data/Data.Traversable.swift",
"Data/Data.Tuple.swift",
"GHC/GHC.Num.swift",
"Language/Prelude.swift",
"Network/Network.HTTP.swift",
"System/System.Directory.swift",
"System/System.FilePath.Posix.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.