Build Information
Failed to build DevFoundation, reference main (516dbc
), with Swift 6.2 (beta) for macOS (SPM) on 2 Sep 2025 21:45:09 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DevKitOrganization/DevFoundation.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DevKitOrganization/DevFoundation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 516dbca Add Swift Package Index manifest
Cloned https://github.com/DevKitOrganization/DevFoundation.git
Revision (git rev-parse @):
516dbca9c49735c5efa5537fb3e0bd702abad671
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/DevKitOrganization/DevFoundation.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/DevKitOrganization/DevFoundation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/11] Write sources
[2/11] Write dfob-entitlement.plist
[5/11] Write sources
[7/11] Write swift-version-1EA4D86E10B52AF.txt
[9/78] Emitting module ArgumentParserToolInfo
[10/78] Compiling ArgumentParserToolInfo ToolInfo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/124] Emitting module DevFoundation
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:18:33: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
16 |
17 | /// The decoder used to decode the request’s body data.
18 | public let decoder: any TopLevelDecoder<Data> & Sendable
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
19 |
20 |
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:29:46: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
27 | /// - body: The decoded value that a request’s body must equal for the condition to be fulfilled.
28 | /// - decoder: The decoder used to decode the request’s body data.
29 | public init(body: Body, decoder: any TopLevelDecoder<Data> & Sendable) {
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
30 | self.body = body
31 | self.decoder = decoder
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:61:22: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
59 | public static func bodyEquals<Body>(
60 | _ body: Body,
61 | decoder: any TopLevelDecoder<Data> & Sendable = JSONDecoder()
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
62 | ) -> Self
63 | where Body: Decodable & Equatable & Sendable {
[12/131] Emitting module ArgumentParser
[13/135] Compiling ArgumentParser CommandConfiguration.swift
[14/135] Compiling ArgumentParser CommandGroup.swift
[15/135] Compiling ArgumentParser EnumerableFlag.swift
[16/135] Compiling ArgumentParser ExpressibleByArgument.swift
[17/135] Compiling ArgumentParser ParsableArguments.swift
[18/135] Compiling ArgumentParser NonsenseFlagsValidator.swift
[19/135] Compiling ArgumentParser ParsableArgumentsValidation.swift
[20/135] Compiling ArgumentParser PositionalArgumentsValidator.swift
[21/135] Compiling ArgumentParser UniqueNamesValidator.swift
[22/135] Compiling ArgumentParser InputKey.swift
[23/135] Compiling ArgumentParser InputOrigin.swift
[24/135] Compiling ArgumentParser Name.swift
[25/135] Compiling ArgumentParser Parsed.swift
[26/135] Compiling ArgumentParser ParsedValues.swift
[27/135] Compiling ArgumentParser Flag.swift
[28/135] Compiling ArgumentParser NameSpecification.swift
[29/135] Compiling ArgumentParser Option.swift
[30/135] Compiling ArgumentParser OptionGroup.swift
[31/135] Compiling ArgumentParser AsyncParsableCommand.swift
[32/135] Compiling ArgumentParser SequenceExtensions.swift
[33/135] Compiling ArgumentParser StringExtensions.swift
[34/135] Compiling ArgumentParser SwiftExtensions.swift
[35/135] Compiling ArgumentParser Tree.swift
[36/135] Compiling ArgumentParser CodingKeyValidator.swift
[37/135] Compiling ArgumentParser BashCompletionsGenerator.swift
[38/135] Compiling ArgumentParser CompletionsGenerator.swift
[39/135] Compiling ArgumentParser FishCompletionsGenerator.swift
[40/135] Compiling ArgumentParser ZshCompletionsGenerator.swift
[41/135] Compiling ArgumentParser Argument.swift
[42/135] Compiling ArgumentParser ParsableCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:18:33: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
16 |
17 | /// The decoder used to decode the request’s body data.
18 | public let decoder: any TopLevelDecoder<Data> & Sendable
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
19 |
20 |
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:29:46: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
27 | /// - body: The decoded value that a request’s body must equal for the condition to be fulfilled.
28 | /// - decoder: The decoder used to decode the request’s body data.
29 | public init(body: Body, decoder: any TopLevelDecoder<Data> & Sendable) {
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
30 | self.body = body
31 | self.decoder = decoder
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:61:22: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
59 | public static func bodyEquals<Body>(
60 | _ body: Body,
61 | decoder: any TopLevelDecoder<Data> & Sendable = JSONDecoder()
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
62 | ) -> Self
63 | where Body: Decodable & Equatable & Sendable {
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:65:57: error: generic parameter 'Body' could not be inferred
10 | extension SimulatedURLRequestLoader.RequestConditions {
11 | /// A request condition that is fulfilled if a request’s body, when decoded, is equal to a given value.
12 | public struct BodyEqualsDecodable<Body>: SimulatedURLRequestLoader.RequestCondition
| `- note: 'Body' declared as parameter to type 'SimulatedURLRequestLoader.RequestConditions.BodyEqualsDecodable'
13 | where Body: Decodable & Equatable & Sendable {
14 | /// The decoded value that a request’s body must equal for the condition to be fulfilled.
:
63 | where Body: Decodable & Equatable & Sendable {
64 | return .init(
65 | SimulatedURLRequestLoader.RequestConditions.BodyEqualsDecodable(
| |- error: generic parameter 'Body' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
66 | body: body,
67 | decoder: decoder
[43/135] Compiling ArgumentParser ArgumentDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:18:33: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
16 |
17 | /// The decoder used to decode the request’s body data.
18 | public let decoder: any TopLevelDecoder<Data> & Sendable
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
19 |
20 |
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:29:46: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
27 | /// - body: The decoded value that a request’s body must equal for the condition to be fulfilled.
28 | /// - decoder: The decoder used to decode the request’s body data.
29 | public init(body: Body, decoder: any TopLevelDecoder<Data> & Sendable) {
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
30 | self.body = body
31 | self.decoder = decoder
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:61:22: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
59 | public static func bodyEquals<Body>(
60 | _ body: Body,
61 | decoder: any TopLevelDecoder<Data> & Sendable = JSONDecoder()
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
62 | ) -> Self
63 | where Body: Decodable & Equatable & Sendable {
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:65:57: error: generic parameter 'Body' could not be inferred
10 | extension SimulatedURLRequestLoader.RequestConditions {
11 | /// A request condition that is fulfilled if a request’s body, when decoded, is equal to a given value.
12 | public struct BodyEqualsDecodable<Body>: SimulatedURLRequestLoader.RequestCondition
| `- note: 'Body' declared as parameter to type 'SimulatedURLRequestLoader.RequestConditions.BodyEqualsDecodable'
13 | where Body: Decodable & Equatable & Sendable {
14 | /// The decoded value that a request’s body must equal for the condition to be fulfilled.
:
63 | where Body: Decodable & Equatable & Sendable {
64 | return .init(
65 | SimulatedURLRequestLoader.RequestConditions.BodyEqualsDecodable(
| |- error: generic parameter 'Body' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
66 | body: body,
67 | decoder: decoder
[44/135] Compiling ArgumentParser ArgumentDefinition.swift
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:18:33: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
16 |
17 | /// The decoder used to decode the request’s body data.
18 | public let decoder: any TopLevelDecoder<Data> & Sendable
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
19 |
20 |
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:29:46: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
27 | /// - body: The decoded value that a request’s body must equal for the condition to be fulfilled.
28 | /// - decoder: The decoder used to decode the request’s body data.
29 | public init(body: Body, decoder: any TopLevelDecoder<Data> & Sendable) {
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
30 | self.body = body
31 | self.decoder = decoder
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:61:22: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
59 | public static func bodyEquals<Body>(
60 | _ body: Body,
61 | decoder: any TopLevelDecoder<Data> & Sendable = JSONDecoder()
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
62 | ) -> Self
63 | where Body: Decodable & Equatable & Sendable {
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:65:57: error: generic parameter 'Body' could not be inferred
10 | extension SimulatedURLRequestLoader.RequestConditions {
11 | /// A request condition that is fulfilled if a request’s body, when decoded, is equal to a given value.
12 | public struct BodyEqualsDecodable<Body>: SimulatedURLRequestLoader.RequestCondition
| `- note: 'Body' declared as parameter to type 'SimulatedURLRequestLoader.RequestConditions.BodyEqualsDecodable'
13 | where Body: Decodable & Equatable & Sendable {
14 | /// The decoded value that a request’s body must equal for the condition to be fulfilled.
:
63 | where Body: Decodable & Equatable & Sendable {
64 | return .init(
65 | SimulatedURLRequestLoader.RequestConditions.BodyEqualsDecodable(
| |- error: generic parameter 'Body' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
66 | body: body,
67 | decoder: decoder
[45/135] Compiling ArgumentParser ArgumentSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:18:33: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
16 |
17 | /// The decoder used to decode the request’s body data.
18 | public let decoder: any TopLevelDecoder<Data> & Sendable
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
19 |
20 |
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:29:46: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
27 | /// - body: The decoded value that a request’s body must equal for the condition to be fulfilled.
28 | /// - decoder: The decoder used to decode the request’s body data.
29 | public init(body: Body, decoder: any TopLevelDecoder<Data> & Sendable) {
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
30 | self.body = body
31 | self.decoder = decoder
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:61:22: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
59 | public static func bodyEquals<Body>(
60 | _ body: Body,
61 | decoder: any TopLevelDecoder<Data> & Sendable = JSONDecoder()
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
62 | ) -> Self
63 | where Body: Decodable & Equatable & Sendable {
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:65:57: error: generic parameter 'Body' could not be inferred
10 | extension SimulatedURLRequestLoader.RequestConditions {
11 | /// A request condition that is fulfilled if a request’s body, when decoded, is equal to a given value.
12 | public struct BodyEqualsDecodable<Body>: SimulatedURLRequestLoader.RequestCondition
| `- note: 'Body' declared as parameter to type 'SimulatedURLRequestLoader.RequestConditions.BodyEqualsDecodable'
13 | where Body: Decodable & Equatable & Sendable {
14 | /// The decoded value that a request’s body must equal for the condition to be fulfilled.
:
63 | where Body: Decodable & Equatable & Sendable {
64 | return .init(
65 | SimulatedURLRequestLoader.RequestConditions.BodyEqualsDecodable(
| |- error: generic parameter 'Body' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
66 | body: body,
67 | decoder: decoder
[46/135] Compiling ArgumentParser CommandParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:18:33: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
16 |
17 | /// The decoder used to decode the request’s body data.
18 | public let decoder: any TopLevelDecoder<Data> & Sendable
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
19 |
20 |
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:29:46: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
27 | /// - body: The decoded value that a request’s body must equal for the condition to be fulfilled.
28 | /// - decoder: The decoder used to decode the request’s body data.
29 | public init(body: Body, decoder: any TopLevelDecoder<Data> & Sendable) {
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
30 | self.body = body
31 | self.decoder = decoder
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:61:22: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
59 | public static func bodyEquals<Body>(
60 | _ body: Body,
61 | decoder: any TopLevelDecoder<Data> & Sendable = JSONDecoder()
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
62 | ) -> Self
63 | where Body: Decodable & Equatable & Sendable {
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:65:57: error: generic parameter 'Body' could not be inferred
10 | extension SimulatedURLRequestLoader.RequestConditions {
11 | /// A request condition that is fulfilled if a request’s body, when decoded, is equal to a given value.
12 | public struct BodyEqualsDecodable<Body>: SimulatedURLRequestLoader.RequestCondition
| `- note: 'Body' declared as parameter to type 'SimulatedURLRequestLoader.RequestConditions.BodyEqualsDecodable'
13 | where Body: Decodable & Equatable & Sendable {
14 | /// The decoded value that a request’s body must equal for the condition to be fulfilled.
:
63 | where Body: Decodable & Equatable & Sendable {
64 | return .init(
65 | SimulatedURLRequestLoader.RequestConditions.BodyEqualsDecodable(
| |- error: generic parameter 'Body' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
66 | body: body,
67 | decoder: decoder
[47/135] Compiling ArgumentParser MessageInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:18:33: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
16 |
17 | /// The decoder used to decode the request’s body data.
18 | public let decoder: any TopLevelDecoder<Data> & Sendable
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
19 |
20 |
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:29:46: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
27 | /// - body: The decoded value that a request’s body must equal for the condition to be fulfilled.
28 | /// - decoder: The decoder used to decode the request’s body data.
29 | public init(body: Body, decoder: any TopLevelDecoder<Data> & Sendable) {
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
30 | self.body = body
31 | self.decoder = decoder
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:61:22: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
59 | public static func bodyEquals<Body>(
60 | _ body: Body,
61 | decoder: any TopLevelDecoder<Data> & Sendable = JSONDecoder()
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
62 | ) -> Self
63 | where Body: Decodable & Equatable & Sendable {
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:65:57: error: generic parameter 'Body' could not be inferred
10 | extension SimulatedURLRequestLoader.RequestConditions {
11 | /// A request condition that is fulfilled if a request’s body, when decoded, is equal to a given value.
12 | public struct BodyEqualsDecodable<Body>: SimulatedURLRequestLoader.RequestCondition
| `- note: 'Body' declared as parameter to type 'SimulatedURLRequestLoader.RequestConditions.BodyEqualsDecodable'
13 | where Body: Decodable & Equatable & Sendable {
14 | /// The decoded value that a request’s body must equal for the condition to be fulfilled.
:
63 | where Body: Decodable & Equatable & Sendable {
64 | return .init(
65 | SimulatedURLRequestLoader.RequestConditions.BodyEqualsDecodable(
| |- error: generic parameter 'Body' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
66 | body: body,
67 | decoder: decoder
[48/135] Compiling ArgumentParser UsageGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:18:33: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
16 |
17 | /// The decoder used to decode the request’s body data.
18 | public let decoder: any TopLevelDecoder<Data> & Sendable
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
19 |
20 |
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:29:46: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
27 | /// - body: The decoded value that a request’s body must equal for the condition to be fulfilled.
28 | /// - decoder: The decoder used to decode the request’s body data.
29 | public init(body: Body, decoder: any TopLevelDecoder<Data> & Sendable) {
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
30 | self.body = body
31 | self.decoder = decoder
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:61:22: error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
59 | public static func bodyEquals<Body>(
60 | _ body: Body,
61 | decoder: any TopLevelDecoder<Data> & Sendable = JSONDecoder()
| `- error: non-protocol, non-class type 'TopLevelDecoder<Data>' cannot be used within a protocol-constrained type
62 | ) -> Self
63 | where Body: Decodable & Equatable & Sendable {
/Users/admin/builder/spi-builder-workspace/Sources/DevFoundation/Networking/Simulated URL Request Loader/Request Conditions/BodyEqualsDecodable.swift:65:57: error: generic parameter 'Body' could not be inferred
10 | extension SimulatedURLRequestLoader.RequestConditions {
11 | /// A request condition that is fulfilled if a request’s body, when decoded, is equal to a given value.
12 | public struct BodyEqualsDecodable<Body>: SimulatedURLRequestLoader.RequestCondition
| `- note: 'Body' declared as parameter to type 'SimulatedURLRequestLoader.RequestConditions.BodyEqualsDecodable'
13 | where Body: Decodable & Equatable & Sendable {
14 | /// The decoded value that a request’s body must equal for the condition to be fulfilled.
:
63 | where Body: Decodable & Equatable & Sendable {
64 | return .init(
65 | SimulatedURLRequestLoader.RequestConditions.BodyEqualsDecodable(
| |- error: generic parameter 'Body' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
66 | body: body,
67 | decoder: decoder
[49/135] Compiling ArgumentParser ParserError.swift
[50/135] Compiling ArgumentParser SplitArguments.swift
[51/135] Compiling ArgumentParser DumpHelpGenerator.swift
[52/135] Compiling ArgumentParser HelpCommand.swift
[53/135] Compiling ArgumentParser HelpGenerator.swift
[64/135] Compiling DevFoundation HTTPClientInterceptor.swift
[65/135] Compiling DevFoundation URLRequestLoader.swift
[66/135] Compiling DevFoundation HTTPBody.swift
[67/135] Compiling DevFoundation HTTPHeaderField.swift
[68/135] Compiling DevFoundation HTTPHeaderItem.swift
[69/135] Compiling DevFoundation HTTPMethod.swift
[70/135] Compiling DevFoundation HTTPResponse.swift
[77/135] Compiling DevFoundation SchemeIsOneOf.swift
[78/135] Compiling DevFoundation RandomAccessPager.swift
[79/135] Compiling DevFoundation SequentialPager.swift
[80/135] Compiling DevFoundation AnySendableHashable.swift
[81/135] Compiling DevFoundation DottedHierarchicalID.swift
[82/135] Compiling DevFoundation ExpiringValue.swift
[83/135] Compiling DevFoundation GibberishGenerator.swift
[84/135] Compiling DevFoundation HashableByID.swift
[85/135] Compiling DevFoundation IdentifiableBySelf.swift
[86/135] Compiling DevFoundation JSONValue.swift
[87/135] Compiling DevFoundation OptionalRepresentable.swift
[88/135] Compiling DevFoundation RetryPolicy.swift
[89/135] Compiling DevFoundation SoftwareComponentID.swift
[90/135] Compiling DevFoundation TopLevelCoding.swift
[91/135] Compiling DevFoundation TypedExtensibleEnum.swift
[92/135] Compiling ArgumentParser Errors.swift
[106/135] Compiling ArgumentParser CollectionExtensions.swift
[107/135] Compiling ArgumentParser Mutex.swift
[108/135] Compiling ArgumentParser Platform.swift
[109/135] Compiling ArgumentParser ArgumentDiscussion.swift
[110/135] Compiling ArgumentParser ArgumentHelp.swift
[111/135] Compiling ArgumentParser ArgumentVisibility.swift
[112/135] Compiling ArgumentParser CompletionKind.swift
Fetching https://github.com/DevKitOrganization/DevTesting
Fetching https://github.com/apple/swift-numerics.git
Fetching https://github.com/prachigauriar/URLMock.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/4619] Fetching urlmock
[48/4911] Fetching urlmock, devtesting
[332/11259] Fetching urlmock, devtesting, swift-numerics
[3589/26950] Fetching urlmock, devtesting, swift-numerics, swift-argument-parser
Fetched https://github.com/prachigauriar/URLMock.git from cache (1.49s)
Fetched https://github.com/DevKitOrganization/DevTesting from cache (1.49s)
Fetched https://github.com/apple/swift-numerics.git from cache (1.51s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.51s)
Computing version for https://github.com/prachigauriar/URLMock.git
Computed https://github.com/prachigauriar/URLMock.git at 1.3.6 (4.56s)
Computing version for https://github.com/DevKitOrganization/DevTesting
Computed https://github.com/DevKitOrganization/DevTesting at 1.0.0 (0.40s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.39s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.44s)
Creating working copy for https://github.com/prachigauriar/URLMock.git
Working copy of https://github.com/prachigauriar/URLMock.git resolved at 1.3.6
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/DevKitOrganization/DevTesting
Working copy of https://github.com/DevKitOrganization/DevTesting resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
BUILD FAILURE 6.2 macosSpm