Build Information
Successful build of swift-log-supabase, reference 0.1.0 (2b9e87
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 01:54:17 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/binaryscraping/swift-log-supabase.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/binaryscraping/swift-log-supabase
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 2b9e87d Rename library
Cloned https://github.com/binaryscraping/swift-log-supabase.git
Revision (git rev-parse @):
2b9e87db89132a0edde2174279ec3c3338d1bd52
SUCCESS checkout https://github.com/binaryscraping/swift-log-supabase.git at 0.1.0
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (0.58s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.4.2 (1.18s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.4.2
========================================
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": "swift-log-supabase",
"name": "swift-log-supabase",
"url": "https://github.com/binaryscraping/swift-log-supabase.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log-supabase",
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log",
"version": "1.6.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/binaryscraping/swift-log-supabase.git
[2/103] Fetching swift-log-supabase
Fetched https://github.com/binaryscraping/swift-log-supabase.git from cache (0.60s)
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (0.48s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.99s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/binaryscraping/swift-log-supabase.git
Working copy of https://github.com/binaryscraping/swift-log-supabase.git resolved at 0.1.0 (2b9e87d)
warning: '.resolve-product-dependencies': dependency 'swift-log-supabase' is not used by any target
Found 1 product dependencies
- swift-log
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/binaryscraping/swift-log-supabase.git
https://github.com/binaryscraping/swift-log-supabase.git
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
}
],
"manifest_display_name" : "swift-log-supabase",
"name" : "swift-log-supabase",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "SupabaseLogging",
"targets" : [
"SupabaseLogging"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SupabaseLoggingTests",
"module_type" : "SwiftTarget",
"name" : "SupabaseLoggingTests",
"path" : "Tests/SupabaseLoggingTests",
"sources" : [
"SupabaseLogHandlerTests.swift"
],
"target_dependencies" : [
"SupabaseLogging"
],
"type" : "test"
},
{
"c99name" : "SupabaseLogging",
"module_type" : "SwiftTarget",
"name" : "SupabaseLogging",
"path" : "Sources/SupabaseLogging",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"SupabaseLogging"
],
"sources" : [
"LogEntry.swift",
"LogsCache.swift",
"SupabaseLogHandler.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/7] Compiling Logging Logging.swift
[5/7] Emitting module Logging
[6/7] Compiling Logging LogHandler.swift
[7/7] Compiling Logging Locks.swift
[8/11] Compiling SupabaseLogging LogEntry.swift
[9/11] Compiling SupabaseLogging LogsCache.swift
[10/11] Emitting module SupabaseLogging
/Users/admin/builder/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:74:22: warning: static property 'instances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 | private static let queue = DispatchQueue(
73 | label: "co.binaryscraping.supabase-log-manager.instances")
74 | private static var instances: [SupabaseLogConfig: SupabaseLogManager] = [:]
| |- warning: static property 'instances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | static func shared(_ config: SupabaseLogConfig) -> SupabaseLogManager {
[11/11] Compiling SupabaseLogging SupabaseLogHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:74:22: warning: static property 'instances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 | private static let queue = DispatchQueue(
73 | label: "co.binaryscraping.supabase-log-manager.instances")
74 | private static var instances: [SupabaseLogConfig: SupabaseLogManager] = [:]
| |- warning: static property 'instances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | static func shared(_ config: SupabaseLogConfig) -> SupabaseLogManager {
/Users/admin/builder/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:162:12: warning: capture of 'self' with non-sendable type 'SupabaseLogManager' in a '@Sendable' closure
62 | }
63 |
64 | final class SupabaseLogManager {
| `- note: class 'SupabaseLogManager' does not conform to the 'Sendable' protocol
65 |
66 | let cache: LogsCache<LogEntry>
:
160 | }
161 | } catch {
162 | if self.config.isDebug {
| `- warning: capture of 'self' with non-sendable type 'SupabaseLogManager' in a '@Sendable' closure
163 | print(error)
164 | }
/Users/admin/builder/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:167:25: warning: capture of 'logs' with non-sendable type '[LogEntry]' in a '@Sendable' closure
165 |
166 | // An error ocurred, put logs back in cache.
167 | self.cache.push(logs)
| `- warning: capture of 'logs' with non-sendable type '[LogEntry]' in a '@Sendable' closure
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/SupabaseLogging/LogEntry.swift:4:8: note: consider making struct 'LogEntry' conform to the 'Sendable' protocol
2 | import Logging
3 |
4 | struct LogEntry: Codable {
| `- note: consider making struct 'LogEntry' conform to the 'Sendable' protocol
5 | let label: String
6 | let file: String
Build complete! (7.71s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
}
],
"manifest_display_name" : "swift-log-supabase",
"name" : "swift-log-supabase",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "SupabaseLogging",
"targets" : [
"SupabaseLogging"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SupabaseLoggingTests",
"module_type" : "SwiftTarget",
"name" : "SupabaseLoggingTests",
"path" : "Tests/SupabaseLoggingTests",
"sources" : [
"SupabaseLogHandlerTests.swift"
],
"target_dependencies" : [
"SupabaseLogging"
],
"type" : "test"
},
{
"c99name" : "SupabaseLogging",
"module_type" : "SwiftTarget",
"name" : "SupabaseLogging",
"path" : "Sources/SupabaseLogging",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"SupabaseLogging"
],
"sources" : [
"LogEntry.swift",
"LogsCache.swift",
"SupabaseLogHandler.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.