The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LocalizerKit, reference 1.2.2 (6e3e75), with Swift 6.2 for Linux on 28 Jul 2025 11:07:34 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SummaCristian/LocalizerKit.git
Reference: 1.2.2
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/SummaCristian/LocalizerKit
 * tag               1.2.2      -> FETCH_HEAD
HEAD is now at 6e3e75e Merge branch 'main' of https://github.com/SummaCristian/LocalizerKit
Cloned https://github.com/SummaCristian/LocalizerKit.git
Revision (git rev-parse @):
6e3e75ed5abd4b9632586a44e02ceed2992050f7
SUCCESS checkout https://github.com/SummaCristian/LocalizerKit.git at 1.2.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SummaCristian/LocalizerKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling LocalizerKit LocalizerSettings.swift
/host/spi-builder-workspace/Sources/LocalizerKit/LocalizedAppModifier.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// A ViewModifier that registers all provided localization files as the app’s supported languages.
[4/11] Compiling LocalizerKit SupportedLanguage.swift
/host/spi-builder-workspace/Sources/LocalizerKit/LocalizedAppModifier.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// A ViewModifier that registers all provided localization files as the app’s supported languages.
[5/11] Compiling LocalizerKit LocalizerKit.swift
/host/spi-builder-workspace/Sources/LocalizerKit/LocalizedAppModifier.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// A ViewModifier that registers all provided localization files as the app’s supported languages.
[6/11] Compiling LocalizerKit LocalizerRegistry.swift
/host/spi-builder-workspace/Sources/LocalizerKit/LocalizedAppModifier.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// A ViewModifier that registers all provided localization files as the app’s supported languages.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] Emitting module LocalizerKit
/host/spi-builder-workspace/Sources/LocalizerKit/LocalizedAppModifier.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// A ViewModifier that registers all provided localization files as the app’s supported languages.
[8/11] Compiling LocalizerKit LocalizedKeyProtocol.swift
/host/spi-builder-workspace/Sources/LocalizerKit/LocalizedAppModifier.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// A ViewModifier that registers all provided localization files as the app’s supported languages.
[9/11] Compiling LocalizerKit Localizer.swift
/host/spi-builder-workspace/Sources/LocalizerKit/LocalizedAppModifier.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// A ViewModifier that registers all provided localization files as the app’s supported languages.
[10/11] Compiling LocalizerKit LocalizedLanguage.swift
/host/spi-builder-workspace/Sources/LocalizerKit/LocalizedAppModifier.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// A ViewModifier that registers all provided localization files as the app’s supported languages.
[11/11] Compiling LocalizerKit LocalizedAppModifier.swift
/host/spi-builder-workspace/Sources/LocalizerKit/LocalizedAppModifier.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// A ViewModifier that registers all provided localization files as the app’s supported languages.
BUILD FAILURE 6.2 linux