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 0.1.0 (e95883), with Swift 6.2 for macOS (SPM) on 1 Nov 2025 13:43:17 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: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/winddpan/Netrofit
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at e958830 update README
Cloned https://github.com/winddpan/Netrofit.git
Revision (git rev-parse @):
e9588303321deb2372ddb88a22c6ffda50d83c33
SUCCESS checkout https://github.com/winddpan/Netrofit.git at 0.1.0
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72690] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.40s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (6.38s)
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.19s)
========================================
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/292] Fetching netrofit
Fetched https://github.com/winddpan/Netrofit.git from cache (0.76s)
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetched https://github.com/swiftlang/swift-syntax from cache (0.90s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (1.51s)
Creating working copy for https://github.com/winddpan/Netrofit.git
Working copy of https://github.com/winddpan/Netrofit.git resolved at 0.1.0 (e958830)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
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
[3/10] Write NetrofitClient-entitlement.plist
[4/10] Write swift-version-49B95AFC49DCD68C.txt
[6/19] Compiling NetrofitMacros FunctionDecl+.swift
[7/19] Compiling NetrofitMacros AttributeDecl+.swift
[8/19] Compiling NetrofitMacros PayloadFormat.swift
[9/19] Compiling NetrofitMacros String+.swift
[10/19] Compiling NetrofitMacros Plugin.swift
[11/19] Compiling NetrofitMacros APIMacro.swift
[12/19] Compiling NetrofitMacros EmptyMacro.swift
[13/19] Compiling NetrofitMacros MethodMacro.swift
[14/19] Emitting module NetrofitMacros
[14/19] Write Objects.LinkFileList
[15/19] Linking NetrofitMacros-tool
[17/39] Compiling Netrofit HTTPBodyDecoder.swift
[18/39] Compiling Netrofit JSONDecoder.swift
[19/41] Compiling Netrofit JSONEncoder.swift
[20/41] Compiling Netrofit MultipartEncoder.swift
[21/41] Compiling Netrofit TextPlainEncoder.swift
[22/41] Compiling Netrofit URLEncodedFormEncoder.swift
[23/41] Compiling Netrofit TextPlainDecoder.swift
[24/41] Compiling Netrofit HTTPBodyEncoder.swift
[25/41] Compiling Netrofit NetrofitSessionProtocols.swift
[26/41] Compiling Netrofit RequestBuilder.swift
[27/41] Compiling Netrofit NetrofitProvider.swift
[28/41] Compiling Netrofit NetrofitResponse.swift
[29/41] Compiling Netrofit AnyEncodable.swift
[30/41] Compiling Netrofit String+URLPathPart.swift
[31/41] Compiling Netrofit NetrofitMacros.swift
[32/41] Compiling Netrofit NetrofitPlugin.swift
[33/41] Compiling Netrofit AttributeWrappers.swift
[34/41] Compiling Netrofit DynamicContentTypeDecoder.swift
[35/41] Compiling Netrofit EventStreamingDecoder.swift
[36/41] Emitting module Netrofit
[37/41] Compiling Netrofit _NetrofitSession.swift
[38/41] Compiling Netrofit _NetrofitTask.swift
[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.26s)
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.