Build Information
Successful build of functions-swift 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/supabase-community/functions-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/supabase-community/functions-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1870b24 Update README.md
Cloned https://github.com/supabase-community/functions-swift.git
Revision (git rev-parse @):
1870b2495ec452a7bd4ba9a92c35984ee5d1e915
SUCCESS checkout https://github.com/supabase-community/functions-swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/supabase-community/functions-swift.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/9] Compiling Get Response.swift
[5/9] Compiling Get APIClient.swift
[6/9] Compiling Get APIClientDelegate.swift
[7/9] Compiling Get DataLoader.swift
[8/9] Compiling Get Request.swift
[9/9] Emitting module Get
[10/13] Compiling Functions Version.swift
[11/13] Compiling Functions Types.swift
[12/13] Emitting module Functions
[13/13] Compiling Functions FunctionsClient.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:124:23: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
110 | }
111 |
112 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
113 | public let rawValue: String
114 |
:
122 |
123 | public static let get: HTTPMethod = "GET"
124 | public static let post: HTTPMethod = "POST"
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'post' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | public static let patch: HTTPMethod = "PATCH"
126 | public static let put: HTTPMethod = "PUT"
/Users/admin/builder/spi-builder-workspace/Sources/Functions/FunctionsClient.swift:1:17: warning: '@preconcurrency' attribute on module 'Foundation' has no effect
1 | @preconcurrency import Foundation
| `- warning: '@preconcurrency' attribute on module 'Foundation' has no effect
2 | @preconcurrency import Get
3 |
Build complete! (20.98s)
Fetching https://github.com/kean/Get
[1/2329] Fetching get
Fetched https://github.com/kean/Get from cache (1.23s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.1.6 (0.66s)
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.1.6
Build complete.
{
"dependencies" : [
{
"identity" : "get",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.5",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kean/Get"
}
],
"manifest_display_name" : "functions-swift",
"name" : "functions-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Functions",
"targets" : [
"Functions"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FunctionsTests",
"module_type" : "SwiftTarget",
"name" : "FunctionsTests",
"path" : "Tests/FunctionsTests",
"sources" : [
"FunctionInvokeOptionsTests.swift"
],
"target_dependencies" : [
"Functions"
],
"type" : "test"
},
{
"c99name" : "Functions",
"module_type" : "SwiftTarget",
"name" : "Functions",
"path" : "Sources/Functions",
"product_dependencies" : [
"Get"
],
"product_memberships" : [
"Functions"
],
"sources" : [
"FunctionsClient.swift",
"Types.swift",
"Version.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.