The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ThirdPartyMailer with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vtourraine/thirdpartymailer.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/vtourraine/thirdpartymailer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f68da7d Fix project tests target configuration
Cloned https://github.com/vtourraine/thirdpartymailer.git
Revision (git rev-parse @):
f68da7d462c38f25ab62aa7941c3b5fb19981b5a
SUCCESS checkout https://github.com/vtourraine/thirdpartymailer.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD/checkout
https://github.com/vtourraine/thirdpartymailer.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Unable to find image 'registry.gitlab.com/finestructure/spi-images:basic-5.8-latest' locally
basic-5.8-latest: Pulling from finestructure/spi-images
3dd181f9be59: Already exists
ca41c1983494: Pulling fs layer
a140113f541e: Pulling fs layer
67f5859617f7: Pulling fs layer
7b319a0cc07e: Pulling fs layer
1bb06396a203: Pulling fs layer
67f5859617f7: Waiting
7b319a0cc07e: Waiting
1bb06396a203: Waiting
a140113f541e: Waiting
ca41c1983494: Verifying Checksum
ca41c1983494: Download complete
67f5859617f7: Download complete
a140113f541e: Verifying Checksum
a140113f541e: Download complete
7b319a0cc07e: Verifying Checksum
7b319a0cc07e: Download complete
1bb06396a203: Verifying Checksum
1bb06396a203: Download complete
ca41c1983494: Pull complete
a140113f541e: Pull complete
67f5859617f7: Pull complete
7b319a0cc07e: Pull complete
1bb06396a203: Pull complete
Digest: sha256:95af4e8d42f0c4064fd04296e4510be56c283b07fbf953f508f3175b4ed943aa
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module ThirdPartyMailer
/host/spi-builder-workspace/Sources/ThirdPartyMailer/ThirdPartyMailer.swift:24:8: error: no such module 'UIKit'
import UIKit
       ^
[2/3] Compiling ThirdPartyMailer ThirdPartyMailer.swift
/host/spi-builder-workspace/Sources/ThirdPartyMailer/ThirdPartyMailer.swift:24:8: error: no such module 'UIKit'
import UIKit
       ^
[3/3] Compiling ThirdPartyMailer ThirdPartyMailClient.swift
/host/spi-builder-workspace/Sources/ThirdPartyMailer/ThirdPartyMailer.swift:24:8: error: no such module 'UIKit'
import UIKit
       ^
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module ThirdPartyMailer
/host/spi-builder-workspace/Sources/ThirdPartyMailer/ThirdPartyMailer.swift:24:8: error: no such module 'UIKit'
import UIKit
       ^
[2/3] Compiling ThirdPartyMailer ThirdPartyMailer.swift
/host/spi-builder-workspace/Sources/ThirdPartyMailer/ThirdPartyMailer.swift:24:8: error: no such module 'UIKit'
import UIKit
       ^
[3/3] Compiling ThirdPartyMailer ThirdPartyMailClient.swift
/host/spi-builder-workspace/Sources/ThirdPartyMailer/ThirdPartyMailer.swift:24:8: error: no such module 'UIKit'
import UIKit
       ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 1