Build Information
Successful build of SmartNetwork, reference main (2cd1d7
), with Swift 6.1 for macOS (SPM) on 1 May 2025 13:34:40 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/SmartNetwork.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NikSativa/SmartNetwork
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2cd1d77 new README.md
Cloned https://github.com/NikSativa/SmartNetwork.git
Revision (git rev-parse @):
2cd1d77acb4b69993a1d2552f4c18f980216e3ac
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/SmartNetwork.git at main
Fetching https://github.com/NikSativa/Threading.git
Fetching https://github.com/NikSativa/SpryKit.git
[1/924] Fetching sprykit
[140/1344] Fetching sprykit, threading
Fetched https://github.com/NikSativa/Threading.git from cache (0.77s)
Fetched https://github.com/NikSativa/SpryKit.git from cache (0.77s)
Computing version for https://github.com/NikSativa/Threading.git
Computed https://github.com/NikSativa/Threading.git at 2.1.1 (1.27s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 3.0.2 (0.47s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/apple/swift-syntax.git
[1/1257] Fetching cwlpreconditiontesting
[1258/71548] Fetching cwlpreconditiontesting, swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.27s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (3.27s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (4.37s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.57s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.72s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.30s)
Creating working copy for https://github.com/NikSativa/SpryKit.git
Working copy of https://github.com/NikSativa/SpryKit.git resolved at 3.0.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/NikSativa/Threading.git
Working copy of https://github.com/NikSativa/Threading.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.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",
"dependencies": [
{
"identity": "smartnetwork",
"name": "SmartNetwork",
"url": "https://github.com/NikSativa/SmartNetwork.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SmartNetwork",
"dependencies": [
{
"identity": "threading",
"name": "Threading",
"url": "https://github.com/NikSativa/Threading.git",
"version": "2.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Threading",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/NikSativa/SmartNetwork.git
[1/4446] Fetching smartnetwork
Fetched https://github.com/NikSativa/SmartNetwork.git from cache (0.95s)
Fetching https://github.com/NikSativa/Threading.git from cache
Fetched https://github.com/NikSativa/Threading.git from cache (0.46s)
Computing version for https://github.com/NikSativa/Threading.git
Computed https://github.com/NikSativa/Threading.git at 2.1.1 (0.52s)
Creating working copy for https://github.com/NikSativa/Threading.git
Working copy of https://github.com/NikSativa/Threading.git resolved at 2.1.1
Creating working copy for https://github.com/NikSativa/SmartNetwork.git
Working copy of https://github.com/NikSativa/SmartNetwork.git resolved at main (2cd1d77)
warning: '.resolve-product-dependencies': dependency 'smartnetwork' is not used by any target
Found 1 product dependencies
- Threading
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/NikSativa/SmartNetwork.git
https://github.com/NikSativa/SmartNetwork.git
{
"dependencies" : [
{
"identity" : "sprykit",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.2",
"upper_bound" : "3.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/NikSativa/SpryKit.git"
},
{
"identity" : "threading",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.1",
"upper_bound" : "2.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/NikSativa/Threading.git"
}
],
"manifest_display_name" : "SmartNetwork",
"name" : "SmartNetwork",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "SmartNetwork",
"targets" : [
"SmartNetwork"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SmartNetworkTests",
"module_type" : "SwiftTarget",
"name" : "SmartNetworkTests",
"path" : "Tests",
"product_dependencies" : [
"Threading",
"SpryKit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/JSON/HTTPStubBody.json",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AnyRequestCallChainTests.swift",
"CollectionTests.swift",
"CrossPlatformTests.swift",
"CustomDecodableTests.swift",
"DecodableKeyPathTests.swift",
"DecodeByKeyPathTests.swift",
"Error/RequestDecodingErrorTests.swift",
"Error/RequestEncodingErrorTests.swift",
"Error/RequestErrorTests.swift",
"Error/StatusCodeTests.swift",
"Managers/AnyRequestTests.swift",
"Managers/Content/DecodableRequestManagerTests.swift",
"Managers/Content/PureRequestManagerTests.swift",
"Managers/Content/TypedRequestManagerTests.swift",
"Managers/RequestCompletionTests.swift",
"Managers/RequestManagerTests.swift",
"Managers/RequestMultithreadTests.swift",
"Managers/SmartTaskTests.swift",
"OptionalTests.swift",
"Parameters/AddressDetailsTests.swift",
"Parameters/AddressTests.swift",
"Parameters/BodyTests.swift",
"Parameters/HTTPMethodTests.swift",
"Parameters/SmartItemTests.swift",
"Parameters/SmartItemsTests.swift",
"Plugins/Plugin.unifiedTests.swift",
"Plugins/PluginPriorityTests.swift",
"Plugins/Plugins.BasicTests.swift",
"Plugins/Plugins.BearerTests.swift",
"Plugins/Plugins.CurlOSTests.swift",
"Plugins/Plugins.CurlTests.swift",
"Plugins/Plugins.JSONHeadersTests.swift",
"Plugins/Plugins.StatusCodeTests.swift",
"Plugins/Plugins.TokenPluginTests.swift",
"ProgressObservableTests.swift",
"Result+RecoverTests.swift",
"Retrier/AnyErrorRetrierTests.swift",
"Retrier/ConnectionErrorRetrierTests.swift",
"SmartRequestTests.swift",
"Stub/HTTPStubBodyTests.swift",
"Stub/HTTPStubConditionTests.swift",
"Stub/HTTPStubProtocolTests.swift",
"TestHelpers/FakeDetachedTask.swift",
"TestHelpers/FakeRequestManager.swift",
"TestHelpers/FakeSmartTask.swift",
"TestHelpers/FakeSmartURLSession.swift",
"TestHelpers/FakeStopTheLine.swift",
"TestHelpers/FakeURLRequestRepresentation.swift",
"TestHelpers/Parameters/Address+TestHelper.swift",
"TestHelpers/Parameters/Body+TestHelper.swift",
"TestHelpers/Parameters/CacheSettings+TestHelper.swift",
"TestHelpers/Parameters/FakeRequestCache.swift",
"TestHelpers/Parameters/HTTPMethod+TestHelper.swift",
"TestHelpers/Parameters/Parameters+TestHelper.swift",
"TestHelpers/Parameters/Scheme+TestHelper.swift",
"TestHelpers/Parameters/UserInfo+TestHelper.swift",
"TestHelpers/Plugin/FakePlugin.swift",
"TestHelpers/Plugin/Plugin+TestHelper.swift",
"TestHelpers/ResultTestHelpers.swift",
"TestHelpers/RetryResult+TestHelper.swift",
"TestHelpers/SmartItem+TestHelper.swift",
"TestHelpers/SmartResponse+TestHelper.swift",
"TestHelpers/StopTheLineAction+TestHelper.swift",
"TestHelpers/TestInfo.swift",
"TestHelpers/URLRequestRepresentation+TestHelper.swift",
"TestHelpers/UnsafeResult.swift",
"UserInfoTests.swift"
],
"target_dependencies" : [
"SmartNetwork"
],
"type" : "test"
},
{
"c99name" : "SmartNetwork",
"module_type" : "SwiftTarget",
"name" : "SmartNetwork",
"path" : "Source",
"product_dependencies" : [
"Threading"
],
"product_memberships" : [
"SmartNetwork"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Source/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Address/Address.swift",
"Address/AddressDetails+URL.swift",
"Address/AddressDetails.swift",
"Address/AddressDetailsExt.swift",
"Address/AddressExt.swift",
"CURLConvertible.swift",
"Content/DataContent.swift",
"Content/DecodableContent.swift",
"Content/DecodableKeyPath.swift",
"Content/Deserializable.swift",
"Content/ImageContent.swift",
"Content/JSONContent.swift",
"Content/VoidContent.swift",
"CrossPlatform.swift",
"Error/RequestDecodingError.swift",
"Error/RequestEncodingError.swift",
"Error/RequestError.swift",
"Error/RequestErrorDescription.swift",
"Error/StatusCode.swift",
"Extensions/Cancellable+SN.swift",
"Extensions/Collection+SN.swift",
"Extensions/DecodeByKeyPath.swift",
"Extensions/DelayedQueue+SN.swift",
"Extensions/Optional+SN.swift",
"Extensions/Result+Recover.swift",
"JSONDecoding.swift",
"Managers/Request/AnyRequest.swift",
"Managers/Request/DecodableRequestManager.swift",
"Managers/Request/RequestCompletion.swift",
"Managers/Request/TypedRequest.swift",
"Managers/Request/TypedRequestManager.swift",
"Managers/RequestManager.swift",
"Managers/SmartRequestManager.swift",
"Parameters/Body.MultipartForm.swift",
"Parameters/Body.XFormEncoder.swift",
"Parameters/Body.swift",
"Parameters/CacheSettings.swift",
"Parameters/HTTPMethod.swift",
"Parameters/Parameters.swift",
"Parameters/Scheme.swift",
"Parameters/SmartItem.swift",
"Parameters/SmartItems.swift",
"Parameters/UserInfo.swift",
"Parameters/UserInfoKey.swift",
"Plugin/Plugin.swift",
"Plugin/PluginPriority.swift",
"Plugin/Plugins.Basic.swift",
"Plugin/Plugins.Bearer.swift",
"Plugin/Plugins.JSONHeaders.swift",
"Plugin/Plugins.Log.swift",
"Plugin/Plugins.LogOS.swift",
"Plugin/Plugins.StatusCode.swift",
"Plugin/Plugins.TokenPlugin.swift",
"Retrier/AnyErrorRetrier.swift",
"Retrier/ConnectionErrorRetrier.swift",
"Retrier/SmartRetrier.swift",
"SmartNetworkSettings.swift",
"SmartRequest.swift",
"SmartResponse.swift",
"SmartSendable.swift",
"StopTheLine/StopTheLine.swift",
"StopTheLine/StopTheLineAction.swift",
"StopTheLine/StopTheLineResult.swift",
"Stub/HTTPStubBody.swift",
"Stub/HTTPStubCondition.swift",
"Stub/HTTPStubProtocol.swift",
"Stub/HTTPStubResponse.swift",
"Stub/HTTPStubServer.swift",
"Task+SN.swift",
"Task/DetachedTask.swift",
"Task/SmartTask.swift",
"Task/SmartTasking.swift",
"URLSession/SmartURLSession.swift",
"URLSession/URLRequestRepresentation.swift",
"URLSession/URLSession+SN.swift",
"UserInfo+Keys.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/5] Write sources
[1/5] Copying PrivacyInfo.xcprivacy
[1/5] Write sources
[2/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/24] Compiling Threading Semaphore.swift
[7/24] Compiling Threading Unfair.swift
[8/24] Compiling Threading Queue.swift
[9/24] Compiling Threading Queueable.swift
[10/26] Emitting module Threading
[11/26] Compiling Threading NSLock.swift
[12/26] Compiling Threading NSRecursiveLock.swift
[13/26] Compiling Threading Mutexing.swift
[14/26] Compiling Threading Queue+Queueable.swift
[15/26] Compiling Threading AnyLock.swift
[16/26] Compiling Threading AnyMutex.swift
[17/26] Compiling Threading Atomic.swift
[18/26] Compiling Threading DelayedQueue.swift
[19/26] Compiling Threading DispatchTime+Queue.swift
[20/26] Compiling Threading IsolatedMain.swift
[21/26] Compiling Threading Locking.swift
[22/26] Compiling Threading Barrier.swift
[23/26] Compiling Threading OSAllocatedUnfairLock.swift
[24/26] Compiling Threading PThread.swift
[25/26] Compiling Threading UnSendable.swift
[26/26] Compiling Threading resource_bundle_accessor.swift
[27/97] Emitting module SmartNetwork
[28/104] Compiling SmartNetwork RequestError.swift
[29/104] Compiling SmartNetwork RequestErrorDescription.swift
[30/104] Compiling SmartNetwork StatusCode.swift
[31/104] Compiling SmartNetwork Cancellable+SN.swift
[32/104] Compiling SmartNetwork Collection+SN.swift
[33/104] Compiling SmartNetwork DecodeByKeyPath.swift
[34/104] Compiling SmartNetwork DelayedQueue+SN.swift
[35/104] Compiling SmartNetwork Optional+SN.swift
[36/104] Compiling SmartNetwork SmartItem.swift
[37/104] Compiling SmartNetwork SmartItems.swift
[38/104] Compiling SmartNetwork UserInfo.swift
[39/104] Compiling SmartNetwork UserInfoKey.swift
[40/104] Compiling SmartNetwork Plugin.swift
[41/104] Compiling SmartNetwork PluginPriority.swift
[42/104] Compiling SmartNetwork Plugins.Basic.swift
[43/104] Compiling SmartNetwork Plugins.Bearer.swift
[44/104] Compiling SmartNetwork SmartNetworkSettings.swift
[45/104] Compiling SmartNetwork SmartRequest.swift
[46/104] Compiling SmartNetwork SmartResponse.swift
[47/104] Compiling SmartNetwork SmartSendable.swift
[48/104] Compiling SmartNetwork StopTheLine.swift
[49/104] Compiling SmartNetwork StopTheLineAction.swift
[50/104] Compiling SmartNetwork StopTheLineResult.swift
[51/104] Compiling SmartNetwork Address.swift
[52/104] Compiling SmartNetwork AddressDetails+URL.swift
[53/104] Compiling SmartNetwork AddressDetails.swift
[54/104] Compiling SmartNetwork AddressDetailsExt.swift
[55/104] Compiling SmartNetwork AddressExt.swift
[56/104] Compiling SmartNetwork CURLConvertible.swift
[57/104] Compiling SmartNetwork DataContent.swift
[58/104] Compiling SmartNetwork DecodableContent.swift
[59/104] Compiling SmartNetwork Result+Recover.swift
[60/104] Compiling SmartNetwork JSONDecoding.swift
[61/104] Compiling SmartNetwork AnyRequest.swift
[62/104] Compiling SmartNetwork DecodableRequestManager.swift
[63/104] Compiling SmartNetwork RequestCompletion.swift
[64/104] Compiling SmartNetwork TypedRequest.swift
[65/104] Compiling SmartNetwork TypedRequestManager.swift
[66/104] Compiling SmartNetwork RequestManager.swift
[67/104] Compiling SmartNetwork HTTPStubBody.swift
[68/104] Compiling SmartNetwork HTTPStubCondition.swift
[69/104] Compiling SmartNetwork HTTPStubProtocol.swift
[70/104] Compiling SmartNetwork HTTPStubResponse.swift
[71/104] Compiling SmartNetwork HTTPStubServer.swift
[72/104] Compiling SmartNetwork Task+SN.swift
[73/104] Compiling SmartNetwork DetachedTask.swift
[74/104] Compiling SmartNetwork Plugins.JSONHeaders.swift
[75/104] Compiling SmartNetwork Plugins.Log.swift
[76/104] Compiling SmartNetwork Plugins.LogOS.swift
[77/104] Compiling SmartNetwork Plugins.StatusCode.swift
[78/104] Compiling SmartNetwork Plugins.TokenPlugin.swift
[79/104] Compiling SmartNetwork AnyErrorRetrier.swift
[80/104] Compiling SmartNetwork ConnectionErrorRetrier.swift
[81/104] Compiling SmartNetwork SmartRetrier.swift
[82/104] Compiling SmartNetwork SmartTask.swift
[83/104] Compiling SmartNetwork SmartTasking.swift
[84/104] Compiling SmartNetwork SmartURLSession.swift
[85/104] Compiling SmartNetwork URLRequestRepresentation.swift
[86/104] Compiling SmartNetwork URLSession+SN.swift
[87/104] Compiling SmartNetwork UserInfo+Keys.swift
[88/104] Compiling SmartNetwork resource_bundle_accessor.swift
[89/104] Compiling SmartNetwork SmartRequestManager.swift
[90/104] Compiling SmartNetwork Body.MultipartForm.swift
[91/104] Compiling SmartNetwork Body.XFormEncoder.swift
[92/104] Compiling SmartNetwork Body.swift
[93/104] Compiling SmartNetwork CacheSettings.swift
[94/104] Compiling SmartNetwork HTTPMethod.swift
[95/104] Compiling SmartNetwork Parameters.swift
[96/104] Compiling SmartNetwork Scheme.swift
[97/104] Compiling SmartNetwork DecodableKeyPath.swift
[98/104] Compiling SmartNetwork Deserializable.swift
[99/104] Compiling SmartNetwork ImageContent.swift
[100/104] Compiling SmartNetwork JSONContent.swift
[101/104] Compiling SmartNetwork VoidContent.swift
[102/104] Compiling SmartNetwork CrossPlatform.swift
[103/104] Compiling SmartNetwork RequestDecodingError.swift
[104/104] Compiling SmartNetwork RequestEncodingError.swift
Build complete! (13.31s)
Build complete.
{
"dependencies" : [
{
"identity" : "sprykit",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.2",
"upper_bound" : "3.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/NikSativa/SpryKit.git"
},
{
"identity" : "threading",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.1",
"upper_bound" : "2.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/NikSativa/Threading.git"
}
],
"manifest_display_name" : "SmartNetwork",
"name" : "SmartNetwork",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "SmartNetwork",
"targets" : [
"SmartNetwork"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SmartNetworkTests",
"module_type" : "SwiftTarget",
"name" : "SmartNetworkTests",
"path" : "Tests",
"product_dependencies" : [
"Threading",
"SpryKit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/JSON/HTTPStubBody.json",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AnyRequestCallChainTests.swift",
"CollectionTests.swift",
"CrossPlatformTests.swift",
"CustomDecodableTests.swift",
"DecodableKeyPathTests.swift",
"DecodeByKeyPathTests.swift",
"Error/RequestDecodingErrorTests.swift",
"Error/RequestEncodingErrorTests.swift",
"Error/RequestErrorTests.swift",
"Error/StatusCodeTests.swift",
"Managers/AnyRequestTests.swift",
"Managers/Content/DecodableRequestManagerTests.swift",
"Managers/Content/PureRequestManagerTests.swift",
"Managers/Content/TypedRequestManagerTests.swift",
"Managers/RequestCompletionTests.swift",
"Managers/RequestManagerTests.swift",
"Managers/RequestMultithreadTests.swift",
"Managers/SmartTaskTests.swift",
"OptionalTests.swift",
"Parameters/AddressDetailsTests.swift",
"Parameters/AddressTests.swift",
"Parameters/BodyTests.swift",
"Parameters/HTTPMethodTests.swift",
"Parameters/SmartItemTests.swift",
"Parameters/SmartItemsTests.swift",
"Plugins/Plugin.unifiedTests.swift",
"Plugins/PluginPriorityTests.swift",
"Plugins/Plugins.BasicTests.swift",
"Plugins/Plugins.BearerTests.swift",
"Plugins/Plugins.CurlOSTests.swift",
"Plugins/Plugins.CurlTests.swift",
"Plugins/Plugins.JSONHeadersTests.swift",
"Plugins/Plugins.StatusCodeTests.swift",
"Plugins/Plugins.TokenPluginTests.swift",
"ProgressObservableTests.swift",
"Result+RecoverTests.swift",
"Retrier/AnyErrorRetrierTests.swift",
"Retrier/ConnectionErrorRetrierTests.swift",
"SmartRequestTests.swift",
"Stub/HTTPStubBodyTests.swift",
"Stub/HTTPStubConditionTests.swift",
"Stub/HTTPStubProtocolTests.swift",
"TestHelpers/FakeDetachedTask.swift",
"TestHelpers/FakeRequestManager.swift",
"TestHelpers/FakeSmartTask.swift",
"TestHelpers/FakeSmartURLSession.swift",
"TestHelpers/FakeStopTheLine.swift",
"TestHelpers/FakeURLRequestRepresentation.swift",
"TestHelpers/Parameters/Address+TestHelper.swift",
"TestHelpers/Parameters/Body+TestHelper.swift",
"TestHelpers/Parameters/CacheSettings+TestHelper.swift",
"TestHelpers/Parameters/FakeRequestCache.swift",
"TestHelpers/Parameters/HTTPMethod+TestHelper.swift",
"TestHelpers/Parameters/Parameters+TestHelper.swift",
"TestHelpers/Parameters/Scheme+TestHelper.swift",
"TestHelpers/Parameters/UserInfo+TestHelper.swift",
"TestHelpers/Plugin/FakePlugin.swift",
"TestHelpers/Plugin/Plugin+TestHelper.swift",
"TestHelpers/ResultTestHelpers.swift",
"TestHelpers/RetryResult+TestHelper.swift",
"TestHelpers/SmartItem+TestHelper.swift",
"TestHelpers/SmartResponse+TestHelper.swift",
"TestHelpers/StopTheLineAction+TestHelper.swift",
"TestHelpers/TestInfo.swift",
"TestHelpers/URLRequestRepresentation+TestHelper.swift",
"TestHelpers/UnsafeResult.swift",
"UserInfoTests.swift"
],
"target_dependencies" : [
"SmartNetwork"
],
"type" : "test"
},
{
"c99name" : "SmartNetwork",
"module_type" : "SwiftTarget",
"name" : "SmartNetwork",
"path" : "Source",
"product_dependencies" : [
"Threading"
],
"product_memberships" : [
"SmartNetwork"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Source/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Address/Address.swift",
"Address/AddressDetails+URL.swift",
"Address/AddressDetails.swift",
"Address/AddressDetailsExt.swift",
"Address/AddressExt.swift",
"CURLConvertible.swift",
"Content/DataContent.swift",
"Content/DecodableContent.swift",
"Content/DecodableKeyPath.swift",
"Content/Deserializable.swift",
"Content/ImageContent.swift",
"Content/JSONContent.swift",
"Content/VoidContent.swift",
"CrossPlatform.swift",
"Error/RequestDecodingError.swift",
"Error/RequestEncodingError.swift",
"Error/RequestError.swift",
"Error/RequestErrorDescription.swift",
"Error/StatusCode.swift",
"Extensions/Cancellable+SN.swift",
"Extensions/Collection+SN.swift",
"Extensions/DecodeByKeyPath.swift",
"Extensions/DelayedQueue+SN.swift",
"Extensions/Optional+SN.swift",
"Extensions/Result+Recover.swift",
"JSONDecoding.swift",
"Managers/Request/AnyRequest.swift",
"Managers/Request/DecodableRequestManager.swift",
"Managers/Request/RequestCompletion.swift",
"Managers/Request/TypedRequest.swift",
"Managers/Request/TypedRequestManager.swift",
"Managers/RequestManager.swift",
"Managers/SmartRequestManager.swift",
"Parameters/Body.MultipartForm.swift",
"Parameters/Body.XFormEncoder.swift",
"Parameters/Body.swift",
"Parameters/CacheSettings.swift",
"Parameters/HTTPMethod.swift",
"Parameters/Parameters.swift",
"Parameters/Scheme.swift",
"Parameters/SmartItem.swift",
"Parameters/SmartItems.swift",
"Parameters/UserInfo.swift",
"Parameters/UserInfoKey.swift",
"Plugin/Plugin.swift",
"Plugin/PluginPriority.swift",
"Plugin/Plugins.Basic.swift",
"Plugin/Plugins.Bearer.swift",
"Plugin/Plugins.JSONHeaders.swift",
"Plugin/Plugins.Log.swift",
"Plugin/Plugins.LogOS.swift",
"Plugin/Plugins.StatusCode.swift",
"Plugin/Plugins.TokenPlugin.swift",
"Retrier/AnyErrorRetrier.swift",
"Retrier/ConnectionErrorRetrier.swift",
"Retrier/SmartRetrier.swift",
"SmartNetworkSettings.swift",
"SmartRequest.swift",
"SmartResponse.swift",
"SmartSendable.swift",
"StopTheLine/StopTheLine.swift",
"StopTheLine/StopTheLineAction.swift",
"StopTheLine/StopTheLineResult.swift",
"Stub/HTTPStubBody.swift",
"Stub/HTTPStubCondition.swift",
"Stub/HTTPStubProtocol.swift",
"Stub/HTTPStubResponse.swift",
"Stub/HTTPStubServer.swift",
"Task+SN.swift",
"Task/DetachedTask.swift",
"Task/SmartTask.swift",
"Task/SmartTasking.swift",
"URLSession/SmartURLSession.swift",
"URLSession/URLRequestRepresentation.swift",
"URLSession/URLSession+SN.swift",
"UserInfo+Keys.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/niksativa/smartnetwork/main
Repository: NikSativa/SmartNetwork
Swift version used: 6.1
Target: SmartNetwork
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch release/6.2 -> FETCH_HEAD
* [new branch] release/6.2 -> origin/release/6.2
HEAD is now at 8799b69 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Extracting symbol information for 'SmartNetwork'...
Finished extracting symbol information for 'SmartNetwork'. (5.77s)
Building documentation for 'SmartNetwork'...
warning: 'URL' doesn't exist at '/SmartNetwork/AddressDetails'
--> Source/Address/AddressDetails.swift:3:59-3:62
1 | import Foundation
2 |
3 + /// The ``AddressDetails`` struct in Swift represents a ``URL`` and contains specific components to define the address details.
4 | /// This struct is intended to encapsulate detailed information about a ``URL``, such as scheme, host, port,
5 | /// path components, query items, and fragment for constructing and processing ``URL``s effectively within the system.
warning: 'URL' doesn't exist at '/SmartNetwork/AddressDetails'
--> Source/Address/AddressDetails.swift:4:75-4:78
2 |
3 | /// The ``AddressDetails`` struct in Swift represents a ``URL`` and contains specific components to define the address details.
4 + /// This struct is intended to encapsulate detailed information about a ``URL``, such as scheme, host, port,
5 | /// path components, query items, and fragment for constructing and processing ``URL``s effectively within the system.
6 | public struct AddressDetails: Hashable, SmartSendable {
warning: 'URL' doesn't exist at '/SmartNetwork/AddressDetails'
--> Source/Address/AddressDetails.swift:5:82-5:85
3 | /// The ``AddressDetails`` struct in Swift represents a ``URL`` and contains specific components to define the address details.
4 | /// This struct is intended to encapsulate detailed information about a ``URL``, such as scheme, host, port,
5 + /// path components, query items, and fragment for constructing and processing ``URL``s effectively within the system.
6 | public struct AddressDetails: Hashable, SmartSendable {
7 | public let scheme: Scheme?
warning: Parameter 'decoder' not found in instance method declaration
--> Source/Content/Deserializable.swift:12:11-13:9
10 | /// - Parameters:
11 | /// - data: The data to be decoded.
12 + /// - decoder: *(if needed)* An autoclosure providing a ``JSONDecoder`` instance for decoding that was specified in ``Parameters``.
| ╰─suggestion: Remove 'decoder' parameter documentation
13 + ///
14 | /// - Returns: A Result object containing the decoded object or an error.
15 | func decode(with data: SmartResponse, parameters: Parameters) -> Result<Object, Error>
warning: Parameter 'parameters' is missing documentation
--> Source/Content/Deserializable.swift:13:9-13:9
11 | /// - data: The data to be decoded.
12 | /// - decoder: *(if needed)* An autoclosure providing a ``JSONDecoder`` instance for decoding that was specified in ``Parameters``.
13 + ///
| ╰─suggestion: Document 'parameters' parameter
14 | /// - Returns: A Result object containing the decoded object or an error.
15 | func decode(with data: SmartResponse, parameters: Parameters) -> Result<Object, Error>
warning: This documentation block is inherited by other symbols where 'Cancellable' fails to resolve.
--> Source/Extensions/Cancellable+SN.swift:14:71-14:86
12 | /// ```
13 | ///
14 + /// - Parameter collection: The collection in which to store this ``Cancellable``.
| ╰─suggestion: Use an absolute link path.
15 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
16 | func storing<C>(in collection: inout C) -> Self
warning: This documentation block is inherited by other symbols where 'Cancellable' fails to resolve.
--> Source/Extensions/Cancellable+SN.swift:31:57-31:72
29 | /// ```
30 | ///
31 + /// - Parameter set: The set in which to store this ``Cancellable``.
| ╰─suggestion: Use an absolute link path.
32 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
33 | func storing(in set: inout Set<AnyCancellable>) -> Self {
warning: 'Decodable' doesn't exist at '/SmartNetwork/AnyRequest/decode(_:with:keyPath:)'
--> Source/Managers/Request/AnyRequest.swift:44:22-44:31
42 |
43 | public extension AnyRequest {
44 + /// Requests a ``Decodable`` object.
45 | func decode<T>(_ type: T.Type = T.self, with decoder: JSONDecoder, keyPath: DecodableKeyPath<T> = []) -> TypedRequest<T>
46 | where T: Decodable {
warning: 'Decodable' doesn't exist at '/SmartNetwork/AnyRequest/decode(_:with:keyPath:)'
--> Source/Managers/Request/AnyRequest.swift:50:22-50:31
48 | }
49 |
50 + /// Requests a ``Decodable`` object.
51 | func decode<T>(_ type: T.Type = T.self, with decoder: JSONDecoding? = nil, keyPath: DecodableKeyPath<T> = []) -> TypedRequest<T>
52 | where T: Decodable {
warning: 'Decodable' doesn't exist at '/SmartNetwork/AnyRequest/decode(_:with:keyPath:)'
--> Source/Managers/Request/AnyRequest.swift:56:22-56:31
54 | }
55 |
56 + /// Requests a ``Decodable`` object.
57 | func decode<T>(_ type: T.Type = T.self, with decoder: JSONDecoder, keyPath: DecodableKeyPath<T> = []) -> TypedRequest<T>
58 | where T: Decodable & ExpressibleByNilLiteral {
warning: 'Decodable' doesn't exist at '/SmartNetwork/AnyRequest/decode(_:with:keyPath:)'
--> Source/Managers/Request/AnyRequest.swift:62:22-62:31
60 | }
61 |
62 + /// Requests a ``Decodable`` object.
63 | func decode<T>(_ type: T.Type = T.self, with decoder: JSONDecoding? = nil, keyPath: DecodableKeyPath<T> = []) -> TypedRequest<T>
64 | where T: Decodable & ExpressibleByNilLiteral {
warning: 'Decodable' doesn't exist at '/SmartNetwork/AnyRequest/decodeAsync(_:with:keyPath:)'
--> Source/Managers/Request/AnyRequest.swift:68:22-68:31
66 | }
67 |
68 + /// Requests a ``Decodable`` object asynchronously.
69 | func decodeAsync<T>(_ type: T.Type = T.self, with decoder: JSONDecoding? = nil, keyPath: DecodableKeyPath<T> = []) async -> Result<T, Error>
70 | where T: Decodable {
warning: 'Decodable' doesn't exist at '/SmartNetwork/AnyRequest/decodeAsyncWithThrowing(_:with:keyPath:)'
--> Source/Managers/Request/AnyRequest.swift:74:22-74:31
72 | }
73 |
74 + /// Requests a ``Decodable`` object asynchronously with throwing error.
75 | func decodeAsyncWithThrowing<T>(_ type: T.Type = T.self, with decoder: JSONDecoding? = nil, keyPath: DecodableKeyPath<T> = []) async throws -> T
76 | where T: Decodable {
warning: 'Decodable' doesn't exist at '/SmartNetwork/AnyRequest/decodeAsync(_:with:keyPath:)'
--> Source/Managers/Request/AnyRequest.swift:80:22-80:31
78 | }
79 |
80 + /// Requests a ``Decodable`` object asynchronously.
81 | func decodeAsync<T>(_ type: T.Type = T.self, with decoder: JSONDecoding? = nil, keyPath: DecodableKeyPath<T> = []) async -> Result<T, Error>
82 | where T: Decodable & ExpressibleByNilLiteral {
warning: 'Decodable' doesn't exist at '/SmartNetwork/AnyRequest/decodeAsyncWithThrowing(_:with:keyPath:)'
--> Source/Managers/Request/AnyRequest.swift:86:22-86:31
84 | }
85 |
86 + /// Requests a ``Decodable`` object asynchronously with throwing error.
87 | func decodeAsyncWithThrowing<T>(_ type: T.Type = T.self, with decoder: JSONDecoding? = nil, keyPath: DecodableKeyPath<T> = []) async throws -> T
88 | where T: Decodable & ExpressibleByNilLiteral {
warning: 'Image' doesn't exist at '/SmartNetwork/AnyRequest/image()'
--> Source/Managers/Request/AnyRequest.swift:92:22-92:27
90 | }
91 |
92 + /// Requests a ``Image`` object.
93 | func image() -> TypedRequest<SmartImage> {
94 | return custom(ImageContent())
warning: 'Data' doesn't exist at '/SmartNetwork/AnyRequest/data()'
--> Source/Managers/Request/AnyRequest.swift:97:22-97:26
95 | }
96 |
97 + /// Requests a ``Data`` object.
98 | func data() -> TypedRequest<Data> {
99 | return custom(DataContent())
warning: 'JSON' doesn't exist at '/SmartNetwork/AnyRequest/json()'
--> Source/Managers/Request/AnyRequest.swift:102:22-102:26
100 | }
101 |
102 + /// Requests a ``JSON`` object.
103 | func json() -> TypedRequest<Any> {
104 | return custom(JSONContent())
warning: 'Void' doesn't exist at '/SmartNetwork/AnyRequest/void()'
--> Source/Managers/Request/AnyRequest.swift:107:22-107:26
105 | }
106 |
107 + /// Requests a ``Void`` object.
108 | func void() -> TypedRequest<Void> {
109 | return custom(VoidContent())
warning: 'Decodable' doesn't exist at '/SmartNetwork/DecodableRequestManager'
--> Source/Managers/Request/DecodableRequestManager.swift:4:57-4:66
2 | import Threading
3 |
4 + /// A class that manages requests and responses for a ``Decodable`` type.
5 | public struct DecodableRequestManager {
6 | private let base: RequestManager
warning: 'DelayedQueue' doesn't exist at '/SmartNetwork/RequestManager/request(address:parameters:userInfo:completionQueue:completion:)'
--> Source/Managers/RequestManager.swift:23:42-23:54
21 | /// - Parameter parameters: A ``Parameters`` object containing the request parameters.
22 | /// - Parameter userInfo: A ``UserInfo`` object with additional user information.
23 + /// - Parameter completionQueue: A ``DelayedQueue`` where the completion handler will be executed.
24 | /// - Parameter completion: A ``ResponseClosure`` that is executed when a response is received.
25 | func request(address: Address, parameters: Parameters, userInfo: UserInfo, completionQueue: DelayedQueue, completion: @escaping ResponseClosure) -> SmartTasking
warning: 'Void' doesn't exist at '/SmartNetwork/SmartRequestManager/void'
--> Source/Managers/RequestManager.swift:39:11-39:15
37 | }
38 |
39 + /// ``Void`` request manager.
40 | var void: TypedRequestManager<Void> {
41 | return .init(VoidContent(), base: self)
warning: 'Void' doesn't exist at '/SmartNetwork/RequestManager/void'
--> Source/Managers/RequestManager.swift:39:11-39:15
37 | }
38 |
39 + /// ``Void`` request manager.
40 | var void: TypedRequestManager<Void> {
41 | return .init(VoidContent(), base: self)
warning: 'Decodable' doesn't exist at '/SmartNetwork/SmartRequestManager/decodable'
--> Source/Managers/RequestManager.swift:44:11-44:20
42 | }
43 |
44 + /// ``Decodable`` request manager.
45 | var decodable: DecodableRequestManager {
46 | return .init(base: self)
warning: 'Decodable' doesn't exist at '/SmartNetwork/RequestManager/decodable'
--> Source/Managers/RequestManager.swift:44:11-44:20
42 | }
43 |
44 + /// ``Decodable`` request manager.
45 | var decodable: DecodableRequestManager {
46 | return .init(base: self)
warning: 'Data' doesn't exist at '/SmartNetwork/SmartRequestManager/data'
--> Source/Managers/RequestManager.swift:51:11-51:15
49 | // MARK: - strong
50 |
51 + /// ``Data`` request manager.
52 | var data: TypedRequestManager<Data> {
53 | return custom(DataContent())
warning: 'Data' doesn't exist at '/SmartNetwork/RequestManager/data'
--> Source/Managers/RequestManager.swift:51:11-51:15
49 | // MARK: - strong
50 |
51 + /// ``Data`` request manager.
52 | var data: TypedRequestManager<Data> {
53 | return custom(DataContent())
warning: 'Image' doesn't exist at '/SmartNetwork/SmartRequestManager/image'
--> Source/Managers/RequestManager.swift:56:11-56:16
54 | }
55 |
56 + /// ``Image`` request manager.
57 | var image: TypedRequestManager<SmartImage> {
58 | return custom(ImageContent())
warning: 'Image' doesn't exist at '/SmartNetwork/RequestManager/image'
--> Source/Managers/RequestManager.swift:56:11-56:16
54 | }
55 |
56 + /// ``Image`` request manager.
57 | var image: TypedRequestManager<SmartImage> {
58 | return custom(ImageContent())
warning: 'JSON' doesn't exist at '/SmartNetwork/RequestManager/json'
--> Source/Managers/RequestManager.swift:61:11-61:15
59 | }
60 |
61 + /// ``JSON`` request manager.
62 | var json: TypedRequestManager<Any> {
63 | return custom(JSONContent())
warning: 'JSON' doesn't exist at '/SmartNetwork/SmartRequestManager/json'
--> Source/Managers/RequestManager.swift:61:11-61:15
59 | }
60 |
61 + /// ``JSON`` request manager.
62 | var json: TypedRequestManager<Any> {
63 | return custom(JSONContent())
warning: 'Data' doesn't exist at '/SmartNetwork/RequestManager/dataOptional'
--> Source/Managers/RequestManager.swift:68:11-68:15
66 | // MARK: - optional
67 |
68 + /// ``Data`` request manager.
69 | var dataOptional: TypedRequestManager<Data?> {
70 | return customOptional(DataContent())
warning: 'Data' doesn't exist at '/SmartNetwork/SmartRequestManager/dataOptional'
--> Source/Managers/RequestManager.swift:68:11-68:15
66 | // MARK: - optional
67 |
68 + /// ``Data`` request manager.
69 | var dataOptional: TypedRequestManager<Data?> {
70 | return customOptional(DataContent())
warning: 'Image' doesn't exist at '/SmartNetwork/SmartRequestManager/imageOptional'
--> Source/Managers/RequestManager.swift:73:11-73:16
71 | }
72 |
73 + /// ``Image`` request manager.
74 | var imageOptional: TypedRequestManager<SmartImage?> {
75 | return customOptional(ImageContent())
warning: 'Image' doesn't exist at '/SmartNetwork/RequestManager/imageOptional'
--> Source/Managers/RequestManager.swift:73:11-73:16
71 | }
72 |
73 + /// ``Image`` request manager.
74 | var imageOptional: TypedRequestManager<SmartImage?> {
75 | return customOptional(ImageContent())
warning: 'JSON' doesn't exist at '/SmartNetwork/RequestManager/jsonOptional'
--> Source/Managers/RequestManager.swift:78:11-78:15
76 | }
77 |
78 + /// ``JSON`` request manager.
79 | var jsonOptional: TypedRequestManager<Any?> {
80 | return customOptional(JSONContent())
warning: 'JSON' doesn't exist at '/SmartNetwork/SmartRequestManager/jsonOptional'
--> Source/Managers/RequestManager.swift:78:11-78:15
76 | }
77 |
78 + /// ``JSON`` request manager.
79 | var jsonOptional: TypedRequestManager<Any?> {
80 | return customOptional(JSONContent())
warning: Parameter 'parts' is missing documentation
--> Source/Parameters/Body.MultipartForm.swift:26:73-26:73
24 | ///
25 | /// - Parameters:
26 + /// - boundary: Boundary `String` used to separate body parts.
| ╰─suggestion: Document 'parts' parameter
27 | public init(boundary: Boundary? = nil,
28 | parts: [DataContent] = []) {
warning: 'Encodable' doesn't exist at '/SmartNetwork/Body/xform(_:encoder:)'
--> Source/Parameters/Body.swift:52:38-52:47
50 | }
51 |
52 + /// x-www-form-urlencoded from ``Encodable`` object
53 | static func xform(_ object: some Encodable, encoder: JSONEncoder? = nil) throws -> Self {
54 | let encoder = encoder ?? .init()
warning: 'Stopper' doesn't exist at '/SmartNetwork/Parameters'
--> Source/Parameters/Parameters.swift:6:108-6:115
4 | /// This struct represents the parameters required for a network request.
5 | ///
6 + /// - Note: You can use ``UserInfo`` to pass data between any part of the network layer like ``Plugin``, ``Stopper`` etc.
7 | public struct Parameters {
8 | /// The header fields for the request.
warning: 'URL' doesn't exist at '/SmartNetwork/Parameters/urlRequest(for:)'
--> Source/Parameters/Parameters.swift:62:56-62:59
60 | /// Generates a URLRequest representation of the Parameters for a given address.
61 | /// - Parameters:
62 + /// - address: The ``Address`` to generate the ``URL`` for the request.
63 | /// - Returns: A representation of the ``URLRequest`` based on the Parameters.
64 | /// - Throws: An error if ``URL`` creation or request building fails.
warning: 'URLRequest' doesn't exist at '/SmartNetwork/Parameters/urlRequest(for:)'
--> Source/Parameters/Parameters.swift:63:46-63:56
61 | /// - Parameters:
62 | /// - address: The ``Address`` to generate the ``URL`` for the request.
63 + /// - Returns: A representation of the ``URLRequest`` based on the Parameters.
64 | /// - Throws: An error if ``URL`` creation or request building fails.
65 | func urlRequest(for address: Address) throws -> URLRequestRepresentation {
warning: 'URL' doesn't exist at '/SmartNetwork/Parameters/urlRequest(for:)'
--> Source/Parameters/Parameters.swift:64:33-64:36
62 | /// - address: The ``Address`` to generate the ``URL`` for the request.
63 | /// - Returns: A representation of the ``URLRequest`` based on the Parameters.
64 + /// - Throws: An error if ``URL`` creation or request building fails.
65 | func urlRequest(for address: Address) throws -> URLRequestRepresentation {
66 | let url = try address.url()
warning: Parameter 'priority' is missing documentation
--> Source/Plugin/Plugins.StatusCode.swift:37:114-37:114
35 | /// - shouldIgnore200th: ignore status code in range `200..<300` and/or ignore `Nil`
| ╰─suggestion: Document 'priority' parameter
36 | /// - shouldIgnoreNil: ignore `nil` status code. It happens when the response is not an HTTP response.
37 + /// - shouldIgnorePreviousError: ignore previous error tht was thrown by another plugin or the network.
38 | public convenience init(priority: PluginPriority = .statusCode,
39 | shouldIgnore200th: Bool = true,
warning: 'Data' doesn't exist at '/SmartNetwork/SmartResponse/body'
--> Source/SmartResponse.swift:13:20-13:24
11 | public let request: URLRequestRepresentation?
12 |
13 + /// The body ``Data`` of the response.
14 | public let body: Data?
15 |
warning: 'URLResponse' doesn't exist at '/SmartNetwork/SmartResponse/response'
--> Source/SmartResponse.swift:16:15-16:26
14 | public let body: Data?
15 |
16 + /// The ``URLResponse`` received from the request.
17 | public let response: URLResponse?
18 |
warning: 'Error' doesn't exist at '/SmartNetwork/SmartResponse/error'
--> Source/SmartResponse.swift:22:15-22:20
20 | public let session: SmartURLSession
21 |
22 + /// The ``Error`` that occurred during the request, if any.
23 | public private(set) var error: Error?
24 |
warning: Parameter 'keepingOrder' is missing documentation
--> Source/Stub/HTTPStubCondition.swift:54:141-54:141
52 | /// Partially **Path** of URL
53 | ///
54 + /// - Parameter path: The path to match, e.g. the path is **/signin/** or **/signin** or **signin** in *https://api.example.com/signin*.
| ╰─suggestion: Document 'keepingOrder' parameter
55 | public static func pathContains(_ path: String, keepingOrder: Bool = true) -> Self {
56 | return .pathContains(path.toPathComponents, keepingOrder: keepingOrder)
warning: Parameter 'path' not found in instance method declaration
--> Source/Stub/HTTPStubServer.swift:45:9-46:40
43 | }
44 |
45 + /// - Parameter path: only for the convenience of the Combine interface
| ╰─suggestion: Remove 'path' parameter documentation
46 + /// e.g. *stubTask.store(in: &bag)*
47 | public func add(condition: HTTPStubCondition,
48 | response: HTTPStubResponse) -> SmartTasking {
warning: Parameter 'response' is missing documentation
--> Source/Stub/HTTPStubServer.swift:46:40-46:40
44 |
45 | /// - Parameter path: only for the convenience of the Combine interface
46 + /// e.g. *stubTask.store(in: &bag)*
| ╰─suggestion: Document 'response' parameter
47 | public func add(condition: HTTPStubCondition,
48 | response: HTTPStubResponse) -> SmartTasking {
warning: Parameter 'condition' is missing documentation
--> Source/Stub/HTTPStubServer.swift:46:40-46:40
44 |
45 | /// - Parameter path: only for the convenience of the Combine interface
46 + /// e.g. *stubTask.store(in: &bag)*
| ╰─suggestion: Document 'condition' parameter
47 | public func add(condition: HTTPStubCondition,
48 | response: HTTPStubResponse) -> SmartTasking {
warning: 'Cancellable' doesn't exist at '/SmartNetwork/DetachedTask'
--> Source/Task/DetachedTask.swift:7:32-7:43
5 | /// ``DetachedTask`` is a Swift protocol designed to manage tasks related to requests efficiently.
6 | /// It encapsulates the execution and cancellation actions associated with a task, providing a convenient way to handle these operations within the context of request management.
7 + /// The protocol extends the ``Cancellable`` protocol, which provides the ability to cancel the task.
8 | /// The protocol also provides methods to start the task immediately or schedule it to start in a specific queue.
9 | ///
warning: 'AnyCancellable' doesn't exist at '/SmartNetwork/DetachedTask'
--> Source/Task/DetachedTask.swift:11:33-11:47
9 | ///
10 | /// - Important: ``DetachedTask`` is designed to be detached from the request, which means request will not be canceled when the task is deallocated.
11 + /// - Note: Don't forget that ``AnyCancellable`` is cancelling the task on deinitialization.
12 | public protocol DetachedTask: Cancellable, CustomDebugStringConvertible, CustomStringConvertible, SmartSendable {
13 | /// The user information associated with the task.
warning: '.smartTaskRequestAddressKey' doesn't exist at '/SmartNetwork/DetachedTask/userInfo'
--> Source/Task/DetachedTask.swift:15:35-15:62
13 | /// The user information associated with the task.
14 | ///
15 + /// - Note: you can use the ``.smartTaskRequestAddressKey`` key to determine which request the task belongs to.
16 | var userInfo: UserInfo { get }
17 |
warning: 'AnyCancellable' doesn't exist at '/SmartNetwork/SmartTask'
--> Source/Task/SmartTask.swift:10:33-10:47
8 | ///
9 | /// - Important: ``SmartTask`` is designed to be attached to the request, which means request will be canceled when the task is deallocated.
10 + /// - Note: Don't forget that ``AnyCancellable`` is cancelling the task on deinitialization.
| ╰─suggestion: Replace 'AnyCancellable' with 'Cancellable-Implementations'
11 | ///
12 | /// ```swift
warning: 'AnyCancellable' doesn't exist at '/SmartNetwork/SmartTasking'
--> Source/Task/SmartTasking.swift:9:33-9:47
7 | ///
8 | /// - Important: ``SmartTask`` aka ``SmartTasking`` is designed to be attached to the request, which means request will be canceled when the task is deallocated.
9 + /// - Note: Don't forget that ``AnyCancellable`` is cancelling the task on deinitialization.
10 | ///
11 | /// ```swift
Finished building documentation for 'SmartNetwork' (0.62s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/niksativa/smartnetwork/main
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Updating https://github.com/NikSativa/SpryKit.git
Updating https://github.com/NikSativa/Threading.git
Updating https://github.com/mattgallagher/CwlPreconditionTesting.git
Updating https://github.com/apple/swift-syntax.git
Updating https://github.com/mattgallagher/CwlCatchException.git
Updated https://github.com/NikSativa/Threading.git (0.44s)
Updated https://github.com/NikSativa/SpryKit.git (0.44s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.50s)
Computing version for https://github.com/NikSativa/Threading.git
Updated https://github.com/mattgallagher/CwlPreconditionTesting.git (0.89s)
Updated https://github.com/mattgallagher/CwlCatchException.git (0.89s)
Updated https://github.com/apple/swift-syntax.git (0.89s)
Computed https://github.com/NikSativa/Threading.git at 2.1.1 (1.00s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 3.0.2 (0.49s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.67s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.61s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.60s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.59s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.75s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.40s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling Snippets SnippetParser.swift
[7/53] Emitting module SymbolKit
[8/57] Compiling Snippets Snippet.swift
[9/57] Emitting module Snippets
[10/57] Compiling SymbolKit SemanticVersion.swift
[11/57] Compiling SymbolKit AccessControl.swift
[12/57] Compiling SymbolKit Availability.swift
[13/57] Compiling SymbolKit AvailabilityItem.swift
[14/57] Compiling SymbolKit Domain.swift
[15/57] Compiling SymbolKit Mixin+Equals.swift
[16/57] Compiling SymbolKit Mixin+Hash.swift
[17/57] Compiling SymbolKit Mixin.swift
[18/57] Compiling SymbolKit LineList.swift
[19/57] Compiling SymbolKit Position.swift
[20/57] Compiling SymbolKit SourceRange.swift
[21/57] Compiling SymbolKit Metadata.swift
[22/57] Compiling SymbolKit Module.swift
[23/57] Compiling SymbolKit OperatingSystem.swift
[24/57] Compiling SymbolKit Platform.swift
[25/57] Compiling SymbolKit GenericConstraint.swift
[26/57] Compiling SymbolKit GenericParameter.swift
[27/57] Compiling SymbolKit Generics.swift
[28/57] Compiling SymbolKit Namespace.swift
[29/57] Compiling SymbolKit Relationship.swift
[30/57] Compiling SymbolKit RelationshipKind.swift
[31/57] Compiling SymbolKit SourceOrigin.swift
[32/57] Compiling SymbolKit GenericConstraints.swift
[33/57] Compiling SymbolKit Swift.swift
[34/57] Compiling SymbolKit Names.swift
[35/57] Compiling SymbolKit SPI.swift
[36/57] Compiling SymbolKit Snippet.swift
[37/57] Compiling SymbolKit Extension.swift
[38/57] Compiling SymbolKit Symbol.swift
[39/57] Compiling SymbolKit SymbolKind.swift
[40/57] Compiling SymbolKit SymbolGraph.swift
[41/57] Compiling SymbolKit GraphCollector.swift
[42/57] Compiling SymbolKit Identifier.swift
[43/57] Compiling SymbolKit KindIdentifier.swift
[44/57] Compiling SymbolKit Location.swift
[45/57] Compiling SymbolKit Mutability.swift
[46/57] Compiling SymbolKit DeclarationFragments.swift
[47/57] Compiling SymbolKit Fragment.swift
[48/57] Compiling SymbolKit FragmentKind.swift
[49/57] Compiling SymbolKit FunctionParameter.swift
[50/57] Compiling SymbolKit FunctionSignature.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.38s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/20] Compiling Threading Mutexing.swift
[3/20] Compiling Threading Queue+Queueable.swift
[4/20] Emitting module Threading
[5/22] Compiling Threading Semaphore.swift
[6/22] Compiling Threading Unfair.swift
[7/22] Compiling Threading Queue.swift
[8/22] Compiling Threading Queueable.swift
[9/22] Compiling Threading NSLock.swift
[10/22] Compiling Threading NSRecursiveLock.swift
[11/22] Compiling Threading OSAllocatedUnfairLock.swift
[12/22] Compiling Threading PThread.swift
[13/22] Compiling Threading DispatchTime+Queue.swift
[14/22] Compiling Threading IsolatedMain.swift
[15/22] Compiling Threading AnyLock.swift
[16/22] Compiling Threading AnyMutex.swift
[17/22] Compiling Threading Atomic.swift
[18/22] Compiling Threading DelayedQueue.swift
[19/22] Compiling Threading Locking.swift
[20/22] Compiling Threading Barrier.swift
[21/22] Compiling Threading UnSendable.swift
[22/22] Compiling Threading resource_bundle_accessor.swift
[23/93] Compiling SmartNetwork Result+Recover.swift
[24/93] Compiling SmartNetwork JSONDecoding.swift
[25/93] Compiling SmartNetwork AnyRequest.swift
[26/93] Compiling SmartNetwork DecodableRequestManager.swift
[27/93] Compiling SmartNetwork RequestCompletion.swift
[28/93] Compiling SmartNetwork TypedRequest.swift
[29/93] Compiling SmartNetwork TypedRequestManager.swift
[30/93] Compiling SmartNetwork RequestManager.swift
[31/93] Compiling SmartNetwork SmartNetworkSettings.swift
[32/93] Compiling SmartNetwork SmartRequest.swift
[33/93] Compiling SmartNetwork SmartResponse.swift
[34/93] Compiling SmartNetwork SmartSendable.swift
[35/93] Compiling SmartNetwork StopTheLine.swift
[36/93] Compiling SmartNetwork StopTheLineAction.swift
[37/93] Compiling SmartNetwork StopTheLineResult.swift
[38/100] Emitting module SmartNetwork
[39/100] Compiling SmartNetwork HTTPStubBody.swift
[40/100] Compiling SmartNetwork HTTPStubCondition.swift
[41/100] Compiling SmartNetwork HTTPStubProtocol.swift
[42/100] Compiling SmartNetwork HTTPStubResponse.swift
[43/100] Compiling SmartNetwork HTTPStubServer.swift
[44/100] Compiling SmartNetwork Task+SN.swift
[45/100] Compiling SmartNetwork DetachedTask.swift
[46/100] Compiling SmartNetwork Address.swift
[47/100] Compiling SmartNetwork AddressDetails+URL.swift
[48/100] Compiling SmartNetwork AddressDetails.swift
[49/100] Compiling SmartNetwork AddressDetailsExt.swift
[50/100] Compiling SmartNetwork AddressExt.swift
[51/100] Compiling SmartNetwork CURLConvertible.swift
[52/100] Compiling SmartNetwork DataContent.swift
[53/100] Compiling SmartNetwork DecodableContent.swift
[54/100] Compiling SmartNetwork RequestError.swift
[55/100] Compiling SmartNetwork RequestErrorDescription.swift
[56/100] Compiling SmartNetwork StatusCode.swift
[57/100] Compiling SmartNetwork Cancellable+SN.swift
[58/100] Compiling SmartNetwork Collection+SN.swift
[59/100] Compiling SmartNetwork DecodeByKeyPath.swift
[60/100] Compiling SmartNetwork DelayedQueue+SN.swift
[61/100] Compiling SmartNetwork Optional+SN.swift
[62/100] Compiling SmartNetwork DecodableKeyPath.swift
[63/100] Compiling SmartNetwork Deserializable.swift
[64/100] Compiling SmartNetwork ImageContent.swift
[65/100] Compiling SmartNetwork JSONContent.swift
[66/100] Compiling SmartNetwork VoidContent.swift
[67/100] Compiling SmartNetwork CrossPlatform.swift
[68/100] Compiling SmartNetwork RequestDecodingError.swift
[69/100] Compiling SmartNetwork RequestEncodingError.swift
[70/100] Compiling SmartNetwork SmartRequestManager.swift
[71/100] Compiling SmartNetwork Body.MultipartForm.swift
[72/100] Compiling SmartNetwork Body.XFormEncoder.swift
[73/100] Compiling SmartNetwork Body.swift
[74/100] Compiling SmartNetwork CacheSettings.swift
[75/100] Compiling SmartNetwork HTTPMethod.swift
[76/100] Compiling SmartNetwork Parameters.swift
[77/100] Compiling SmartNetwork Scheme.swift
[78/100] Compiling SmartNetwork Plugins.JSONHeaders.swift
[79/100] Compiling SmartNetwork Plugins.Log.swift
[80/100] Compiling SmartNetwork Plugins.LogOS.swift
[81/100] Compiling SmartNetwork Plugins.StatusCode.swift
[82/100] Compiling SmartNetwork Plugins.TokenPlugin.swift
[83/100] Compiling SmartNetwork AnyErrorRetrier.swift
[84/100] Compiling SmartNetwork ConnectionErrorRetrier.swift
[85/100] Compiling SmartNetwork SmartRetrier.swift
[86/100] Compiling SmartNetwork SmartItem.swift
[87/100] Compiling SmartNetwork SmartItems.swift
[88/100] Compiling SmartNetwork UserInfo.swift
[89/100] Compiling SmartNetwork UserInfoKey.swift
[90/100] Compiling SmartNetwork Plugin.swift
[91/100] Compiling SmartNetwork PluginPriority.swift
[92/100] Compiling SmartNetwork Plugins.Basic.swift
[93/100] Compiling SmartNetwork Plugins.Bearer.swift
[94/100] Compiling SmartNetwork SmartTask.swift
[95/100] Compiling SmartNetwork SmartTasking.swift
[96/100] Compiling SmartNetwork SmartURLSession.swift
[97/100] Compiling SmartNetwork URLRequestRepresentation.swift
[98/100] Compiling SmartNetwork URLSession+SN.swift
[99/100] Compiling SmartNetwork UserInfo+Keys.swift
[100/100] Compiling SmartNetwork resource_bundle_accessor.swift
Build of target: 'SmartNetwork' complete! (2.06s)
2070
13 /Users/admin/builder/spi-builder-workspace/.docs/niksativa/smartnetwork/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/niksativa/smartnetwork/main
File count: 2070
Doc size: 13.0MB
Preparing doc bundle ...
Uploading prod-niksativa-smartnetwork-main-84633801.zip to s3://spi-docs-inbox/prod-niksativa-smartnetwork-main-84633801.zip
Copying... [12%]
Copying... [21%]
Copying... [30%]
Copying... [42%]
Copying... [51%]
Copying... [61%]
Copying... [72%]
Copying... [82%]
Copying... [91%]
Copying... [100%]
Done.