The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftNetLayer, reference master (872bf3), with Swift 6.3 for macOS (SPM) on 1 May 2026 03:10:36 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerzh/swift-net-layer.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nerzh/swift-net-layer
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 872bf3a fix android support
Cloned https://github.com/nerzh/swift-net-layer.git
Revision (git rev-parse @):
872bf3a26b988cd063d79d53b7b60363a7bab6ae
SUCCESS checkout https://github.com/nerzh/swift-net-layer.git at master
Fetching https://github.com/nerzh/swift-extensions-pack.git
[1/1155] Fetching swift-extensions-pack
Fetched https://github.com/nerzh/swift-extensions-pack.git from cache (0.75s)
Computing version for https://github.com/nerzh/swift-extensions-pack.git
Computed https://github.com/nerzh/swift-extensions-pack.git at 2.2.5 (1.31s)
Fetching https://github.com/bytehubio/ed25519
Fetching https://github.com/nerzh/swift-regular-expression
Fetching https://github.com/apple/swift-crypto
[1/61] Fetching swift-regular-expression
[62/240] Fetching swift-regular-expression, ed25519
[241/17697] Fetching swift-regular-expression, ed25519, swift-crypto
Fetched https://github.com/bytehubio/ed25519 from cache (2.16s)
Fetched https://github.com/apple/swift-crypto from cache (2.16s)
Fetched https://github.com/nerzh/swift-regular-expression from cache (2.16s)
Computing version for https://github.com/bytehubio/ed25519
Computed https://github.com/bytehubio/ed25519 at 1.0.0 (2.74s)
Computing version for https://github.com/nerzh/swift-regular-expression
Computed https://github.com/nerzh/swift-regular-expression at 0.2.4 (3.28s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 4.5.0 (2.65s)
Fetching https://github.com/apple/swift-asn1.git
[1/1813] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.84s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.49s)
Creating working copy for https://github.com/bytehubio/ed25519
Working copy of https://github.com/bytehubio/ed25519 resolved at 1.0.0
Creating working copy for https://github.com/nerzh/swift-extensions-pack.git
Working copy of https://github.com/nerzh/swift-extensions-pack.git resolved at 2.2.5
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 4.5.0
Creating working copy for https://github.com/nerzh/swift-regular-expression
Working copy of https://github.com/nerzh/swift-regular-expression resolved at 0.2.4
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-net-layer",
      "name": "SwiftNetLayer",
      "url": "https://github.com/nerzh/swift-net-layer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-net-layer",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-extensions-pack",
          "name": "SwiftExtensionsPack",
          "url": "https://github.com/nerzh/swift-extensions-pack.git",
          "version": "2.2.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-extensions-pack",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "swift-regular-expression",
              "name": "SwiftRegularExpression",
              "url": "https://github.com/nerzh/swift-regular-expression",
              "version": "0.2.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-regular-expression",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            },
            {
              "identity": "swift-crypto",
              "name": "swift-crypto",
              "url": "https://github.com/apple/swift-crypto",
              "version": "4.5.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
              "traits": [
                "default"
              ],
              "dependencies": [
                {
                  "identity": "swift-asn1",
                  "name": "swift-asn1",
                  "url": "https://github.com/apple/swift-asn1.git",
                  "version": "1.7.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-asn1",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "ed25519",
              "name": "Ed25519",
              "url": "https://github.com/bytehubio/ed25519",
              "version": "1.0.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ed25519",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/nerzh/swift-net-layer.git
[1/431] Fetching swift-net-layer
Fetched https://github.com/nerzh/swift-net-layer.git from cache (0.66s)
Fetching https://github.com/nerzh/swift-extensions-pack.git from cache
Fetched https://github.com/nerzh/swift-extensions-pack.git from cache (0.44s)
Computing version for https://github.com/nerzh/swift-extensions-pack.git
Computed https://github.com/nerzh/swift-extensions-pack.git at 2.2.5 (0.51s)
Fetching https://github.com/bytehubio/ed25519 from cache
Fetching https://github.com/nerzh/swift-regular-expression from cache
Fetching https://github.com/apple/swift-crypto from cache
Fetched https://github.com/apple/swift-crypto from cache (0.54s)
Fetched https://github.com/nerzh/swift-regular-expression from cache (0.54s)
Fetched https://github.com/bytehubio/ed25519 from cache (0.55s)
Computing version for https://github.com/bytehubio/ed25519
Computed https://github.com/bytehubio/ed25519 at 1.0.0 (0.61s)
Computing version for https://github.com/nerzh/swift-regular-expression
Computed https://github.com/nerzh/swift-regular-expression at 0.2.4 (0.03s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 4.5.0 (0.03s)
Fetching https://github.com/apple/swift-asn1.git from cache
Fetched https://github.com/apple/swift-asn1.git from cache (0.41s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (0.48s)
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 4.5.0
Creating working copy for https://github.com/nerzh/swift-net-layer.git
Working copy of https://github.com/nerzh/swift-net-layer.git resolved at master (872bf3a)
Creating working copy for https://github.com/nerzh/swift-extensions-pack.git
Working copy of https://github.com/nerzh/swift-extensions-pack.git resolved at 2.2.5
Creating working copy for https://github.com/nerzh/swift-regular-expression
Working copy of https://github.com/nerzh/swift-regular-expression resolved at 0.2.4
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/bytehubio/ed25519
Working copy of https://github.com/bytehubio/ed25519 resolved at 1.0.0
warning: '.resolve-product-dependencies': dependency 'swift-net-layer' is not used by any target
Found 1 product dependencies
  - SwiftExtensionsPack
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/nerzh/swift-net-layer.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/15] Write sources
[4/15] Write swift-version--6988338F2F200930.txt
[5/15] Compiling CEd25519 add_scalar.c
[6/15] Compiling CEd25519 sc.c
[7/15] Compiling CEd25519 keypair.c
[8/15] Compiling CEd25519 key_exchange.c
[9/15] Compiling CEd25519 sha512.c
[10/15] Compiling CEd25519 verify.c
[11/15] Compiling CEd25519 seed.c
[12/15] Compiling CEd25519 ge.c
[12/15] Compiling CEd25519 sign.c
[14/15] Compiling CEd25519 fe.c
[16/23] Compiling Ed25519 Seed.swift
[17/23] Compiling Ed25519 PrivateKey.swift
[18/23] Emitting module Ed25519
[19/23] Compiling Ed25519 KeyPair.swift
[20/23] Compiling Ed25519 Error.swift
[21/23] Compiling Ed25519 PublicKey.swift
[22/23] Compiling SwiftRegularExpression String+Regexp.swift
[23/23] Emitting module SwiftRegularExpression
[24/57] Emitting module SwiftExtensionsPack
[25/60] Compiling SwiftExtensionsPack Limiter.swift
[26/60] Compiling SwiftExtensionsPack ObjectIdentifier.swift
[27/60] Compiling SwiftExtensionsPack Protocols.swift
[28/60] Compiling SwiftExtensionsPack Runtime.swift
[29/60] Compiling SwiftExtensionsPack Double.swift
[30/60] Compiling SwiftExtensionsPack Float.swift
[31/60] Compiling SwiftExtensionsPack HTTP.swift
[32/60] Compiling SwiftExtensionsPack Dictionary+JSON.swift
[33/60] Compiling SwiftExtensionsPack DictionaryCommon.swift
[34/60] Compiling SwiftExtensionsPack SafeDictionary.swift
[35/60] Compiling SwiftExtensionsPack SafeArray.swift
[36/60] Compiling SwiftExtensionsPack Sequence+Extensions.swift
[37/60] Compiling SwiftExtensionsPack Codable+Extensions.swift
[38/60] Compiling SwiftExtensionsPack AnyValue.swift
[39/60] Compiling SwiftExtensionsPack StringCommon.swift
[40/60] Compiling SwiftExtensionsPack String+Crypto.swift
[41/60] Compiling SwiftExtensionsPack String+Height.swift
[42/60] Compiling SwiftExtensionsPack Ed25519.swift
[43/60] Compiling SwiftExtensionsPack HexaDecimal.swift
[44/60] Compiling SwiftExtensionsPack Hmac.swift
[45/60] Compiling SwiftExtensionsPack RandomBytes.swift
[46/60] Compiling SwiftExtensionsPack SHA.swift
[47/60] Compiling SwiftExtensionsPack String+Extension.swift
[48/60] Compiling SwiftExtensionsPack Date+String.swift
[49/60] Compiling SwiftExtensionsPack DateCommon.swift
[50/60] Compiling SwiftExtensionsPack Atomic.swift
[51/60] Compiling SwiftExtensionsPack CommonClasses.swift
[52/60] Compiling SwiftExtensionsPack CommonMethods.swift
[53/60] Compiling SwiftExtensionsPack ErrorCommon.swift
[54/60] Compiling SwiftExtensionsPack String+Chunks.swift
[55/60] Compiling SwiftExtensionsPack String+Date.swift
[56/60] Compiling SwiftExtensionsPack String+JSON.swift
[57/60] Compiling SwiftExtensionsPack SafeValue.swift
[58/60] Compiling SwiftExtensionsPack AES.swift
[59/60] Compiling SwiftExtensionsPack ByteArray+Bits.swift
[60/60] Compiling SwiftExtensionsPack Data+Extension.swift
[61/78] Compiling SwiftNetLayer SNL+Target.swift
[62/78] Compiling SwiftNetLayer SNL+Resource.swift
[63/78] Compiling SwiftNetLayer SNL+ResourcePrtcl.swift
[64/79] Compiling SwiftNetLayer SNL+TargetPrtcl.swift
[65/79] Compiling SwiftNetLayer SNL+Errors.swift
[66/79] Compiling SwiftNetLayer SNL+HTTPMethod.swift
[67/79] Compiling SwiftNetLayer SNL+Request.swift.swift
[68/79] Compiling SwiftNetLayer SNL+RequestPrtcl.swift
[69/79] Compiling SwiftNetLayer SNL+ProtocolType.swift
[70/79] Compiling SwiftNetLayer SNL+TypeAlias.swift
[71/79] Compiling SwiftNetLayer SNL+File.swift
[72/79] Compiling SwiftNetLayer SNL+FilePrtcl.swift
[73/79] Compiling SwiftNetLayer SNL+Executor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetLayer/Executor/SNL+Executor.swift:53:55: warning: capture of 'model' with non-Sendable type 'ResponseModel.Type' in a '@Sendable' closure [#SendableClosureCaptures]
 51 |                     return
 52 |                 }
 53 |                 let object = try JSONDecoder().decode(model, from: data)
    |                                                       `- warning: capture of 'model' with non-Sendable type 'ResponseModel.Type' in a '@Sendable' closure [#SendableClosureCaptures]
 54 |                 if let error {
 55 |                     try handler(object, response, SNLError(String(describing: error)))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetLayer/Executor/SNL+Executor.swift:50:25: warning: capture of non-Sendable type 'ResponseModel.Type' in an isolated closure [#SendableMetatypes]
 48 |             do {
 49 |                 guard let data = data else {
 50 |                     try handler(nil, response, error)
    |                         `- warning: capture of non-Sendable type 'ResponseModel.Type' in an isolated closure [#SendableMetatypes]
 51 |                     return
 52 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetLayer/Executor/SNL+Executor.swift:149:17: warning: capture of non-Sendable type 'ResponseModel.Type' in an isolated closure [#SendableMetatypes]
147 |         waitGroup.enter()
148 |         try execute(model: model, debug: debug) { (model, response, error) in
149 |             try handler(model, response, error)
    |                 `- warning: capture of non-Sendable type 'ResponseModel.Type' in an isolated closure [#SendableMetatypes]
150 |             waitGroup.leave()
151 |         }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[74/79] Compiling SwiftNetLayer SNL+ExecutorPrtcl.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetLayer/Executor/SNL+Executor.swift:53:55: warning: capture of 'model' with non-Sendable type 'ResponseModel.Type' in a '@Sendable' closure [#SendableClosureCaptures]
 51 |                     return
 52 |                 }
 53 |                 let object = try JSONDecoder().decode(model, from: data)
    |                                                       `- warning: capture of 'model' with non-Sendable type 'ResponseModel.Type' in a '@Sendable' closure [#SendableClosureCaptures]
 54 |                 if let error {
 55 |                     try handler(object, response, SNLError(String(describing: error)))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetLayer/Executor/SNL+Executor.swift:50:25: warning: capture of non-Sendable type 'ResponseModel.Type' in an isolated closure [#SendableMetatypes]
 48 |             do {
 49 |                 guard let data = data else {
 50 |                     try handler(nil, response, error)
    |                         `- warning: capture of non-Sendable type 'ResponseModel.Type' in an isolated closure [#SendableMetatypes]
 51 |                     return
 52 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetLayer/Executor/SNL+Executor.swift:149:17: warning: capture of non-Sendable type 'ResponseModel.Type' in an isolated closure [#SendableMetatypes]
147 |         waitGroup.enter()
148 |         try execute(model: model, debug: debug) { (model, response, error) in
149 |             try handler(model, response, error)
    |                 `- warning: capture of non-Sendable type 'ResponseModel.Type' in an isolated closure [#SendableMetatypes]
150 |             waitGroup.leave()
151 |         }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[75/79] Emitting module SwiftNetLayer
[76/79] Compiling SwiftNetLayer SNL+Header.swift
[77/79] Compiling SwiftNetLayer SNL+MIMEType.swift
[78/79] Compiling SwiftNetLayer SNL+Provider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetLayer/Provider/SNL+ProviderPrtcl.swift:134:26: warning: TODO: STUPID FIX. CAST __SwiftValue to SNLFilePrtcl Protocol for iOS 13 RETURN NIL
132 |                 return dictionary
133 |             } else {
134 |                 #warning("TODO: STUPID FIX. CAST __SwiftValue to SNLFilePrtcl Protocol for iOS 13 RETURN NIL")
    |                          `- warning: TODO: STUPID FIX. CAST __SwiftValue to SNLFilePrtcl Protocol for iOS 13 RETURN NIL
135 |                 if let element = anyObject as? SNLFile {
136 |                     return NetSessionFile(data: element.data, fileName: element.fileName, mimeType: element.mimeType)
[79/79] Compiling SwiftNetLayer SNL+ProviderPrtcl.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetLayer/Provider/SNL+ProviderPrtcl.swift:134:26: warning: TODO: STUPID FIX. CAST __SwiftValue to SNLFilePrtcl Protocol for iOS 13 RETURN NIL
132 |                 return dictionary
133 |             } else {
134 |                 #warning("TODO: STUPID FIX. CAST __SwiftValue to SNLFilePrtcl Protocol for iOS 13 RETURN NIL")
    |                          `- warning: TODO: STUPID FIX. CAST __SwiftValue to SNLFilePrtcl Protocol for iOS 13 RETURN NIL
135 |                 if let element = anyObject as? SNLFile {
136 |                     return NetSessionFile(data: element.data, fileName: element.fileName, mimeType: element.mimeType)
Build complete! (13.47s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-extensions-pack",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nerzh/swift-extensions-pack.git"
    }
  ],
  "manifest_display_name" : "SwiftNetLayer",
  "name" : "SwiftNetLayer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftNetLayer",
      "targets" : [
        "SwiftNetLayer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftNetLayer",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNetLayer",
      "path" : "Sources/SwiftNetLayer",
      "product_dependencies" : [
        "SwiftExtensionsPack"
      ],
      "product_memberships" : [
        "SwiftNetLayer"
      ],
      "sources" : [
        "Executor/SNL+Executor.swift",
        "Executor/SNL+ExecutorPrtcl.swift",
        "File/SNL+File.swift",
        "File/SNL+FilePrtcl.swift",
        "Helpers/SNL+Errors.swift",
        "Helpers/SNL+HTTPMethod.swift",
        "Helpers/SNL+Header.swift",
        "Helpers/SNL+MIMEType.swift",
        "Helpers/SNL+ProtocolType.swift",
        "Helpers/SNL+TypeAlias.swift",
        "Provider/SNL+Provider.swift",
        "Provider/SNL+ProviderPrtcl.swift",
        "Request/SNL+Request.swift.swift",
        "Request/SNL+RequestPrtcl.swift",
        "Resource/SNL+Resource.swift",
        "Resource/SNL+ResourcePrtcl.swift",
        "Target/SNL+Target.swift",
        "Target/SNL+TargetPrtcl.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.3"
}
Done.