Build Information
Failed to build Harvester with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tin-whistle/harvester.git
Reference: master
Cloned https://github.com/tin-whistle/harvester.git into spi-builder-workspace
SUCCESS checkout https://github.com/tin-whistle/harvester.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/31] Emitting module Harvester
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[2/35] Compiling Harvester AuthorizationProvider.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[3/35] Compiling Harvester AuthorizationProviderError.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[4/35] Compiling Harvester PersonalAccessTokenProvider.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[5/35] Compiling Harvester HarvestAPI.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[6/35] Compiling Harvester HarvestAPIConfiguration.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[7/35] Compiling Harvester TimeEntriesRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[8/35] Compiling Harvester UpdateTimeEntryRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[9/35] Compiling Harvester UserProjectAssignmentsRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[10/35] Compiling Harvester UserRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[11/35] Compiling Harvester DeleteTimeEntryRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[12/35] Compiling Harvester RestartTimeEntryRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[13/35] Compiling Harvester StartTimeEntryRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[14/35] Compiling Harvester StopTimeEntryRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[15/35] Compiling Harvester NetworkEndpoint.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[16/35] Compiling Harvester NetworkRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[17/35] Compiling Harvester AccountsRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[18/35] Compiling Harvester CompanyRequest.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[19/35] Compiling Harvester EncodingSupport.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[20/35] Compiling Harvester HTTPMethod.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[21/35] Compiling Harvester HarvestNetworkClient.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[22/35] Compiling Harvester NetworkClient.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[23/35] Compiling Harvester HarvestTaskAssignment.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[24/35] Compiling Harvester HarvestTimeEntry.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[25/35] Compiling Harvester HarvestUser.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[26/35] Compiling Harvester AuthorizedNetworkClient.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[27/35] Compiling Harvester HarvestCompany.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[28/35] Compiling Harvester HarvestProject.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[29/35] Compiling Harvester HarvestProjectAssignment.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[30/35] Compiling Harvester HarvestTask.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[31/35] Compiling Harvester HarvestError.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[32/35] Compiling Harvester LocalStorage.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[33/35] Compiling Harvester Persistent.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[34/35] Compiling Harvester HarvestAccount.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[35/35] Compiling Harvester HarvestClient.swift
/host/spi-builder-workspace/Sources/Harvester/Authorization/AuthorizationProvider.swift:1:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 1