The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HTTPCodable, reference master (6b40e0), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 19:27:38 UTC.

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/terwanerik/httpcodable.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/terwanerik/httpcodable
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6b40e00 Merge pull request #1 from terwanerik/passing-current-session
Cloned https://github.com/terwanerik/httpcodable.git
Revision (git rev-parse @):
6b40e00b7dad02c8010e0bc98ca1006d11fd0f5b
SUCCESS checkout https://github.com/terwanerik/httpcodable.git at master
Fetching https://github.com/formbound/Futures.git
[1/972] Fetching futures
Fetched https://github.com/formbound/Futures.git from cache (0.99s)
Computing version for https://github.com/formbound/Futures.git
Computed https://github.com/formbound/Futures.git at 1.6.1 (3.31s)
Creating working copy for https://github.com/formbound/Futures.git
Working copy of https://github.com/formbound/Futures.git resolved at 1.6.1
========================================
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": "httpcodable",
      "name": "HTTPCodable",
      "url": "https://github.com/terwanerik/httpcodable.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/httpcodable",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "futures",
          "name": "Futures",
          "url": "https://github.com/formbound/Futures.git",
          "version": "1.6.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Futures",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/terwanerik/httpcodable.git
[1/229] Fetching httpcodable
Fetched https://github.com/terwanerik/httpcodable.git from cache (0.99s)
Fetching https://github.com/formbound/Futures.git from cache
Fetched https://github.com/formbound/Futures.git from cache (0.43s)
Computing version for https://github.com/formbound/Futures.git
Computed https://github.com/formbound/Futures.git at 1.6.1 (0.49s)
Creating working copy for https://github.com/formbound/Futures.git
Working copy of https://github.com/formbound/Futures.git resolved at 1.6.1
Creating working copy for https://github.com/terwanerik/httpcodable.git
Working copy of https://github.com/terwanerik/httpcodable.git resolved at master (6b40e00)
warning: '.resolve-product-dependencies': dependency 'httpcodable' is not used by any target
Found 1 product dependencies
  - Futures
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/terwanerik/httpcodable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/9] Compiling Futures DispatchQueue+Futures.swift
[5/9] Compiling Futures Promise.swift
[6/9] Compiling Futures PromisesExtended.swift
[7/9] Compiling Futures AnyFuture.swift
[8/9] Emitting module Futures
[9/9] Compiling Futures Future.swift
[10/19] Compiling HTTPCodable HTTPCodable.swift
[11/19] Compiling HTTPCodable Encodable+Query.swift
[12/19] Compiling HTTPCodable HTTPCodableError.swift
[13/19] Compiling HTTPCodable CodableClient.swift
[14/19] Compiling HTTPCodable HTTPCodableMethod.swift
[15/19] Compiling HTTPCodable CodableClient+Rest.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTTPCodable/CodableClient/CodableClient+Rest.swift:10:45: error: invalid conversion from throwing function of type '(Data) throws -> T' to non-throwing function type '(Data) -> T'
 8 |         let response: DataResponse = request(.get, url: url, body: nil, query: query)
 9 |
10 |         return (future: response.future.map { data in
   |                                             `- error: invalid conversion from throwing function of type '(Data) throws -> T' to non-throwing function type '(Data) -> T'
11 |             try self.decode(data: data, to: T.self)
12 |         }, task: response.task)
/Users/admin/builder/spi-builder-workspace/Sources/HTTPCodable/CodableClient/CodableClient+Rest.swift:27:45: error: invalid conversion from throwing function of type '(Data) throws -> T' to non-throwing function type '(Data) -> T'
25 |         let response: DataResponse = request(.post, url: url, body: body, query: query)
26 |
27 |         return (future: response.future.map { data in
   |                                             `- error: invalid conversion from throwing function of type '(Data) throws -> T' to non-throwing function type '(Data) -> T'
28 |             try self.decode(data: data, to: T.self)
29 |         }, task: response.task)
/Users/admin/builder/spi-builder-workspace/Sources/HTTPCodable/CodableClient/CodableClient+Rest.swift:44:45: error: invalid conversion from throwing function of type '(Data) throws -> T' to non-throwing function type '(Data) -> T'
42 |         let response: DataResponse = request(.put, url: url, body: body, query: query)
43 |
44 |         return (future: response.future.map { data in
   |                                             `- error: invalid conversion from throwing function of type '(Data) throws -> T' to non-throwing function type '(Data) -> T'
45 |             try self.decode(data: data, to: T.self)
46 |         }, task: response.task)
/Users/admin/builder/spi-builder-workspace/Sources/HTTPCodable/CodableClient/CodableClient+Rest.swift:61:45: error: invalid conversion from throwing function of type '(Data) throws -> T' to non-throwing function type '(Data) -> T'
59 |         let response: DataResponse = request(.patch, url: url, body: body, query: query)
60 |
61 |         return (future: response.future.map { data in
   |                                             `- error: invalid conversion from throwing function of type '(Data) throws -> T' to non-throwing function type '(Data) -> T'
62 |             try self.decode(data: data, to: T.self)
63 |         }, task: response.task)
/Users/admin/builder/spi-builder-workspace/Sources/HTTPCodable/CodableClient/CodableClient+Rest.swift:77:45: error: invalid conversion from throwing function of type '(Data) throws -> T' to non-throwing function type '(Data) -> T'
75 |         let response: DataResponse = request(.get, url: url, body: nil, query: query)
76 |
77 |         return (future: response.future.map { data in
   |                                             `- error: invalid conversion from throwing function of type '(Data) throws -> T' to non-throwing function type '(Data) -> T'
78 |             try self.decode(data: data, to: T.self)
79 |         }, task: response.task)
[16/19] Compiling HTTPCodable CodableClient+Request.swift
[17/19] Compiling HTTPCodable CodableClient+Codable.swift
[18/19] Emitting module HTTPCodable
[19/19] Compiling HTTPCodable Client.swift
BUILD FAILURE 6.3 macosSpm