The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ThirdPartyMailer with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.7
Building package at path:  $PWD/checkout
https://github.com/vtourraine/thirdpartymailer.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Unable to find image 'registry.gitlab.com/finestructure/spi-images:basic-5.7-latest' locally
basic-5.7-latest: Pulling from finestructure/spi-images
3dd181f9be59: Already exists
a4b7ba5f14a6: Pulling fs layer
24e17a4288df: Pulling fs layer
e73c6113a586: Pulling fs layer
ceab18282fae: Pulling fs layer
1bb06396a203: Pulling fs layer
a4b7ba5f14a6: Waiting
24e17a4288df: Waiting
e73c6113a586: Waiting
1bb06396a203: Waiting
ceab18282fae: Waiting
a4b7ba5f14a6: Verifying Checksum
a4b7ba5f14a6: Download complete
e73c6113a586: Verifying Checksum
e73c6113a586: Download complete
1bb06396a203: Download complete
ceab18282fae: Verifying Checksum
ceab18282fae: Download complete
24e17a4288df: Verifying Checksum
24e17a4288df: Download complete
a4b7ba5f14a6: Pull complete
24e17a4288df: Pull complete
e73c6113a586: Pull complete
ceab18282fae: Pull complete
1bb06396a203: Pull complete
Digest: sha256:dcd77b7e316ec56d12802548436800a03cadae52648c92efa3b11ddf3be7b734
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.7-latest
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/3] Compiling ThirdPartyMailer ThirdPartyMailer.swift
/host/spi-builder-workspace/Sources/ThirdPartyMailer/ThirdPartyMailer.swift:24:8: error: no such module 'UIKit'
import UIKit
       ^
[2/3] Emitting module ThirdPartyMailer
/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 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
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 2