The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build GoTrue, reference main (1f2c61), with Swift 6.1 for Linux on 27 Apr 2025 22:47:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path:  $PWD
https://github.com/supabase-community/gotrue-swift.git
https://github.com/supabase-community/gotrue-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "get",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.4",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kean/Get"
    },
    {
      "identity" : "urlqueryencoder",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kean/URLQueryEncoder"
    },
    {
      "identity" : "keychainaccess",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.2",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kishikawakatsumi/KeychainAccess"
    },
    {
      "identity" : "mocker",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/WeTransfer/Mocker"
    }
  ],
  "manifest_display_name" : "GoTrue",
  "name" : "GoTrue",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "GoTrue",
      "targets" : [
        "GoTrue"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GoTrueTests",
      "module_type" : "SwiftTarget",
      "name" : "GoTrueTests",
      "path" : "Tests/GoTrueTests",
      "product_dependencies" : [
        "Mocker"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/GoTrueTests/Resources/session.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoTrueTests/Resources/signup-response.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoTrueTests/Resources/user.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "GoTrueTests.swift",
        "JWTTests.swift",
        "MockHelpers.swift"
      ],
      "target_dependencies" : [
        "GoTrue"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GoTrue",
      "module_type" : "SwiftTarget",
      "name" : "GoTrue",
      "path" : "Sources/GoTrue",
      "product_dependencies" : [
        "Get",
        "KeychainAccess",
        "URLQueryEncoder"
      ],
      "product_memberships" : [
        "GoTrue"
      ],
      "sources" : [
        "AuthChangeEvent.swift",
        "Deprecated.swift",
        "Endpoints.swift",
        "Extensions.swift",
        "GoTrueClient.swift",
        "GoTrueError.swift",
        "GoTrueLocalStorage.swift",
        "Internal/ConcurrencySupport.swift",
        "Internal/Environment.swift",
        "Internal/Helpers.swift",
        "Internal/SessionManager.swift",
        "Internal/Shims.swift",
        "Types.swift",
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/kean/URLQueryEncoder
Fetching https://github.com/kean/Get
Fetching https://github.com/WeTransfer/Mocker
Fetching https://github.com/kishikawakatsumi/KeychainAccess
[1/128] Fetching urlqueryencoder
[105/4514] Fetching urlqueryencoder, keychainaccess
[744/6405] Fetching urlqueryencoder, keychainaccess, mocker
[2819/8754] Fetching urlqueryencoder, keychainaccess, mocker, get
[2818/6405] Fetching urlqueryencoder, keychainaccess, mocker
[2838/8754] Fetching urlqueryencoder, keychainaccess, mocker, get
Fetched https://github.com/kean/URLQueryEncoder from cache (0.25s)
[6486/8626] Fetching keychainaccess, mocker, get
Fetched https://github.com/WeTransfer/Mocker from cache (0.42s)
Fetched https://github.com/kean/Get from cache (0.42s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.43s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.88s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.1 (0.46s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.2 (0.46s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.46s)
Creating working copy for https://github.com/WeTransfer/Mocker
Working copy of https://github.com/WeTransfer/Mocker resolved at 3.0.2
Creating working copy for https://github.com/kean/URLQueryEncoder
Working copy of https://github.com/kean/URLQueryEncoder resolved at 0.2.1
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.2.1
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] Emitting module Get
[7/15] Emitting module URLQueryEncoder
[8/15] Compiling URLQueryEncoder URLQueryEncoder.swift
[9/16] Compiling Get Response.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/16] 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
[11/16] 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
[13/16] Compiling Get DataLoader.swift
[14/16] Compiling Get APIClientDelegate.swift
[15/16] Compiling Get Request.swift
[16/16] Compiling Get APIClient.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling Get Response.swift
[3/11] Compiling Get Request.swift
[4/11] Emitting module URLQueryEncoder
[5/11] Compiling URLQueryEncoder URLQueryEncoder.swift
[7/12] Emitting module Get
[8/12] Compiling Get APIClientDelegate.swift
[9/12] Compiling Get APIClient.swift
[10/12] Compiling Get DataLoader.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'
  25 |
  26 | import Foundation
  27 | import Security
     |        `- error: no such module 'Security'
  28 | #if os(iOS) || os(OSX)
  29 | import LocalAuthentication
[13/13] 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
BUILD FAILURE 6.1 linux