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-4609320-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: 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.10
Building package at path:  $workDir
https://github.com/supabase-community/gotrue-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/kean/Get
Fetching https://github.com/WeTransfer/Mocker
Fetching https://github.com/kishikawakatsumi/KeychainAccess
Fetching https://github.com/kean/URLQueryEncoder
[1/2261] Fetching get
[205/2389] Fetching get, urlqueryencoder
[454/6757] Fetching get, urlqueryencoder, keychainaccess
[1264/8590] Fetching get, urlqueryencoder, keychainaccess, mocker
Fetched https://github.com/kean/URLQueryEncoder from cache (0.41s)
[1532/8462] Fetching get, keychainaccess, mocker
Fetched https://github.com/kean/Get from cache (0.72s)
[5677/6201] Fetching keychainaccess, mocker
Fetched https://github.com/WeTransfer/Mocker from cache (1.08s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (1.10s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.0 (0.84s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.83s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.0 (0.75s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.1.5 (0.77s)
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/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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/15] Emitting module URLQueryEncoder
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/15] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
       ^
[8/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
[9/15] Compiling Get Response.swift
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Emitting module URLQueryEncoder
[3/10] Compiling Get Request.swift
[4/10] Compiling URLQueryEncoder URLQueryEncoder.swift
[6/11] Emitting module Get
[7/11] Compiling Get APIClient.swift
[8/11] Compiling Get APIClientDelegate.swift
[9/11] Compiling Get DataLoader.swift
[10/12] Compiling Get Response.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/13] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
       ^
[13/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 2