Build Information
Failed to build GoTrue with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/supabase-community/gotrue-swift.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/supabase-community/gotrue-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1f2c61d Update README.md
Cloned https://github.com/supabase-community/gotrue-swift.git
Revision (git rev-parse @):
1f2c61d1c83887f7eb7835b07e03779a7c10f5c1
SUCCESS checkout https://github.com/supabase-community/gotrue-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/supabase-community/gotrue-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/WeTransfer/Mocker
Fetching https://github.com/kean/URLQueryEncoder
Fetching https://github.com/kean/Get
Fetching https://github.com/kishikawakatsumi/KeychainAccess
[1/2329] Fetching get
[793/2457] Fetching get, urlqueryencoder
[806/6843] Fetching get, urlqueryencoder, keychainaccess
[1859/8705] Fetching get, urlqueryencoder, keychainaccess, mocker
Fetched https://github.com/kean/URLQueryEncoder from cache (0.26s)
[7042/8577] Fetching get, keychainaccess, mocker
Fetched https://github.com/WeTransfer/Mocker from cache (0.45s)
Fetched https://github.com/kean/Get from cache (0.46s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.46s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.0 (0.43s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.44s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.0 (0.43s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.1.5 (0.45s)
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
Creating working copy for https://github.com/WeTransfer/Mocker
Working copy of https://github.com/WeTransfer/Mocker resolved at 3.0.0
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.1.5
Creating working copy for https://github.com/kean/URLQueryEncoder
Working copy of https://github.com/kean/URLQueryEncoder resolved at 0.2.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/15] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
25 |
26 | import Foundation
27 | import Security
| `- error: no such module 'Security'
28 | #if os(iOS) || os(OSX)
29 | import LocalAuthentication
[7/15] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
25 |
26 | import Foundation
27 | import Security
| `- error: no such module 'Security'
28 | #if os(iOS) || os(OSX)
29 | import LocalAuthentication
[8/15] Emitting module URLQueryEncoder
[9/15] Compiling URLQueryEncoder URLQueryEncoder.swift
[10/15] Emitting module Get
error: compile command failed due to signal 6 (use -v to see invocation)
BUILD FAILURE 6.0 linux