Build Information
Successful build of Swiftfall with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bmbowdish/swiftfall.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bmbowdish/swiftfall
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6ba0779 Update README for getCards function in Set
Cloned https://github.com/bmbowdish/swiftfall.git
Revision (git rev-parse @):
6ba0779a4c8562f4af84cca0c56ab6ecf8421c17
SUCCESS checkout https://github.com/bmbowdish/swiftfall.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/bmbowdish/swiftfall.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/4] Emitting module Swiftfall
[4/4] Compiling Swiftfall Swiftfall.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftfall/Swiftfall.swift:558:15: warning: expression implicitly coerced from 'URL?' to 'Any'
556 |
557 | let url = URL(string: call)
558 | print(url)
| |- warning: expression implicitly coerced from 'URL?' to 'Any'
| |- note: provide a default value to avoid this warning
| |- note: force-unwrap the value to avoid this warning
| `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
559 | let task = URLSession.shared.dataTask(with: url!) {(data, response, error) in
560 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftfall/Swiftfall.swift:573:21: warning: capture of 'completion' with non-sendable type '(Swiftfall.Result<ResultType>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
571 | // Decode JSON file starting from Response struct.
572 | let decoded:ResultType = try decoder.decode(ResultType.self, from: content)
573 | completion(.success(decoded))
| |- warning: capture of 'completion' with non-sendable type '(Swiftfall.Result<ResultType>) -> ()' 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'
574 | } else {
575 | let decoded:ScryfallError = try decoder.decode(ScryfallError.self, from: content)
Build complete! (17.60s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Swiftfall",
"name" : "Swiftfall",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Swiftfall",
"targets" : [
"Swiftfall"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Tests",
"module_type" : "SwiftTarget",
"name" : "Tests",
"path" : "Tests",
"sources" : [
"LinuxMain.swift",
"Tests.swift"
],
"target_dependencies" : [
"Swiftfall"
],
"type" : "test"
},
{
"c99name" : "Swiftfall",
"module_type" : "SwiftTarget",
"name" : "Swiftfall",
"path" : "Sources/Swiftfall",
"product_memberships" : [
"Swiftfall"
],
"sources" : [
"Swiftfall.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.