Build Information
Failed to build NetworkSpectator, reference main (60ffe9), with Swift 6.1 for macOS (SPM) on 9 Apr 2026 10:14:12 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Pankajbawane/NetworkSpectator.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Pankajbawane/NetworkSpectator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 60ffe97 Merge pull request #5 from Pankajbawane/feature/color-coded-types-in-json-response
Cloned https://github.com/Pankajbawane/NetworkSpectator.git
Revision (git rev-parse @):
60ffe978d1cf7c22f1eb26aae3333b93f6769d07
SUCCESS checkout https://github.com/Pankajbawane/NetworkSpectator.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Pankajbawane/NetworkSpectator.git
https://github.com/Pankajbawane/NetworkSpectator.git
{
"dependencies" : [
],
"manifest_display_name" : "NetworkSpectator",
"name" : "NetworkSpectator",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "NetworkSpectator",
"targets" : [
"NetworkSpectator"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NetworkSpectatorTests",
"module_type" : "SwiftTarget",
"name" : "NetworkSpectatorTests",
"path" : "Tests/NetworkSpectatorTests",
"sources" : [
"AddRuleItemTests.swift",
"CSVExporterTests.swift",
"ChartItemFactoryTests.swift",
"ExportManagerTests.swift",
"HTTPInputConverterTests.swift",
"InsightsDataSourceTests.swift",
"LogHistoryItemsTests.swift",
"LogHistoryStorageTests.swift",
"LogItemTests.swift",
"LogSessionManagerTests.swift",
"ManageRuleItemTests.swift",
"MatchRuleTests.swift",
"MockServerPersistenceTests.swift",
"MockTests.swift",
"MonitorPreferenceStorageTests.swift",
"NetworkLogStoreTests.swift",
"PostmanExporterTests.swift",
"SkipRequestPersistenceTests.swift",
"StorageManagerTests.swift",
"TextExporterTests.swift"
],
"target_dependencies" : [
"NetworkSpectator"
],
"type" : "test"
},
{
"c99name" : "NetworkSpectator",
"module_type" : "SwiftTarget",
"name" : "NetworkSpectator",
"path" : "Sources/NetworkSpectator",
"product_memberships" : [
"NetworkSpectator"
],
"sources" : [
"Models/AddRuleItem.swift",
"Models/HTTPMethod.swift",
"Models/HTTPResponse.swift",
"Models/HistoryItem.swift",
"Models/LogItem.swift",
"Models/LogSkipRequest.swift",
"Models/ManageRuleItem.swift",
"Models/MatchRule.swift",
"Models/MimeType.swift",
"Models/Mock.swift",
"Models/ShareExportedItem.swift",
"NetworkSpectator.swift",
"Services/Export/CSVExporter.swift",
"Services/Export/ExportManager.swift",
"Services/Export/PostmanExporter.swift",
"Services/Export/TextExporter.swift",
"Services/LogSkipper/LogSkipManager.swift",
"Services/Logging/DebugPrint.swift",
"Services/Mock/MockServer.swift",
"Services/Network/NetworkInterceptor.swift",
"Services/Network/NetworkLogContainer.swift",
"Services/Network/NetworkLogItemLogger.swift",
"Services/Network/NetworkURLProtocol.swift",
"Services/Network/URLSessionConfiguration+Extension.swift",
"Services/Storage/EmptyStorage.swift",
"Services/Storage/LogHistoryManager.swift",
"Services/Storage/LogHistoryStorage.swift",
"Services/Storage/PreferenceStorage.swift",
"Services/Storage/StorageManager.swift",
"Testing/TestServer.swift",
"Utils/HTTPInputConverter.swift",
"ViewUtils/CopyableModifier.swift",
"ViewUtils/EmptyStateModifier.swift",
"ViewUtils/HTTPMethodColor.swift",
"ViewUtils/StatusCodeColor.swift",
"Views/Charts/AnalyticsDashboardView.swift",
"Views/Charts/ChartItemFactory.swift",
"Views/Charts/HTTPMethodPieChartView.swift",
"Views/Charts/HostsChartView.swift",
"Views/Charts/InsightsDataSource.swift",
"Views/Charts/RequestBarChartView.swift",
"Views/Charts/StatusCodeChartView.swift",
"Views/Export/LoadingOverlayModifier.swift",
"Views/LogViews/LogBasicDetailsView.swift",
"Views/LogViews/LogDetailsContainerView.swift",
"Views/LogViews/LogHeadersDetailsView.swift",
"Views/LogViews/LogRequestDetailsView.swift",
"Views/LogViews/LogResponseDetailsView.swift",
"Views/LogViews/ResponseBodyLineView.swift",
"Views/LogViews/ResponseImageView.swift",
"Views/RootView/EmptyStateView.swift",
"Views/RootView/FilterChipsView.swift",
"Views/RootView/FilterSheetView.swift",
"Views/RootView/LogListItemView.swift",
"Views/RootView/RootContentView.swift",
"Views/RootView/RootView.swift",
"Views/Settings/AddRuleItemView.swift",
"Views/Settings/LogHistoryView.swift",
"Views/Settings/MockManagementView.swift",
"Views/Settings/SettingsView.swift",
"Views/Settings/SkipLoggingManagementView.swift",
"Views/Share/ShareActivityView.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/59] Emitting module NetworkSpectator
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
18 | }
19 |
20 | extension FileManager: FileStoreable {
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
18 | }
19 |
20 | extension FileManager: FileStoreable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
[4/65] Compiling NetworkSpectator AddRuleItem.swift
[5/65] Compiling NetworkSpectator HTTPMethod.swift
[6/65] Compiling NetworkSpectator HTTPResponse.swift
[7/65] Compiling NetworkSpectator HistoryItem.swift
[8/65] Compiling NetworkSpectator LogItem.swift
[9/65] Compiling NetworkSpectator LogSkipRequest.swift
[10/65] Compiling NetworkSpectator ManageRuleItem.swift
[11/65] Compiling NetworkSpectator AddRuleItemView.swift
[12/65] Compiling NetworkSpectator LogHistoryView.swift
[13/65] Compiling NetworkSpectator MockManagementView.swift
[14/65] Compiling NetworkSpectator SettingsView.swift
[15/65] Compiling NetworkSpectator SkipLoggingManagementView.swift
[16/65] Compiling NetworkSpectator ShareActivityView.swift
[17/65] Compiling NetworkSpectator EmptyStateModifier.swift
[18/65] Compiling NetworkSpectator HTTPMethodColor.swift
[19/65] Compiling NetworkSpectator StatusCodeColor.swift
[20/65] Compiling NetworkSpectator AnalyticsDashboardView.swift
[21/65] Compiling NetworkSpectator ChartItemFactory.swift
[22/65] Compiling NetworkSpectator HTTPMethodPieChartView.swift
[23/65] Compiling NetworkSpectator EmptyStateView.swift
[24/65] Compiling NetworkSpectator FilterChipsView.swift
[25/65] Compiling NetworkSpectator FilterSheetView.swift
[26/65] Compiling NetworkSpectator LogListItemView.swift
[27/65] Compiling NetworkSpectator RootContentView.swift
[28/65] Compiling NetworkSpectator RootView.swift
[29/65] Compiling NetworkSpectator LogHistoryStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
18 | }
19 |
20 | extension FileManager: FileStoreable {
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
18 | }
19 |
20 | extension FileManager: FileStoreable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
[30/65] Compiling NetworkSpectator PreferenceStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
18 | }
19 |
20 | extension FileManager: FileStoreable {
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
18 | }
19 |
20 | extension FileManager: FileStoreable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
[31/65] Compiling NetworkSpectator StorageManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
18 | }
19 |
20 | extension FileManager: FileStoreable {
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
18 | }
19 |
20 | extension FileManager: FileStoreable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
[32/65] Compiling NetworkSpectator TestServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
18 | }
19 |
20 | extension FileManager: FileStoreable {
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
18 | }
19 |
20 | extension FileManager: FileStoreable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
[33/65] Compiling NetworkSpectator HTTPInputConverter.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
18 | }
19 |
20 | extension FileManager: FileStoreable {
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
18 | }
19 |
20 | extension FileManager: FileStoreable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
[34/65] Compiling NetworkSpectator CopyableModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
18 | }
19 |
20 | extension FileManager: FileStoreable {
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
18 | }
19 |
20 | extension FileManager: FileStoreable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
[35/65] Compiling NetworkSpectator NetworkLogContainer.swift
[36/65] Compiling NetworkSpectator NetworkLogItemLogger.swift
[37/65] Compiling NetworkSpectator NetworkURLProtocol.swift
[38/65] Compiling NetworkSpectator URLSessionConfiguration+Extension.swift
[39/65] Compiling NetworkSpectator EmptyStorage.swift
[40/65] Compiling NetworkSpectator LogHistoryManager.swift
[41/65] Compiling NetworkSpectator HostsChartView.swift
[42/65] Compiling NetworkSpectator InsightsDataSource.swift
[43/65] Compiling NetworkSpectator RequestBarChartView.swift
[44/65] Compiling NetworkSpectator StatusCodeChartView.swift
[45/65] Compiling NetworkSpectator LoadingOverlayModifier.swift
[46/65] Compiling NetworkSpectator LogBasicDetailsView.swift
[47/65] Compiling NetworkSpectator PostmanExporter.swift
[48/65] Compiling NetworkSpectator TextExporter.swift
[49/65] Compiling NetworkSpectator LogSkipManager.swift
[50/65] Compiling NetworkSpectator DebugPrint.swift
[51/65] Compiling NetworkSpectator MockServer.swift
[52/65] Compiling NetworkSpectator NetworkInterceptor.swift
[53/65] Compiling NetworkSpectator LogDetailsContainerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:61:9: warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
50 | }
51 |
52 | @ViewBuilder
| `- note: remove the attribute to explicitly disable the result builder
53 | private func responseBodyView() -> some View {
54 | var mimetype = item.mimetype ?? ""
:
59 | }
60 | let background: Color = colorScheme == .dark ? Color.black.opacity(0.4) : .secondary.opacity(0.2)
61 | return ResponseBodyLineView(responseBody: item.responseBody, mimetype: mimetype)
| |- warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
| `- note: remove 'return' statements to apply the result builder
62 | .frame(minHeight: 200)
63 | .padding(12)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:16: warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
58 | mimetype = "application/json"
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:25: warning: no calls to throwing functions occur within 'try' expression
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: no calls to throwing functions occur within 'try' expression
58 | mimetype = "application/json"
59 | }
[54/65] Compiling NetworkSpectator LogHeadersDetailsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:61:9: warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
50 | }
51 |
52 | @ViewBuilder
| `- note: remove the attribute to explicitly disable the result builder
53 | private func responseBodyView() -> some View {
54 | var mimetype = item.mimetype ?? ""
:
59 | }
60 | let background: Color = colorScheme == .dark ? Color.black.opacity(0.4) : .secondary.opacity(0.2)
61 | return ResponseBodyLineView(responseBody: item.responseBody, mimetype: mimetype)
| |- warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
| `- note: remove 'return' statements to apply the result builder
62 | .frame(minHeight: 200)
63 | .padding(12)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:16: warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
58 | mimetype = "application/json"
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:25: warning: no calls to throwing functions occur within 'try' expression
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: no calls to throwing functions occur within 'try' expression
58 | mimetype = "application/json"
59 | }
[55/65] Compiling NetworkSpectator LogRequestDetailsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:61:9: warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
50 | }
51 |
52 | @ViewBuilder
| `- note: remove the attribute to explicitly disable the result builder
53 | private func responseBodyView() -> some View {
54 | var mimetype = item.mimetype ?? ""
:
59 | }
60 | let background: Color = colorScheme == .dark ? Color.black.opacity(0.4) : .secondary.opacity(0.2)
61 | return ResponseBodyLineView(responseBody: item.responseBody, mimetype: mimetype)
| |- warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
| `- note: remove 'return' statements to apply the result builder
62 | .frame(minHeight: 200)
63 | .padding(12)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:16: warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
58 | mimetype = "application/json"
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:25: warning: no calls to throwing functions occur within 'try' expression
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: no calls to throwing functions occur within 'try' expression
58 | mimetype = "application/json"
59 | }
[56/65] Compiling NetworkSpectator LogResponseDetailsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:61:9: warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
50 | }
51 |
52 | @ViewBuilder
| `- note: remove the attribute to explicitly disable the result builder
53 | private func responseBodyView() -> some View {
54 | var mimetype = item.mimetype ?? ""
:
59 | }
60 | let background: Color = colorScheme == .dark ? Color.black.opacity(0.4) : .secondary.opacity(0.2)
61 | return ResponseBodyLineView(responseBody: item.responseBody, mimetype: mimetype)
| |- warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
| `- note: remove 'return' statements to apply the result builder
62 | .frame(minHeight: 200)
63 | .padding(12)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:16: warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
58 | mimetype = "application/json"
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:25: warning: no calls to throwing functions occur within 'try' expression
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: no calls to throwing functions occur within 'try' expression
58 | mimetype = "application/json"
59 | }
[57/65] Compiling NetworkSpectator ResponseBodyLineView.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:61:9: warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
50 | }
51 |
52 | @ViewBuilder
| `- note: remove the attribute to explicitly disable the result builder
53 | private func responseBodyView() -> some View {
54 | var mimetype = item.mimetype ?? ""
:
59 | }
60 | let background: Color = colorScheme == .dark ? Color.black.opacity(0.4) : .secondary.opacity(0.2)
61 | return ResponseBodyLineView(responseBody: item.responseBody, mimetype: mimetype)
| |- warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
| `- note: remove 'return' statements to apply the result builder
62 | .frame(minHeight: 200)
63 | .padding(12)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:16: warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
58 | mimetype = "application/json"
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:25: warning: no calls to throwing functions occur within 'try' expression
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: no calls to throwing functions occur within 'try' expression
58 | mimetype = "application/json"
59 | }
[58/65] Compiling NetworkSpectator ResponseImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:61:9: warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
50 | }
51 |
52 | @ViewBuilder
| `- note: remove the attribute to explicitly disable the result builder
53 | private func responseBodyView() -> some View {
54 | var mimetype = item.mimetype ?? ""
:
59 | }
60 | let background: Color = colorScheme == .dark ? Color.black.opacity(0.4) : .secondary.opacity(0.2)
61 | return ResponseBodyLineView(responseBody: item.responseBody, mimetype: mimetype)
| |- warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
| `- note: remove 'return' statements to apply the result builder
62 | .frame(minHeight: 200)
63 | .padding(12)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:16: warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
58 | mimetype = "application/json"
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:25: warning: no calls to throwing functions occur within 'try' expression
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: no calls to throwing functions occur within 'try' expression
58 | mimetype = "application/json"
59 | }
[59/65] Compiling NetworkSpectator MatchRule.swift
[60/65] Compiling NetworkSpectator MimeType.swift
[61/65] Compiling NetworkSpectator Mock.swift
[62/65] Compiling NetworkSpectator ShareExportedItem.swift
[63/65] Compiling NetworkSpectator NetworkSpectator.swift
[64/65] Compiling NetworkSpectator CSVExporter.swift
[65/65] Compiling NetworkSpectator ExportManager.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/58] Emitting module NetworkSpectator
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
18 | }
19 |
20 | extension FileManager: FileStoreable {
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
18 | }
19 |
20 | extension FileManager: FileStoreable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
[3/64] Compiling NetworkSpectator LogHistoryStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
18 | }
19 |
20 | extension FileManager: FileStoreable {
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
18 | }
19 |
20 | extension FileManager: FileStoreable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
[4/64] Compiling NetworkSpectator PreferenceStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
18 | }
19 |
20 | extension FileManager: FileStoreable {
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
18 | }
19 |
20 | extension FileManager: FileStoreable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
[5/64] Compiling NetworkSpectator StorageManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
18 | }
19 |
20 | extension FileManager: FileStoreable {
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
18 | }
19 |
20 | extension FileManager: FileStoreable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
[6/64] Compiling NetworkSpectator TestServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
18 | }
19 |
20 | extension FileManager: FileStoreable {
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
18 | }
19 |
20 | extension FileManager: FileStoreable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
[7/64] Compiling NetworkSpectator HTTPInputConverter.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
18 | }
19 |
20 | extension FileManager: FileStoreable {
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
18 | }
19 |
20 | extension FileManager: FileStoreable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
[8/64] Compiling NetworkSpectator CopyableModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
18 | }
19 |
20 | extension FileManager: FileStoreable {
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/LogHistoryStorage.swift:20:1: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
18 | }
19 |
20 | extension FileManager: FileStoreable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
21 | func write(_ data: Data, to url: URL) throws {
22 | try data.write(to: url)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Services/Storage/StorageManager.swift:25:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
23 | }
24 |
25 | extension UserDefaults: Storeable { }
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
26 |
27 | /// Simple storage manager for persisting rules to UserDefaults
[9/64] Compiling NetworkSpectator NetworkLogContainer.swift
[10/64] Compiling NetworkSpectator NetworkLogItemLogger.swift
[11/64] Compiling NetworkSpectator NetworkURLProtocol.swift
[12/64] Compiling NetworkSpectator URLSessionConfiguration+Extension.swift
[13/64] Compiling NetworkSpectator EmptyStorage.swift
[14/64] Compiling NetworkSpectator LogHistoryManager.swift
[15/64] Compiling NetworkSpectator AddRuleItem.swift
[16/64] Compiling NetworkSpectator HTTPMethod.swift
[17/64] Compiling NetworkSpectator HTTPResponse.swift
[18/64] Compiling NetworkSpectator HistoryItem.swift
[19/64] Compiling NetworkSpectator LogItem.swift
[20/64] Compiling NetworkSpectator LogSkipRequest.swift
[21/64] Compiling NetworkSpectator ManageRuleItem.swift
[22/64] Compiling NetworkSpectator MatchRule.swift
[23/64] Compiling NetworkSpectator MimeType.swift
[24/64] Compiling NetworkSpectator Mock.swift
[25/64] Compiling NetworkSpectator ShareExportedItem.swift
[26/64] Compiling NetworkSpectator NetworkSpectator.swift
[27/64] Compiling NetworkSpectator CSVExporter.swift
[28/64] Compiling NetworkSpectator ExportManager.swift
[29/64] Compiling NetworkSpectator HostsChartView.swift
[30/64] Compiling NetworkSpectator InsightsDataSource.swift
[31/64] Compiling NetworkSpectator RequestBarChartView.swift
[32/64] Compiling NetworkSpectator StatusCodeChartView.swift
[33/64] Compiling NetworkSpectator LoadingOverlayModifier.swift
[34/64] Compiling NetworkSpectator LogBasicDetailsView.swift
[35/64] Compiling NetworkSpectator LogDetailsContainerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:61:9: warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
50 | }
51 |
52 | @ViewBuilder
| `- note: remove the attribute to explicitly disable the result builder
53 | private func responseBodyView() -> some View {
54 | var mimetype = item.mimetype ?? ""
:
59 | }
60 | let background: Color = colorScheme == .dark ? Color.black.opacity(0.4) : .secondary.opacity(0.2)
61 | return ResponseBodyLineView(responseBody: item.responseBody, mimetype: mimetype)
| |- warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
| `- note: remove 'return' statements to apply the result builder
62 | .frame(minHeight: 200)
63 | .padding(12)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:16: warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
58 | mimetype = "application/json"
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:25: warning: no calls to throwing functions occur within 'try' expression
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: no calls to throwing functions occur within 'try' expression
58 | mimetype = "application/json"
59 | }
[36/64] Compiling NetworkSpectator LogHeadersDetailsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:61:9: warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
50 | }
51 |
52 | @ViewBuilder
| `- note: remove the attribute to explicitly disable the result builder
53 | private func responseBodyView() -> some View {
54 | var mimetype = item.mimetype ?? ""
:
59 | }
60 | let background: Color = colorScheme == .dark ? Color.black.opacity(0.4) : .secondary.opacity(0.2)
61 | return ResponseBodyLineView(responseBody: item.responseBody, mimetype: mimetype)
| |- warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
| `- note: remove 'return' statements to apply the result builder
62 | .frame(minHeight: 200)
63 | .padding(12)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:16: warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
58 | mimetype = "application/json"
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:25: warning: no calls to throwing functions occur within 'try' expression
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: no calls to throwing functions occur within 'try' expression
58 | mimetype = "application/json"
59 | }
[37/64] Compiling NetworkSpectator LogRequestDetailsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:61:9: warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
50 | }
51 |
52 | @ViewBuilder
| `- note: remove the attribute to explicitly disable the result builder
53 | private func responseBodyView() -> some View {
54 | var mimetype = item.mimetype ?? ""
:
59 | }
60 | let background: Color = colorScheme == .dark ? Color.black.opacity(0.4) : .secondary.opacity(0.2)
61 | return ResponseBodyLineView(responseBody: item.responseBody, mimetype: mimetype)
| |- warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
| `- note: remove 'return' statements to apply the result builder
62 | .frame(minHeight: 200)
63 | .padding(12)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:16: warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
58 | mimetype = "application/json"
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:25: warning: no calls to throwing functions occur within 'try' expression
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: no calls to throwing functions occur within 'try' expression
58 | mimetype = "application/json"
59 | }
[38/64] Compiling NetworkSpectator LogResponseDetailsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:61:9: warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
50 | }
51 |
52 | @ViewBuilder
| `- note: remove the attribute to explicitly disable the result builder
53 | private func responseBodyView() -> some View {
54 | var mimetype = item.mimetype ?? ""
:
59 | }
60 | let background: Color = colorScheme == .dark ? Color.black.opacity(0.4) : .secondary.opacity(0.2)
61 | return ResponseBodyLineView(responseBody: item.responseBody, mimetype: mimetype)
| |- warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
| `- note: remove 'return' statements to apply the result builder
62 | .frame(minHeight: 200)
63 | .padding(12)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:16: warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
58 | mimetype = "application/json"
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:25: warning: no calls to throwing functions occur within 'try' expression
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: no calls to throwing functions occur within 'try' expression
58 | mimetype = "application/json"
59 | }
[39/64] Compiling NetworkSpectator ResponseBodyLineView.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:61:9: warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
50 | }
51 |
52 | @ViewBuilder
| `- note: remove the attribute to explicitly disable the result builder
53 | private func responseBodyView() -> some View {
54 | var mimetype = item.mimetype ?? ""
:
59 | }
60 | let background: Color = colorScheme == .dark ? Color.black.opacity(0.4) : .secondary.opacity(0.2)
61 | return ResponseBodyLineView(responseBody: item.responseBody, mimetype: mimetype)
| |- warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
| `- note: remove 'return' statements to apply the result builder
62 | .frame(minHeight: 200)
63 | .padding(12)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:16: warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
58 | mimetype = "application/json"
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:25: warning: no calls to throwing functions occur within 'try' expression
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: no calls to throwing functions occur within 'try' expression
58 | mimetype = "application/json"
59 | }
[40/64] Compiling NetworkSpectator ResponseImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:61:9: warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
50 | }
51 |
52 | @ViewBuilder
| `- note: remove the attribute to explicitly disable the result builder
53 | private func responseBodyView() -> some View {
54 | var mimetype = item.mimetype ?? ""
:
59 | }
60 | let background: Color = colorScheme == .dark ? Color.black.opacity(0.4) : .secondary.opacity(0.2)
61 | return ResponseBodyLineView(responseBody: item.responseBody, mimetype: mimetype)
| |- warning: application of result builder 'ViewBuilder' disabled by explicit 'return' statement
| `- note: remove 'return' statements to apply the result builder
62 | .frame(minHeight: 200)
63 | .padding(12)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:16: warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: immutable value 'isJson' was never used; consider replacing with '_' or removing it
58 | mimetype = "application/json"
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkSpectator/Views/LogViews/LogResponseDetailsView.swift:57:25: warning: no calls to throwing functions occur within 'try' expression
55 | if mimetype.isEmpty,
56 | let data = item.responseRaw,
57 | let isJson = try? JSONSerialization.isValidJSONObject(data) {
| `- warning: no calls to throwing functions occur within 'try' expression
58 | mimetype = "application/json"
59 | }
[41/64] Compiling NetworkSpectator EmptyStateView.swift
[42/64] Compiling NetworkSpectator FilterChipsView.swift
[43/64] Compiling NetworkSpectator FilterSheetView.swift
[44/64] Compiling NetworkSpectator LogListItemView.swift
[45/64] Compiling NetworkSpectator RootContentView.swift
[46/64] Compiling NetworkSpectator RootView.swift
[47/64] Compiling NetworkSpectator EmptyStateModifier.swift
[48/64] Compiling NetworkSpectator HTTPMethodColor.swift
[49/64] Compiling NetworkSpectator StatusCodeColor.swift
[50/64] Compiling NetworkSpectator AnalyticsDashboardView.swift
[51/64] Compiling NetworkSpectator ChartItemFactory.swift
[52/64] Compiling NetworkSpectator HTTPMethodPieChartView.swift
[53/64] Compiling NetworkSpectator PostmanExporter.swift
[54/64] Compiling NetworkSpectator TextExporter.swift
[55/64] Compiling NetworkSpectator LogSkipManager.swift
[56/64] Compiling NetworkSpectator DebugPrint.swift
[57/64] Compiling NetworkSpectator MockServer.swift
[58/64] Compiling NetworkSpectator NetworkInterceptor.swift
[59/64] Compiling NetworkSpectator AddRuleItemView.swift
[60/64] Compiling NetworkSpectator LogHistoryView.swift
[61/64] Compiling NetworkSpectator MockManagementView.swift
[62/64] Compiling NetworkSpectator SettingsView.swift
[63/64] Compiling NetworkSpectator SkipLoggingManagementView.swift
[64/64] Compiling NetworkSpectator ShareActivityView.swift
BUILD FAILURE 6.1 macosSpm