Build Information
Failed to build swift-log-supabase, reference main (b16c69
), with Swift 6.2 (beta) for Linux on 19 Jun 2025 14:28:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/binaryscraping/swift-log-supabase.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-log
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.42s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.92s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Compiling Logging Locks.swift
[7/8] Emitting module Logging
[8/8] Compiling Logging Logging.swift
[10/13] Compiling SupabaseLogging SupabaseLogHandler.swift
/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
/host/spi-builder-workspace/Sources/SupabaseLogging/SupabaseLogHandler.swift:157:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
155 | guard
156 | let httpResponse = response as? HTTPURLResponse,
157 | 200..<300 ~= httpResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
158 | else {
159 | throw URLError(.badServerResponse)
[11/13] Compiling SupabaseLogging LogsCache.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/13] 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 {
[13/13] 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: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)
BUILD FAILURE 6.2 linux