The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Netrofit, reference main (535ab0), with Swift 6.2 for macOS (SPM) on 7 Nov 2025 17:16:26 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/winddpan/Netrofit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/winddpan/Netrofit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 535ab05 improve LLM SSE test case
Cloned https://github.com/winddpan/Netrofit.git
Revision (git rev-parse @):
535ab0562fb96284af3e5da2a0bae4bf5e4a9fe0
SUCCESS checkout https://github.com/winddpan/Netrofit.git at main
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72719] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.47s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (6.29s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swiftlang-6.2.0.19.9-MacroSupport-macos_aarch64.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swiftlang-6.2.0.19.9-MacroSupport-macos_aarch64.zip (0.16s)
========================================
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": "netrofit",
      "name": "Netrofit",
      "url": "https://github.com/winddpan/Netrofit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Netrofit",
      "dependencies": [
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/swiftlang/swift-syntax",
          "version": "600.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/winddpan/Netrofit.git
[1/305] Fetching netrofit
Fetched https://github.com/winddpan/Netrofit.git from cache (0.73s)
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetched https://github.com/swiftlang/swift-syntax from cache (0.83s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (1.54s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/winddpan/Netrofit.git
Working copy of https://github.com/winddpan/Netrofit.git resolved at main (535ab05)
Found 1 product dependencies
  - swift-syntax
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/winddpan/Netrofit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/10] Write sources
[1/10] Write NetrofitClient-entitlement.plist
[1/10] Write sources
[4/10] Write swift-version-49B95AFC49DCD68C.txt
[6/19] Compiling NetrofitMacros String+.swift
[7/19] Compiling NetrofitMacros FunctionDecl+.swift
[8/19] Compiling NetrofitMacros AttributeDecl+.swift
[9/19] Compiling NetrofitMacros PayloadFormat.swift
[10/19] Compiling NetrofitMacros Plugin.swift
[11/19] Emitting module NetrofitMacros
[12/19] Compiling NetrofitMacros APIMacro.swift
[13/19] Compiling NetrofitMacros MethodMacro.swift
[14/19] Compiling NetrofitMacros EmptyMacro.swift
[14/19] Write Objects.LinkFileList
[15/19] Linking NetrofitMacros-tool
[17/39] Compiling Netrofit TextPlainEncoder.swift
[18/39] Compiling Netrofit URLEncodedFormEncoder.swift
[19/41] Compiling Netrofit AttributeWrappers.swift
[20/41] Compiling Netrofit DynamicContentTypeDecoder.swift
[21/41] Compiling Netrofit EventStreamingDecoder.swift
[22/41] Compiling Netrofit NetrofitSessionProtocols.swift
[23/41] Compiling Netrofit RequestBuilder.swift
[24/41] Compiling Netrofit JSONEncoder.swift
[25/41] Compiling Netrofit MultipartEncoder.swift
[26/41] Compiling Netrofit NetrofitProvider.swift
[27/41] Compiling Netrofit NetrofitResponse.swift
[28/41] Compiling Netrofit HTTPBodyDecoder.swift
[29/41] Compiling Netrofit JSONDecoder.swift
[30/41] Compiling Netrofit TextPlainDecoder.swift
[31/41] Compiling Netrofit HTTPBodyEncoder.swift
[32/41] Compiling Netrofit AnyEncodable.swift
[33/41] Compiling Netrofit String+URLPathPart.swift
[34/41] Compiling Netrofit NetrofitMacros.swift
[35/41] Compiling Netrofit NetrofitPlugin.swift
[36/41] Compiling Netrofit _NetrofitSession.swift
[37/41] Compiling Netrofit _NetrofitTask.swift
[38/41] Emitting module Netrofit
[39/43] Compiling NetrofitClient main.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetrofitClient/main.swift:138:11: warning: class 'MyJSONDecoder' must restate inherited '@unchecked Sendable' conformance
136 |
137 |     class MyURLEncodedFormEncoder: URLEncodedFormEncoder {}
138 |     class MyJSONDecoder: JSONDecoder {}
    |           `- warning: class 'MyJSONDecoder' must restate inherited '@unchecked Sendable' conformance
139 |
140 |     // 支持自定义 encoder 和 decoder
/Users/admin/builder/spi-builder-workspace/Sources/NetrofitClient/main.swift:306:11: warning: class 'MyEventStreamingEncoder' must restate inherited '@unchecked Sendable' conformance
304 |     // GET /events/stream?roomID=... 持续推送 Event
305 |
306 |     class MyEventStreamingEncoder: JSONEncoder {}
    |           `- warning: class 'MyEventStreamingEncoder' must restate inherited '@unchecked Sendable' conformance
307 |     class MyEventStreamingDecoder: TextPlainDecoder {}
308 |
[40/43] Emitting module NetrofitClient
/Users/admin/builder/spi-builder-workspace/Sources/NetrofitClient/main.swift:138:11: warning: class 'MyJSONDecoder' must restate inherited '@unchecked Sendable' conformance
136 |
137 |     class MyURLEncodedFormEncoder: URLEncodedFormEncoder {}
138 |     class MyJSONDecoder: JSONDecoder {}
    |           `- warning: class 'MyJSONDecoder' must restate inherited '@unchecked Sendable' conformance
139 |
140 |     // 支持自定义 encoder 和 decoder
/Users/admin/builder/spi-builder-workspace/Sources/NetrofitClient/main.swift:306:11: warning: class 'MyEventStreamingEncoder' must restate inherited '@unchecked Sendable' conformance
304 |     // GET /events/stream?roomID=... 持续推送 Event
305 |
306 |     class MyEventStreamingEncoder: JSONEncoder {}
    |           `- warning: class 'MyEventStreamingEncoder' must restate inherited '@unchecked Sendable' conformance
307 |     class MyEventStreamingDecoder: TextPlainDecoder {}
308 |
[40/43] Write Objects.LinkFileList
[41/43] Linking NetrofitClient
[42/43] Applying NetrofitClient
Build complete! (7.87s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "600.0.1",
            "upper_bound" : "601.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax"
    }
  ],
  "manifest_display_name" : "Netrofit",
  "name" : "Netrofit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Netrofit",
      "targets" : [
        "Netrofit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NetrofitClient",
      "targets" : [
        "NetrofitClient"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "NetrofitMacros",
      "targets" : [
        "NetrofitMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetrofitTests",
      "module_type" : "SwiftTarget",
      "name" : "NetrofitTests",
      "path" : "Sources/NetrofitTests",
      "sources" : [
        "AnyCodable.swift",
        "HTTPBinTests.swift",
        "LLMSSETests.swift",
        "TestNetrofitInterceptors.swift"
      ],
      "target_dependencies" : [
        "Netrofit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetrofitMacros",
      "module_type" : "SwiftTarget",
      "name" : "NetrofitMacros",
      "path" : "Sources/NetrofitMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "Netrofit",
        "NetrofitClient",
        "NetrofitMacros"
      ],
      "sources" : [
        "APIMacro.swift",
        "EmptyMacro.swift",
        "MethodMacro.swift",
        "Plugin.swift",
        "Utils/AttributeDecl+.swift",
        "Utils/FunctionDecl+.swift",
        "Utils/PayloadFormat.swift",
        "Utils/String+.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "NetrofitClient",
      "module_type" : "SwiftTarget",
      "name" : "NetrofitClient",
      "path" : "Sources/NetrofitClient",
      "product_memberships" : [
        "NetrofitClient"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Netrofit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Netrofit",
      "module_type" : "SwiftTarget",
      "name" : "Netrofit",
      "path" : "Sources/Netrofit",
      "product_memberships" : [
        "Netrofit",
        "NetrofitClient"
      ],
      "sources" : [
        "AttributeWrappers.swift",
        "HTTPBodyDecoder/DynamicContentTypeDecoder.swift",
        "HTTPBodyDecoder/EventStreamingDecoder.swift",
        "HTTPBodyDecoder/HTTPBodyDecoder.swift",
        "HTTPBodyDecoder/JSONDecoder.swift",
        "HTTPBodyDecoder/TextPlainDecoder.swift",
        "HTTPBodyEncoder/HTTPBodyEncoder.swift",
        "HTTPBodyEncoder/JSONEncoder.swift",
        "HTTPBodyEncoder/MultipartEncoder.swift",
        "HTTPBodyEncoder/TextPlainEncoder.swift",
        "HTTPBodyEncoder/URLEncodedFormEncoder.swift",
        "NetrofitMacros.swift",
        "NetrofitPlugin.swift",
        "NetrofitProvider.swift",
        "NetrofitResponse.swift",
        "NetrofitSessionProtocols.swift",
        "RequestBuilder.swift",
        "Utils/AnyEncodable.swift",
        "Utils/String+URLPathPart.swift",
        "_Netrofit/_NetrofitSession.swift",
        "_Netrofit/_NetrofitTask.swift"
      ],
      "target_dependencies" : [
        "NetrofitMacros"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.