The Swift Package Index logo.Swift Package Index

Build Information

Successful build of NetworkSpectator, reference main (60ffe9), with Swift 6.2 for macOS (SPM) on 9 Apr 2026 10:16:12 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64

Build 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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "networkspectator",
      "name": "NetworkSpectator",
      "url": "https://github.com/Pankajbawane/NetworkSpectator.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NetworkSpectator",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Pankajbawane/NetworkSpectator.git
[1/2201] Fetching networkspectator
Fetched https://github.com/Pankajbawane/NetworkSpectator.git from cache (0.88s)
Creating working copy for https://github.com/Pankajbawane/NetworkSpectator.git
Working copy of https://github.com/Pankajbawane/NetworkSpectator.git resolved at main (60ffe97)
warning: '.resolve-product-dependencies': dependency 'networkspectator' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Pankajbawane/NetworkSpectator.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-49B95AFC49DCD68C.txt
[3/59] Compiling NetworkSpectator AddRuleItem.swift
[4/59] Compiling NetworkSpectator HTTPMethod.swift
[5/59] Compiling NetworkSpectator HTTPResponse.swift
[6/59] Compiling NetworkSpectator HistoryItem.swift
[7/59] Compiling NetworkSpectator LogItem.swift
[8/59] Compiling NetworkSpectator LogSkipRequest.swift
[9/59] Compiling NetworkSpectator ManageRuleItem.swift
[10/65] Compiling NetworkSpectator EmptyStateView.swift
[11/65] Compiling NetworkSpectator FilterChipsView.swift
[12/65] Compiling NetworkSpectator FilterSheetView.swift
[13/65] Compiling NetworkSpectator LogListItemView.swift
[14/65] Compiling NetworkSpectator RootContentView.swift
[15/65] Compiling NetworkSpectator RootView.swift
[16/65] Compiling NetworkSpectator EmptyStateModifier.swift
[17/65] Compiling NetworkSpectator HTTPMethodColor.swift
[18/65] Compiling NetworkSpectator StatusCodeColor.swift
[19/65] Compiling NetworkSpectator AnalyticsDashboardView.swift
[20/65] Compiling NetworkSpectator ChartItemFactory.swift
[21/65] Compiling NetworkSpectator HTTPMethodPieChartView.swift
[22/65] Compiling NetworkSpectator HostsChartView.swift
[23/65] Compiling NetworkSpectator InsightsDataSource.swift
[24/65] Compiling NetworkSpectator RequestBarChartView.swift
[25/65] Compiling NetworkSpectator StatusCodeChartView.swift
[26/65] Compiling NetworkSpectator LoadingOverlayModifier.swift
[27/65] Compiling NetworkSpectator LogBasicDetailsView.swift
[28/65] Compiling NetworkSpectator LogHistoryStorage.swift
[29/65] Compiling NetworkSpectator PreferenceStorage.swift
[30/65] Compiling NetworkSpectator StorageManager.swift
[31/65] Compiling NetworkSpectator TestServer.swift
[32/65] Compiling NetworkSpectator HTTPInputConverter.swift
[33/65] Compiling NetworkSpectator CopyableModifier.swift
[34/65] Compiling NetworkSpectator PostmanExporter.swift
[35/65] Compiling NetworkSpectator TextExporter.swift
[36/65] Compiling NetworkSpectator LogSkipManager.swift
[37/65] Compiling NetworkSpectator DebugPrint.swift
[38/65] Compiling NetworkSpectator MockServer.swift
[39/65] Compiling NetworkSpectator NetworkInterceptor.swift
[40/65] Emitting module NetworkSpectator
[41/65] Compiling NetworkSpectator NetworkLogContainer.swift
[42/65] Compiling NetworkSpectator NetworkLogItemLogger.swift
[43/65] Compiling NetworkSpectator NetworkURLProtocol.swift
[44/65] Compiling NetworkSpectator URLSessionConfiguration+Extension.swift
[45/65] Compiling NetworkSpectator EmptyStorage.swift
[46/65] Compiling NetworkSpectator LogHistoryManager.swift
[47/65] Compiling NetworkSpectator MatchRule.swift
[48/65] Compiling NetworkSpectator MimeType.swift
[49/65] Compiling NetworkSpectator Mock.swift
[50/65] Compiling NetworkSpectator ShareExportedItem.swift
[51/65] Compiling NetworkSpectator NetworkSpectator.swift
[52/65] Compiling NetworkSpectator CSVExporter.swift
[53/65] Compiling NetworkSpectator ExportManager.swift
[54/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 [#no-usage]
 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 [#no-usage]
 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 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 [#no-usage]
 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 [#no-usage]
 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 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 [#no-usage]
 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 [#no-usage]
 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 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 [#no-usage]
 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 [#no-usage]
 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 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 [#no-usage]
 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 [#no-usage]
 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 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 [#no-usage]
 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 [#no-usage]
 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 |         }
[60/65] Compiling NetworkSpectator AddRuleItemView.swift
[61/65] Compiling NetworkSpectator LogHistoryView.swift
[62/65] Compiling NetworkSpectator MockManagementView.swift
[63/65] Compiling NetworkSpectator SettingsView.swift
[64/65] Compiling NetworkSpectator SkipLoggingManagementView.swift
[65/65] Compiling NetworkSpectator ShareActivityView.swift
Build complete! (9.96s)
Build complete.
{
  "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"
}
Done.