The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-log-supabase, reference main (b16c69), with Swift 6.3 for Android on 13 Apr 2026 05:23:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b16c693 Update README.md
Cloned https://github.com/binaryscraping/swift-log-supabase.git
Revision (git rev-parse @):
b16c693ce4952b5cfc7be595e45213cebc1979d0
SUCCESS checkout https://github.com/binaryscraping/swift-log-supabase.git at main
========================================
Build
========================================
Selected platform:         android
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-2":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-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.52s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.11.0 (0.96s)
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--4F562202D5529B1.txt
[4/9] Compiling Logging MetadataProvider.swift
[5/9] Compiling Logging LogHandler.swift
[6/9] Compiling Logging Logging.swift
[7/9] Emitting module Logging
[8/9] Compiling Logging LogEvent.swift
[9/9] Compiling Logging Locks.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/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: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 LogsCache.swift
[14/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: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>
BUILD FAILURE 6.3 android