The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NetworkMonitor with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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.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.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
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 FNMRecordDetailInfo.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[5/25] Compiling FNMNetworkMonitor FNMDebugDetailInfoTableViewCell.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[6/25] Compiling FNMNetworkMonitor FNMDebugSummaryTableViewCell.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)
[7/25] Emitting module FNMNetworkMonitor
/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 DebugDetailBodyViewController.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[12/25] Compiling FNMNetworkMonitor DebugDetailHeadersViewController.swift
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[13/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: compile command failed due to signal 6 (use -v to see invocation)
/host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
Can't demangle: $s17FNMNetworkMonitor10FNMProfileC28ProfileRequestMatchingResultO3hit33_55730DA8BACDAC98361849F2B603C8A4LLXeF7profileL_ACvp
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailBodyViewController.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/DebugDetailHeadersViewController.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/FNMDebugDetailViewController.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/FNMDebugListingViewController.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/FNMViewController.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Controller/HighlightReloadableProtocol.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Debug/Model/FNMRecordDetailInfo.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Debug/View/FNMDebugDetailInfoTableViewCell.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Debug/View/FNMDebugSummaryTableViewCell.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Exporter/FNMRecordExporter.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Exporter/Records/FNMCurrentRunCodableContainer.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Exporter/Records/FNMElement.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Exporter/Records/FNMRecord.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Exporter/Records/FNMRequestNode.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Exporter/RequestRecord/FNMHTTPRequestRecord+Codable.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Exporter/RequestRecord/FNMHTTPRequestRecordCodableContainer.swift /host/spi-builder-workspace/NetworkMonitor/Classes/Extension/FNMAdditions.swift /host/spi-builder-workspace/NetworkMonitor/Classes/FNMNetworkMonitor.swift -primary-file /host/spi-builder-workspace/NetworkMonitor/Classes/Log/FNMLogger.swift -primary-file /host/spi-builder-workspace/NetworkMonitor/Classes/Profile/FNMProfile+Codable.swift -primary-file /host/spi-builder-workspace/NetworkMonitor/Classes/Profile/FNMProfile.swift /host/spi-builder-workspace/NetworkMonitor/Classes/URLProtocol/FNMHTTPRequestRecord.swift /host/spi-builder-workspace/NetworkMonitor/Classes/URLProtocol/FNMNetworkMonitorURLProtocol+Protocols.swift /host/spi-builder-workspace/NetworkMonitor/Classes/URLProtocol/FNMNetworkMonitorURLProtocol.swift -supplementary-output-file-map /tmp/TemporaryDirectory.0CJpvO/supplementaryOutputs-7 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -module-name FNMNetworkMonitor -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/FNMNetworkMonitor.build/Classes/Log/FNMLogger.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/FNMNetworkMonitor.build/Classes/Profile/FNMProfile+Codable.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/FNMNetworkMonitor.build/Classes/Profile/FNMProfile.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 5.9-dev (LLVM 71b6f8f40249d4a, Swift 0027fac736e2385)
2.	Compiling with the current language version
3.	While walking into 'ProfileRequestMatchingResult' (at /host/spi-builder-workspace/NetworkMonitor/Classes/Profile/FNMProfile.swift:107:5)
4.	While evaluating request USRGenerationRequest(FNMNetworkMonitor.(file).FNMProfile extension.ProfileRequestMatchingResult.hit(profile:request:).profile@/host/spi-builder-workspace/NetworkMonitor/Classes/Profile/FNMProfile.swift:127:18)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend[0x6bbfa73]
/usr/bin/swift-frontend[0x6bbd68e]
/usr/bin/swift-frontend[0x6bbfddf]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f63492ad420]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f63486e100b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f63486c0859]
/usr/bin/swift-frontend[0x2335662]
/usr/bin/swift-frontend[0x1f8ee74]
/usr/bin/swift-frontend[0x22f96f9]
/usr/bin/swift-frontend[0x1c40e8c]
/usr/bin/swift-frontend[0x88c6e7]
/usr/bin/swift-frontend[0x88c207]
/usr/bin/swift-frontend[0x88b2de]
/usr/bin/swift-frontend[0x22fa20a]
/usr/bin/swift-frontend[0x8583d9]
/usr/bin/swift-frontend[0x857be7]
/usr/bin/swift-frontend[0x854cde]
/usr/bin/swift-frontend[0x156a12d]
/usr/bin/swift-frontend[0x1fe4b32]
/usr/bin/swift-frontend[0x1fe7c6b]
/usr/bin/swift-frontend[0x1fe4b7a]
/usr/bin/swift-frontend[0x1fe8a66]
/usr/bin/swift-frontend[0x1fe4b7a]
/usr/bin/swift-frontend[0x1fe8395]
/usr/bin/swift-frontend[0x1fe4b7a]
/usr/bin/swift-frontend[0x1fe4a43]
/usr/bin/swift-frontend[0x21c6162]
/usr/bin/swift-frontend[0x1567816]
/usr/bin/swift-frontend[0x854300]
/usr/bin/swift-frontend[0x85419a]
/usr/bin/swift-frontend[0x8498c5]
/usr/bin/swift-frontend[0x8492c4]
/usr/bin/swift-frontend[0x66fabc]
/usr/bin/swift-frontend[0x66dabc]
/usr/bin/swift-frontend[0x669040]
/usr/bin/swift-frontend[0x4c4b51]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f63486c2083]
/usr/bin/swift-frontend[0x4c429e]
BUILD FAILURE 5.9 linux

Build Machine: Linux 2