The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NetworkMonitor with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/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/Farfetch/network-monitor-ios.git
Reference: master
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/Farfetch/network-monitor-ios
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0694873 Update Changelog for PR
Cloned https://github.com/Farfetch/network-monitor-ios.git
Revision (git rev-parse @):
0694873279c2f2f487d7ab16fc20200f871bb31f
SUCCESS checkout https://github.com/Farfetch/network-monitor-ios.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
https://github.com/Farfetch/network-monitor-ios.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" 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/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 DebugDetailBodyViewController.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[3/25] Compiling FNMNetworkMonitor DebugDetailHeadersViewController.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[4/25] Compiling FNMNetworkMonitor FNMDebugDetailViewController.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[5/25] Compiling FNMNetworkMonitor FNMRecordExporter.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[6/25] Compiling FNMNetworkMonitor FNMCurrentRunCodableContainer.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[7/25] Compiling FNMNetworkMonitor FNMElement.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[8/25] Compiling FNMNetworkMonitor FNMDebugListingViewController.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[9/25] Compiling FNMNetworkMonitor FNMViewController.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[10/25] Compiling FNMNetworkMonitor HighlightReloadableProtocol.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[11/25] Compiling FNMNetworkMonitor FNMHTTPRequestRecord.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[12/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
       ^
[13/25] Compiling FNMNetworkMonitor FNMNetworkMonitorURLProtocol.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[14/25] Compiling FNMNetworkMonitor FNMHTTPRequestRecordCodableContainer.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[15/25] Compiling FNMNetworkMonitor FNMAdditions.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[16/25] Compiling FNMNetworkMonitor FNMNetworkMonitor.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[17/25] Compiling FNMNetworkMonitor FNMRecordDetailInfo.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[18/25] Compiling FNMNetworkMonitor FNMDebugDetailInfoTableViewCell.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[19/25] Compiling FNMNetworkMonitor FNMDebugSummaryTableViewCell.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[20/25] Compiling FNMNetworkMonitor FNMRecord.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[21/25] Compiling FNMNetworkMonitor FNMRequestNode.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[22/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
       ^
[23/25] Compiling FNMNetworkMonitor FNMLogger.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[24/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
       ^
[25/25] Compiling FNMNetworkMonitor FNMProfile.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/22] Compiling FNMNetworkMonitor FNMRecordExporter.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[2/22] Compiling FNMNetworkMonitor FNMCurrentRunCodableContainer.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[3/22] Compiling FNMNetworkMonitor FNMElement.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[4/25] Compiling FNMNetworkMonitor FNMDebugListingViewController.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[5/25] Compiling FNMNetworkMonitor FNMViewController.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[6/25] Compiling FNMNetworkMonitor HighlightReloadableProtocol.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[7/25] Compiling FNMNetworkMonitor FNMHTTPRequestRecordCodableContainer.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[8/25] Compiling FNMNetworkMonitor FNMAdditions.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[9/25] Compiling FNMNetworkMonitor FNMNetworkMonitor.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[10/25] Compiling FNMNetworkMonitor FNMLogger.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[11/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
       ^
[12/25] Compiling FNMNetworkMonitor FNMProfile.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[13/25] Compiling FNMNetworkMonitor FNMRecordDetailInfo.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[14/25] Compiling FNMNetworkMonitor FNMDebugDetailInfoTableViewCell.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[15/25] Compiling FNMNetworkMonitor FNMDebugSummaryTableViewCell.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[16/25] Compiling FNMNetworkMonitor FNMHTTPRequestRecord.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[17/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
       ^
[18/25] Compiling FNMNetworkMonitor FNMNetworkMonitorURLProtocol.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/25] Emitting module FNMNetworkMonitor
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[20/25] Compiling FNMNetworkMonitor FNMRecord.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[21/25] Compiling FNMNetworkMonitor FNMRequestNode.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[22/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
       ^
[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
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1