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

Failed to build DevFoundation, reference 1.0.0 (cfeb35), with Swift 6.2 (beta) for macOS (SPM) on 2 Sep 2025 21:45:04 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: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DevKitOrganization/DevFoundation
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at cfeb354 Final changes before release 1.0.0
Cloned https://github.com/DevKitOrganization/DevFoundation.git
Revision (git rev-parse @):
cfeb354cf1884c8d40c11e7905b49e0be4446e10
SUCCESS checkout https://github.com/DevKitOrganization/DevFoundation.git at 1.0.0
========================================
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
[4/11] Write dfob-entitlement.plist
[5/11] Write sources
[7/11] Write swift-version-1EA4D86E10B52AF.txt
[9/78] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/78] Emitting module ArgumentParserToolInfo
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 NonsenseFlagsValidator.swift
[14/135] Compiling ArgumentParser ParsableArgumentsValidation.swift
[15/135] Compiling ArgumentParser PositionalArgumentsValidator.swift
[16/135] Compiling ArgumentParser UniqueNamesValidator.swift
[17/135] Compiling ArgumentParser BashCompletionsGenerator.swift
[18/135] Compiling ArgumentParser CompletionsGenerator.swift
[19/135] Compiling ArgumentParser FishCompletionsGenerator.swift
[20/135] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/135] Compiling ArgumentParser Argument.swift
[22/135] Compiling ArgumentParser Flag.swift
[23/135] Compiling ArgumentParser NameSpecification.swift
[24/135] Compiling ArgumentParser Option.swift
[25/135] Compiling ArgumentParser OptionGroup.swift
[26/135] Compiling ArgumentParser AsyncParsableCommand.swift
[27/135] Compiling DevFoundation FixedWidthInteger+BigEndianData.swift
[28/135] Compiling DevFoundation RangeReplaceableCollection+RemoveFirst.swift
[29/135] Compiling DevFoundation Result+CatchingAsync.swift
[30/135] Compiling DevFoundation InvalidHTTPStatusCodeError.swift
[31/135] Compiling DevFoundation InvalidWebServiceRequestError.swift
[32/135] Compiling DevFoundation NonHTTPURLResponseError.swift
[33/135] Compiling DevFoundation HTTPClient.swift
[34/135] Compiling DevFoundation IdentifiableBySelf.swift
[35/135] Compiling DevFoundation JSONValue.swift
[36/135] Compiling DevFoundation OptionalRepresentable.swift
[37/135] Compiling DevFoundation RetryPolicy.swift
[38/135] Compiling DevFoundation SoftwareComponentID.swift
[39/135] Compiling DevFoundation TopLevelCoding.swift
[40/135] Compiling DevFoundation TypedExtensibleEnum.swift
[41/135] Compiling DevFoundation RandomAccessPager.swift
[42/135] Compiling DevFoundation SequentialPager.swift
[43/135] Compiling DevFoundation AnySendableHashable.swift
[44/135] Compiling DevFoundation DottedHierarchicalID.swift
[45/135] Compiling DevFoundation ExpiringValue.swift
[46/135] Compiling DevFoundation GibberishGenerator.swift
[47/135] Compiling DevFoundation HashableByID.swift
[54/135] Compiling DevFoundation HTTPResponse.swift
[55/135] Compiling ArgumentParser SplitArguments.swift
[56/135] Compiling ArgumentParser DumpHelpGenerator.swift
[57/135] Compiling ArgumentParser HelpCommand.swift
[58/135] Compiling ArgumentParser HelpGenerator.swift
[67/135] Compiling ArgumentParser MessageInfo.swift
[68/135] Compiling ArgumentParser UsageGenerator.swift
[69/135] Compiling ArgumentParser CollectionExtensions.swift
[70/135] Compiling ArgumentParser SwiftExtensions.swift
[71/135] Compiling ArgumentParser Tree.swift
[72/135] Compiling ArgumentParser CodingKeyValidator.swift
[73/135] Compiling ArgumentParser InputKey.swift
[74/135] Compiling ArgumentParser InputOrigin.swift
[75/135] Compiling ArgumentParser Name.swift
[76/135] Compiling ArgumentParser Parsed.swift
[77/135] Compiling ArgumentParser ArgumentDiscussion.swift
[78/135] Compiling ArgumentParser ArgumentHelp.swift
[79/135] Compiling ArgumentParser ArgumentVisibility.swift
[80/135] Compiling ArgumentParser CompletionKind.swift
[81/135] Compiling ArgumentParser Errors.swift
[82/135] Compiling ArgumentParser SequenceExtensions.swift
[83/135] Compiling ArgumentParser StringExtensions.swift
[84/135] Compiling ArgumentParser Mutex.swift
[85/135] Compiling ArgumentParser Platform.swift
[86/135] Compiling ArgumentParser ParsableCommand.swift
[87/135] Compiling ArgumentParser ArgumentDecoder.swift
[88/135] Compiling ArgumentParser ArgumentDefinition.swift
[89/135] Compiling ArgumentParser ArgumentSet.swift
[90/135] Compiling ArgumentParser CommandParser.swift
[91/135] Compiling ArgumentParser ParsedValues.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
[92/135] Compiling ArgumentParser CommandConfiguration.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
[93/135] Compiling ArgumentParser CommandGroup.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
[94/135] Compiling ArgumentParser EnumerableFlag.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
[95/135] Compiling ArgumentParser ExpressibleByArgument.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
[96/135] Compiling ArgumentParser ParsableArguments.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
[97/135] Compiling ArgumentParser ParserError.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
Fetching https://github.com/DevKitOrganization/DevTesting
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/prachigauriar/URLMock.git
Fetching https://github.com/apple/swift-numerics.git
[1/4619] Fetching urlmock
[186/4911] Fetching urlmock, devtesting
[265/11259] Fetching urlmock, devtesting, swift-numerics
[3716/26950] Fetching urlmock, devtesting, swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics.git from cache (2.16s)
Fetched https://github.com/prachigauriar/URLMock.git from cache (2.16s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.16s)
Fetched https://github.com/DevKitOrganization/DevTesting from cache (2.16s)
Computing version for https://github.com/prachigauriar/URLMock.git
Computed https://github.com/prachigauriar/URLMock.git at 1.3.6 (4.76s)
Computing version for https://github.com/DevKitOrganization/DevTesting
Computed https://github.com/DevKitOrganization/DevTesting at 1.0.0 (0.38s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.40s)
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/DevKitOrganization/DevTesting
Working copy of https://github.com/DevKitOrganization/DevTesting resolved at 1.0.0
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/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
BUILD FAILURE 6.2 macosSpm