The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ThirdPartyMailer with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path:  $PWD/checkout
https://github.com/vtourraine/thirdpartymailer.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Unable to find image 'registry.gitlab.com/finestructure/spi-images:basic-5.9-latest' locally
basic-5.9-latest: Pulling from finestructure/spi-images
3dd181f9be59: Already exists
ca41c1983494: Pulling fs layer
e73168ed394c: Pulling fs layer
fe2bb3617183: Pulling fs layer
7971ee9556ad: Pulling fs layer
6d713c847e11: Pulling fs layer
7971ee9556ad: Waiting
6d713c847e11: Waiting
fe2bb3617183: Download complete
ca41c1983494: Download complete
6d713c847e11: Verifying Checksum
7971ee9556ad: Verifying Checksum
7971ee9556ad: Download complete
e73168ed394c: Verifying Checksum
e73168ed394c: Download complete
ca41c1983494: Pull complete
e73168ed394c: Pull complete
fe2bb3617183: Pull complete
7971ee9556ad: Pull complete
6d713c847e11: Pull complete
Digest: sha256:0325ca00f44915dc41e4bbbaeb7b9137b689829adf730e84a51428b7aab7eba1
Status: Downloaded newer image 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/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 ThirdPartyMailClient.swift
/host/spi-builder-workspace/Sources/ThirdPartyMailer/ThirdPartyMailer.swift:24:8: error: no such module 'UIKit'
import UIKit
       ^
[3/3] Compiling ThirdPartyMailer ThirdPartyMailer.swift
/host/spi-builder-workspace/Sources/ThirdPartyMailer/ThirdPartyMailer.swift:24:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[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 ThirdPartyMailClient.swift
/host/spi-builder-workspace/Sources/ThirdPartyMailer/ThirdPartyMailer.swift:24:8: error: no such module 'UIKit'
import UIKit
       ^
[3/3] Compiling ThirdPartyMailer ThirdPartyMailer.swift
/host/spi-builder-workspace/Sources/ThirdPartyMailer/ThirdPartyMailer.swift:24:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1