The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GoTrue with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.25.4
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:             5.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/kishikawakatsumi/KeychainAccess
Fetching https://github.com/kean/Get
Fetching https://github.com/kean/URLQueryEncoder
[1/2261] Fetching get
[522/6607] Fetching get, keychainaccess
[1174/6735] Fetching get, keychainaccess, urlqueryencoder
Fetching https://github.com/WeTransfer/Mocker
Fetched https://github.com/kean/URLQueryEncoder (0.38s)
Fetched https://github.com/kean/Get (0.38s)
[3825/4346] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess (0.62s)
[1/1810] Fetching mocker
Fetched https://github.com/WeTransfer/Mocker (0.37s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.0 (0.38s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.38s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.0 (0.39s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.1.5 (0.39s)
Creating working copy for https://github.com/kean/URLQueryEncoder
Working copy of https://github.com/kean/URLQueryEncoder resolved at 0.2.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/WeTransfer/Mocker
Working copy of https://github.com/WeTransfer/Mocker resolved at 3.0.0
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
Building for debugging...
[1/10] Compiling Get Response.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/10] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
       ^
[3/10] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
       ^
[4/10] Compiling Get Request.swift
error: fatalError
[5/10] Emitting module URLQueryEncoder
[0/1] Planning build
Building for debugging...
[1/8] Emitting module URLQueryEncoder
[2/8] Compiling URLQueryEncoder URLQueryEncoder.swift
[5/10] Compiling Get DataLoader.swift
[6/10] Compiling Get APIClientDelegate.swift
[7/12] Emitting module Get
[8/12] Compiling Get APIClient.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/12] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
       ^
[10/12] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2