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 Erbium, reference v4.7.0 (1bb868), with Swift 5.10 for Linux on 20 Sep 2024 15:33:23 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/e-sites/Erbium.git
Reference: v4.7.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/e-sites/Erbium
 * tag               v4.7.0     -> FETCH_HEAD
HEAD is now at 1bb8688 Swift 6
Cloned https://github.com/e-sites/Erbium.git
Revision (git rev-parse @):
1bb86888720bfe72843f0e1ef902f5749b9f3695
SUCCESS checkout https://github.com/e-sites/Erbium.git at v4.7.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/e-sites/Erbium.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:6c25c99211d1e15148b101a61df2563575f50d0f624cb6ce5a573a0b53fb5dca
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling Erbium ScreenSize.swift
/host/spi-builder-workspace/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Compiling Erbium Device.swift
/host/spi-builder-workspace/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[5/8] Emitting module Erbium
/host/spi-builder-workspace/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[6/8] Compiling Erbium Bundle.swift
/host/spi-builder-workspace/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[7/8] Compiling Erbium DeviceType.swift
/host/spi-builder-workspace/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[8/8] Compiling Erbium DeviceVersion.swift
/host/spi-builder-workspace/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux