The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HTTPCodable, reference master (6b40e0), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 22:49:15 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/terwanerik/httpcodable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/9] Compiling Futures PromisesExtended.swift
[5/9] Compiling Futures DispatchQueue+Futures.swift
[6/9] Compiling Futures Promise.swift
[7/9] Compiling Futures AnyFuture.swift
[8/9] Compiling Futures Future.swift
[9/9] Emitting module Futures
[10/19] Compiling HTTPCodable HTTPCodableError.swift
[11/19] Compiling HTTPCodable Client.swift
[12/19] Compiling HTTPCodable CodableClient.swift
[13/19] Compiling HTTPCodable HTTPCodable.swift
[14/19] Emitting module HTTPCodable
[15/19] Compiling HTTPCodable CodableClient+Request.swift
[16/19] Compiling HTTPCodable HTTPCodableMethod.swift
[17/19] Compiling HTTPCodable Encodable+Query.swift
[18/19] Compiling HTTPCodable CodableClient+Codable.swift
[19/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)
Fetching https://github.com/formbound/Futures.git
[1/972] Fetching futures
Fetched https://github.com/formbound/Futures.git from cache (1.07s)
Computing version for https://github.com/formbound/Futures.git
Computed https://github.com/formbound/Futures.git at 1.6.1 (3.01s)
Creating working copy for https://github.com/formbound/Futures.git
Working copy of https://github.com/formbound/Futures.git resolved at 1.6.1
BUILD FAILURE 6.2 macosSpm