The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Harvester with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tin-whistle/harvester.git
Reference: 0.0.3
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/tin-whistle/harvester
 * tag               0.0.3      -> FETCH_HEAD
HEAD is now at 425dd2a Add weekly totals and quick local changes for more operations.
Cloned https://github.com/tin-whistle/harvester.git
Revision (git rev-parse @):
425dd2a0f948fdf3e3602a47f36276458cdf2f70
SUCCESS checkout https://github.com/tin-whistle/harvester.git at 0.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/tin-whistle/harvester.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/33] Emitting module Harvester
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[4/37] Compiling Harvester NetworkEndpoint.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[5/37] Compiling Harvester NetworkRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[6/37] Compiling Harvester AccountsRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[7/37] Compiling Harvester CompanyRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[8/37] Compiling Harvester EncodingSupport.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[9/37] Compiling Harvester HTTPMethod.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[10/37] Compiling Harvester HarvestNetworkClient.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[11/37] Compiling Harvester NetworkClient.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[12/37] Compiling Harvester AuthorizationProvider.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[13/37] Compiling Harvester AuthorizationProviderError.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[14/37] Compiling Harvester PersonalAccessTokenProvider.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[15/37] Compiling Harvester HarvestAPI.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[16/37] Compiling Harvester HarvestAPIConfiguration.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[17/37] Compiling Harvester HarvestError.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[18/37] Compiling Harvester LocalStorage.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[19/37] Compiling Harvester Persistent.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[20/37] Compiling Harvester HarvestAccount.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[21/37] Compiling Harvester HarvestClient.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[22/37] Compiling Harvester HarvestTaskAssignment.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[23/37] Compiling Harvester HarvestTimeEntry.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[24/37] Compiling Harvester HarvestUser.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[25/37] Compiling Harvester AuthorizedNetworkClient.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[26/37] Compiling Harvester DeleteTimeEntryRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[27/37] Compiling Harvester RestartTimeEntryRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[28/37] Compiling Harvester StartTimeEntryRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[29/37] Compiling Harvester StopTimeEntryRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[30/37] Compiling Harvester HarvestCompany.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[31/37] Compiling Harvester HarvestProject.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[32/37] Compiling Harvester HarvestProjectAssignment.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[33/37] Compiling Harvester HarvestTask.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[34/37] Compiling Harvester TimeEntriesRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[35/37] Compiling Harvester UpdateTimeEntryRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[36/37] Compiling Harvester UserProjectAssignmentsRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[37/37] Compiling Harvester UserRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/32] Compiling Harvester AuthorizationProvider.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[3/32] Compiling Harvester AuthorizationProviderError.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[4/32] Compiling Harvester PersonalAccessTokenProvider.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[5/32] Compiling Harvester HarvestAPI.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[6/32] Compiling Harvester HarvestAPIConfiguration.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[7/32] Compiling Harvester HarvestCompany.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[8/32] Compiling Harvester HarvestProject.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[9/32] Compiling Harvester HarvestProjectAssignment.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[10/32] Compiling Harvester HarvestTask.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[11/36] Compiling Harvester DeleteTimeEntryRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[12/36] Compiling Harvester RestartTimeEntryRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[13/36] Compiling Harvester StartTimeEntryRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[14/36] Compiling Harvester StopTimeEntryRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[15/36] Compiling Harvester NetworkEndpoint.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[16/36] Compiling Harvester NetworkRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[17/36] Compiling Harvester AccountsRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[18/36] Compiling Harvester CompanyRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[19/36] Compiling Harvester HarvestError.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[20/36] Compiling Harvester LocalStorage.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[21/36] Compiling Harvester Persistent.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[22/36] Compiling Harvester HarvestAccount.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[23/36] Compiling Harvester HarvestClient.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[24/36] Compiling Harvester EncodingSupport.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[25/36] Compiling Harvester HTTPMethod.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[26/36] Compiling Harvester HarvestNetworkClient.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[27/36] Compiling Harvester NetworkClient.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[28/36] Compiling Harvester HarvestTaskAssignment.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[29/36] Compiling Harvester HarvestTimeEntry.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[30/36] Compiling Harvester HarvestUser.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[31/36] Compiling Harvester AuthorizedNetworkClient.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/36] Emitting module Harvester
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[33/36] Compiling Harvester TimeEntriesRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[34/36] Compiling Harvester UpdateTimeEntryRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[35/36] Compiling Harvester UserProjectAssignmentsRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[36/36] Compiling Harvester UserRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2