The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build StrapiSwift, reference v1.0.1 (4e9e2b), with Swift 5.9 for Linux on 25 Apr 2025 08:17:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-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/meesakveld/strapi-swift.git
Reference: v1.0.1
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/meesakveld/strapi-swift
 * tag               v1.0.1     -> FETCH_HEAD
HEAD is now at 4e9e2b8 Merge pull request #2 from meesakveld/1-lower-ios-versions
Cloned https://github.com/meesakveld/strapi-swift.git
Revision (git rev-parse @):
4e9e2b8428dd8c24935a359e04cd1f028110b76c
SUCCESS checkout https://github.com/meesakveld/strapi-swift.git at v1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/meesakveld/strapi-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/20] Emitting module StrapiSwift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[2/22] Compiling StrapiSwift ContentManager.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[3/22] Compiling StrapiSwift DocumentQuery.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[4/22] Compiling StrapiSwift FilterGroup.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/22] Compiling StrapiSwift MakeRequest.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/22] Compiling StrapiSwift StrapiSwift.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/22] Compiling StrapiSwift StrapiErrorResponse.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/22] Compiling StrapiSwift StrapiSwiftError.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/22] Compiling StrapiSwift MediaLibrary.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/22] Compiling StrapiSwift StrapiImage.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/22] Compiling StrapiSwift AnyCodable.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[12/22] Compiling StrapiSwift StrapiRequestBody.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[13/22] Compiling StrapiSwift ExtractErrorMessage.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[14/22] Compiling StrapiSwift Authentication.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[15/22] Compiling StrapiSwift LocalAuth.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[16/22] Compiling StrapiSwift CollectionQuery.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[17/22] Compiling StrapiSwift PopulateQuery.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[18/22] Compiling StrapiSwift StrapiResponse.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[19/22] Compiling StrapiSwift FilterOperator.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[20/22] Compiling StrapiSwift SortOperator.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[21/22] Compiling StrapiSwift MediaFileQuery.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[22/22] Compiling StrapiSwift MediaFilesQuery.swift
/host/spi-builder-workspace/Sources/StrapiSwift/ContentManager/ContentManager.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.9 linux