The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-log-supabase, reference 0.1.0 (2b9e87), with Swift 6.3 for Wasm on 13 Apr 2026 05:24:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/binaryscraping/swift-log-supabase.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-log
[1/6521] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.59s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.11.0 (1.01s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.11.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Emitting module Logging
[5/9] Compiling Logging LogHandler.swift
[6/9] Compiling Logging MetadataProvider.swift
[7/9] Compiling Logging Locks.swift
[8/9] Compiling Logging LogEvent.swift
[9/9] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/14] Compiling SupabaseLogging LogEntry.swift
/host/spi-builder-workspace/Sources/SupabaseLogging/LogEntry.swift:16:1: warning: extension declares a conformance of imported type 'MetadataValue' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
14 | }
15 |
16 | extension Logger.MetadataValue: Codable {
   | |- warning: extension declares a conformance of imported type 'MetadataValue' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |
18 |   public init(from decoder: Decoder) throws {
[12/14] Emitting module SupabaseLogging
/host/spi-builder-workspace/Sources/SupabaseLogging/LogEntry.swift:16:1: warning: extension declares a conformance of imported type 'MetadataValue' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
14 | }
15 |
16 | extension Logger.MetadataValue: Codable {
   | |- warning: extension declares a conformance of imported type 'MetadataValue' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |
18 |   public init(from decoder: Decoder) throws {
/host/spi-builder-workspace/Sources/SupabaseLogging/LogsCache.swift:8:23: error: cannot find 'DispatchQueue' in scope
 6 |   private let maximumNumberOfLogsToPopAtOnce = 100
 7 |
 8 |   private let queue = DispatchQueue(
   |                       `- error: cannot find 'DispatchQueue' in scope
 9 |     label: "co.binaryscraping.supabase-log-cache", attributes: .concurrent)
10 |   private var cachedLogs: [T] = []
/host/spi-builder-workspace/Sources/SupabaseLogging/LogsCache.swift:9:65: error: cannot infer contextual base in reference to member 'concurrent'
 7 |
 8 |   private let queue = DispatchQueue(
 9 |     label: "co.binaryscraping.supabase-log-cache", attributes: .concurrent)
   |                                                                 `- error: cannot infer contextual base in reference to member 'concurrent'
10 |   private var cachedLogs: [T] = []
11 |
/host/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:34:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
 32 | }
 33 |
 34 | public struct SupabaseLogHandler: LogHandler {
    |               `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
 35 |   public var metadata: Logger.Metadata = [:]
 36 |   public var logLevel: Logger.Level = .debug
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 |     ///
144 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
146 |
147 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
254 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
255 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
257 |         self.log(
258 |             level: event.level,
/host/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:72:30: error: cannot find 'DispatchQueue' in scope
 70 |   private var sendTimer: Timer?
 71 |
 72 |   private static let queue = DispatchQueue(
    |                              `- error: cannot find 'DispatchQueue' in scope
 73 |     label: "co.binaryscraping.supabase-log-manager.instances")
 74 |   private static var instances: [SupabaseLogConfig: SupabaseLogManager] = [:]
/host/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:125:4: error: Objective-C interoperability is disabled
123 |   }
124 |
125 |   @objc
    |    `- error: Objective-C interoperability is disabled
126 |   private func checkForLogsAndSend() {
127 |     let logs = cache.pop()
/host/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:175:4: error: Objective-C interoperability is disabled
173 |
174 | extension SupabaseLogManager {
175 |   @objc func appWillTerminate() {
    |    `- error: Objective-C interoperability is disabled
176 |     if config.isDebug {
177 |       print(#function)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[13/14] Compiling SupabaseLogging SupabaseLogHandler.swift
/host/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:34:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
 32 | }
 33 |
 34 | public struct SupabaseLogHandler: LogHandler {
    |               `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
 35 |   public var metadata: Logger.Metadata = [:]
 36 |   public var logLevel: Logger.Level = .debug
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 |     ///
144 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
146 |
147 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
254 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
255 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
257 |         self.log(
258 |             level: event.level,
/host/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:72:30: error: cannot find 'DispatchQueue' in scope
 70 |   private var sendTimer: Timer?
 71 |
 72 |   private static let queue = DispatchQueue(
    |                              `- error: cannot find 'DispatchQueue' in scope
 73 |     label: "co.binaryscraping.supabase-log-manager.instances")
 74 |   private static var instances: [SupabaseLogConfig: SupabaseLogManager] = [:]
/host/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:125:4: error: Objective-C interoperability is disabled
123 |   }
124 |
125 |   @objc
    |    `- error: Objective-C interoperability is disabled
126 |   private func checkForLogsAndSend() {
127 |     let logs = cache.pop()
/host/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:175:4: error: Objective-C interoperability is disabled
173 |
174 | extension SupabaseLogManager {
175 |   @objc func appWillTerminate() {
    |    `- error: Objective-C interoperability is disabled
176 |     if config.isDebug {
177 |       print(#function)
/host/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:115:17: error: '#selector' can only be used with the Objective-C runtime
113 |     sendTimer = Timer.scheduledTimer(
114 |       timeInterval: minimumWaitTimeBetweenRequests, target: self,
115 |       selector: #selector(checkForLogsAndSend), userInfo: nil, repeats: true)
    |                 `- error: '#selector' can only be used with the Objective-C runtime
116 |
117 |     // Fire the timer to attempt to send any cached logs from a previous session.
/host/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:138:19: error: cannot find 'URLRequest' in scope
136 |     }
137 |
138 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
139 |     request.httpMethod = "POST"
140 |     request.addValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:145:42: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
143 |     request.httpBody = data
144 |
145 |     let config = URLSessionConfiguration.default
    |                                          `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
146 |     config.waitsForConnectivity = true
147 |     let session = URLSession(configuration: config)
/host/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:147:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
145 |     let config = URLSessionConfiguration.default
146 |     config.waitsForConnectivity = true
147 |     let session = URLSession(configuration: config)
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
148 |
149 |     session.dataTask(with: request) { _, response, error in
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[14/14] Compiling SupabaseLogging LogsCache.swift
/host/spi-builder-workspace/Sources/SupabaseLogging/LogsCache.swift:8:23: error: cannot find 'DispatchQueue' in scope
 6 |   private let maximumNumberOfLogsToPopAtOnce = 100
 7 |
 8 |   private let queue = DispatchQueue(
   |                       `- error: cannot find 'DispatchQueue' in scope
 9 |     label: "co.binaryscraping.supabase-log-cache", attributes: .concurrent)
10 |   private var cachedLogs: [T] = []
/host/spi-builder-workspace/Sources/SupabaseLogging/LogsCache.swift:9:65: error: cannot infer contextual base in reference to member 'concurrent'
 7 |
 8 |   private let queue = DispatchQueue(
 9 |     label: "co.binaryscraping.supabase-log-cache", attributes: .concurrent)
   |                                                                 `- error: cannot infer contextual base in reference to member 'concurrent'
10 |   private var cachedLogs: [T] = []
11 |
/host/spi-builder-workspace/Sources/SupabaseLogging/LogsCache.swift:22:24: error: cannot infer contextual base in reference to member 'barrier'
20 |   func pop() -> [T] {
21 |     var poppedLogs: [T] = []
22 |     queue.sync(flags: .barrier) {
   |                        `- error: cannot infer contextual base in reference to member 'barrier'
23 |       let sliceSize = min(maximumNumberOfLogsToPopAtOnce, cachedLogs.count)
24 |       poppedLogs = Array(cachedLogs[..<sliceSize])
/host/spi-builder-workspace/Sources/SupabaseLogging/LogsCache.swift:31:24: error: cannot infer contextual base in reference to member 'barrier'
29 |
30 |   func backupCache() {
31 |     queue.sync(flags: .barrier) {
   |                        `- error: cannot infer contextual base in reference to member 'barrier'
32 |       do {
33 |         let data = try JSONSerialization.data(withJSONObject: cachedLogs)
BUILD FAILURE 6.3 wasm