The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GoTrue with Swift 5.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/supabase-community/gotrue-swift.git
Reference: 1.3.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/supabase-community/gotrue-swift
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at e53731e Bump version to 1.3.0
Cloned https://github.com/supabase-community/gotrue-swift.git
Revision (git rev-parse @):
e53731e21569b2e9ce6f58763ad0fbce8e2e7603
SUCCESS checkout https://github.com/supabase-community/gotrue-swift.git at 1.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
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-5.10-latest swift build 2>&1
Fetching https://github.com/kean/URLQueryEncoder
Fetching https://github.com/kean/Get
Fetching https://github.com/kishikawakatsumi/KeychainAccess
Fetching https://github.com/WeTransfer/Mocker
[1/128] Fetching urlqueryencoder
Fetched https://github.com/kean/URLQueryEncoder from cache (0.29s)
[1/4368] Fetching keychainaccess
[133/6201] Fetching keychainaccess, mocker
[975/8462] Fetching keychainaccess, mocker, get
Fetched https://github.com/kean/Get from cache (0.65s)
[5896/6201] Fetching keychainaccess, mocker
Fetched https://github.com/WeTransfer/Mocker from cache (0.87s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.88s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.0 (0.46s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.42s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.0 (0.54s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.1.5 (0.58s)
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...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/15] Compiling Get Response.swift
[7/15] Compiling Get Request.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/15] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
       ^
[9/15] 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
[10/15] Emitting module URLQueryEncoder
[11/15] Compiling Get APIClientDelegate.swift
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling URLQueryEncoder URLQueryEncoder.swift
[3/8] Emitting module URLQueryEncoder
[5/9] Compiling Get APIClient.swift
[6/10] Compiling Get APIClientDelegate.swift
[7/10] Emitting module Get
[8/10] Compiling Get DataLoader.swift
[9/12] Compiling Get Response.swift
[10/12] Compiling Get Request.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/13] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
       ^
[12/13] 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.10 linux

Build Machine: Linux 1