The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NetworkMonitor with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Farfetch/network-monitor-ios.git
Reference: 11.11.1
Cloned https://github.com/Farfetch/network-monitor-ios.git into spi-builder-workspace
SUCCESS checkout https://github.com/Farfetch/network-monitor-ios.git at 11.11.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/22] Emitting module FNMNetworkMonitor
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[2/25] Compiling FNMNetworkMonitor FNMRecord.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[3/25] Compiling FNMNetworkMonitor FNMRequestNode.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[4/25] Compiling FNMNetworkMonitor FNMHTTPRequestRecord+Codable.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[5/25] Compiling FNMNetworkMonitor FNMLogger.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[6/25] Compiling FNMNetworkMonitor FNMProfile+Codable.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[7/25] Compiling FNMNetworkMonitor FNMProfile.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[8/25] Compiling FNMNetworkMonitor FNMHTTPRequestRecord.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[9/25] Compiling FNMNetworkMonitor FNMNetworkMonitorURLProtocol+Protocols.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[10/25] Compiling FNMNetworkMonitor FNMNetworkMonitorURLProtocol.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[11/25] Compiling FNMNetworkMonitor FNMHTTPRequestRecordCodableContainer.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[12/25] Compiling FNMNetworkMonitor FNMAdditions.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[13/25] Compiling FNMNetworkMonitor FNMNetworkMonitor.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[14/25] Compiling FNMNetworkMonitor FNMRecordExporter.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[15/25] Compiling FNMNetworkMonitor FNMCurrentRunCodableContainer.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[16/25] Compiling FNMNetworkMonitor FNMElement.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[17/25] Compiling FNMNetworkMonitor FNMDebugListingViewController.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[18/25] Compiling FNMNetworkMonitor FNMViewController.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[19/25] Compiling FNMNetworkMonitor HighlightReloadableProtocol.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[20/25] Compiling FNMNetworkMonitor FNMRecordDetailInfo.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[21/25] Compiling FNMNetworkMonitor FNMDebugDetailInfoTableViewCell.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[22/25] Compiling FNMNetworkMonitor FNMDebugSummaryTableViewCell.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[23/25] Compiling FNMNetworkMonitor DebugDetailBodyViewController.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[24/25] Compiling FNMNetworkMonitor DebugDetailHeadersViewController.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[25/25] Compiling FNMNetworkMonitor FNMDebugDetailViewController.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 2