Build Information
Failed to build Spinetail, reference 0.3.0 (1bc157
), with Swift 6.1 for Wasm on 28 May 2025 07:28:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/Spinetail.git
Reference: 0.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/brightdigit/Spinetail
* tag 0.3.0 -> FETCH_HEAD
HEAD is now at 1bc1578 Version 0.3.0
Cloned https://github.com/brightdigit/Spinetail.git
Revision (git rev-parse @):
1bc157836771772dddea118ae3c1f9bfd4eea262
SUCCESS checkout https://github.com/brightdigit/Spinetail.git at 0.3.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/brightdigit/Spinetail.git
https://github.com/brightdigit/Spinetail.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "prch",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/brightdigit/Prch.git"
}
],
"manifest_display_name" : "Spinetail",
"name" : "Spinetail",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "Spinetail",
"targets" : [
"Spinetail"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SpinetailTests",
"module_type" : "SwiftTarget",
"name" : "SpinetailTests",
"path" : "Tests/SpinetailTests",
"sources" : [
"Helpers/Client.Helpers.swift",
"Helpers/Settings.swift",
"Helpers/String.swift",
"Tests/CampaignTests.swift",
"Tests/ListsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Spinetail"
],
"type" : "test"
},
{
"c99name" : "Spinetail",
"module_type" : "SwiftTarget",
"name" : "Spinetail",
"path" : "Sources/Spinetail",
"product_dependencies" : [
"Prch"
],
"product_memberships" : [
"Spinetail"
],
"sources" : [
"Mailchimp.API.swift",
"Mailchimp.swift",
"Models/DefaultResponse.swift",
"Models/Links.swift",
"Requests/Lite/CampaignFolders/DeleteCampaignFoldersId.swift",
"Requests/Lite/CampaignFolders/GetCampaignFolders.swift",
"Requests/Lite/CampaignFolders/GetCampaignFoldersId.swift",
"Requests/Lite/CampaignFolders/PatchCampaignFoldersId.swift",
"Requests/Lite/CampaignFolders/PostCampaignFolders.swift",
"Requests/Lite/Campaigns/DeleteCampaignsId.swift",
"Requests/Lite/Campaigns/DeleteCampaignsIdFeedbackId.swift",
"Requests/Lite/Campaigns/GetCampaigns.swift",
"Requests/Lite/Campaigns/GetCampaignsId.swift",
"Requests/Lite/Campaigns/GetCampaignsIdContent.swift",
"Requests/Lite/Campaigns/GetCampaignsIdFeedback.swift",
"Requests/Lite/Campaigns/GetCampaignsIdFeedbackId.swift",
"Requests/Lite/Campaigns/GetCampaignsIdSendChecklist.swift",
"Requests/Lite/Campaigns/PatchCampaignsId.swift",
"Requests/Lite/Campaigns/PatchCampaignsIdFeedbackId.swift",
"Requests/Lite/Campaigns/PostCampaigns.swift",
"Requests/Lite/Campaigns/PostCampaignsIdActionsCancelSend.swift",
"Requests/Lite/Campaigns/PostCampaignsIdActionsCreateResend.swift",
"Requests/Lite/Campaigns/PostCampaignsIdActionsPause.swift",
"Requests/Lite/Campaigns/PostCampaignsIdActionsReplicate.swift",
"Requests/Lite/Campaigns/PostCampaignsIdActionsResume.swift",
"Requests/Lite/Campaigns/PostCampaignsIdActionsSchedule.swift",
"Requests/Lite/Campaigns/PostCampaignsIdActionsSend.swift",
"Requests/Lite/Campaigns/PostCampaignsIdActionsTest.swift",
"Requests/Lite/Campaigns/PostCampaignsIdActionsUnschedule.swift",
"Requests/Lite/Campaigns/PostCampaignsIdFeedback.swift",
"Requests/Lite/Campaigns/PutCampaignsIdContent.swift",
"Requests/Lite/Lists/DeleteListsId.swift",
"Requests/Lite/Lists/DeleteListsIdInterestCategoriesId.swift",
"Requests/Lite/Lists/DeleteListsIdInterestCategoriesIdInterestsId.swift",
"Requests/Lite/Lists/DeleteListsIdMembersId.swift",
"Requests/Lite/Lists/DeleteListsIdMembersIdNotesId.swift",
"Requests/Lite/Lists/DeleteListsIdMergeFieldsId.swift",
"Requests/Lite/Lists/DeleteListsIdSegmentsId.swift",
"Requests/Lite/Lists/DeleteListsIdSegmentsIdMembersId.swift",
"Requests/Lite/Lists/DeleteListsIdWebhooksId.swift",
"Requests/Lite/Lists/GetListMemberTags.swift",
"Requests/Lite/Lists/GetLists.swift",
"Requests/Lite/Lists/GetListsId.swift",
"Requests/Lite/Lists/GetListsIdAbuseReports.swift",
"Requests/Lite/Lists/GetListsIdAbuseReportsId.swift",
"Requests/Lite/Lists/GetListsIdActivity.swift",
"Requests/Lite/Lists/GetListsIdClients.swift",
"Requests/Lite/Lists/GetListsIdGrowthHistory.swift",
"Requests/Lite/Lists/GetListsIdGrowthHistoryId.swift",
"Requests/Lite/Lists/GetListsIdInterestCategories.swift",
"Requests/Lite/Lists/GetListsIdInterestCategoriesId.swift",
"Requests/Lite/Lists/GetListsIdInterestCategoriesIdInterests.swift",
"Requests/Lite/Lists/GetListsIdInterestCategoriesIdInterestsId.swift",
"Requests/Lite/Lists/GetListsIdLocations.swift",
"Requests/Lite/Lists/GetListsIdMembers.swift",
"Requests/Lite/Lists/GetListsIdMembersId.swift",
"Requests/Lite/Lists/GetListsIdMembersIdActivity.swift",
"Requests/Lite/Lists/GetListsIdMembersIdActivityFeed.swift",
"Requests/Lite/Lists/GetListsIdMembersIdEvents.swift",
"Requests/Lite/Lists/GetListsIdMembersIdGoals.swift",
"Requests/Lite/Lists/GetListsIdMembersIdNotes.swift",
"Requests/Lite/Lists/GetListsIdMembersIdNotesId.swift",
"Requests/Lite/Lists/GetListsIdMergeFields.swift",
"Requests/Lite/Lists/GetListsIdMergeFieldsId.swift",
"Requests/Lite/Lists/GetListsIdSegmentsId.swift",
"Requests/Lite/Lists/GetListsIdSegmentsIdMembers.swift",
"Requests/Lite/Lists/GetListsIdSignupForms.swift",
"Requests/Lite/Lists/GetListsIdWebhooks.swift",
"Requests/Lite/Lists/GetListsIdWebhooksId.swift",
"Requests/Lite/Lists/PatchListsId.swift",
"Requests/Lite/Lists/PatchListsIdInterestCategoriesId.swift",
"Requests/Lite/Lists/PatchListsIdInterestCategoriesIdInterestsId.swift",
"Requests/Lite/Lists/PatchListsIdMembersId.swift",
"Requests/Lite/Lists/PatchListsIdMembersIdNotesId.swift",
"Requests/Lite/Lists/PatchListsIdMergeFieldsId.swift",
"Requests/Lite/Lists/PatchListsIdSegmentsId.swift",
"Requests/Lite/Lists/PatchListsIdWebhooksId.swift",
"Requests/Lite/Lists/PostListMemberEvents.swift",
"Requests/Lite/Lists/PostListMemberTags.swift",
"Requests/Lite/Lists/PostLists.swift",
"Requests/Lite/Lists/PostListsId.swift",
"Requests/Lite/Lists/PostListsIdInterestCategories.swift",
"Requests/Lite/Lists/PostListsIdInterestCategoriesIdInterests.swift",
"Requests/Lite/Lists/PostListsIdMembers.swift",
"Requests/Lite/Lists/PostListsIdMembersHashActionsDeletePermanent.swift",
"Requests/Lite/Lists/PostListsIdMembersIdNotes.swift",
"Requests/Lite/Lists/PostListsIdMergeFields.swift",
"Requests/Lite/Lists/PostListsIdSegments.swift",
"Requests/Lite/Lists/PostListsIdSegmentsId.swift",
"Requests/Lite/Lists/PostListsIdSegmentsIdMembers.swift",
"Requests/Lite/Lists/PostListsIdSignupForms.swift",
"Requests/Lite/Lists/PostListsIdWebhooks.swift",
"Requests/Lite/Lists/PreviewASegment.swift",
"Requests/Lite/Lists/PutListsIdMembersId.swift",
"Requests/Lite/Lists/SearchTagsByName.swift",
"Requests/Lite/Reports/GetReports.swift",
"Requests/Lite/Reports/GetReportsId.swift",
"Requests/Lite/Reports/GetReportsIdAbuseReportsId.swift",
"Requests/Lite/Reports/GetReportsIdAbuseReportsIdId.swift",
"Requests/Lite/Reports/GetReportsIdAdvice.swift",
"Requests/Lite/Reports/GetReportsIdClickDetails.swift",
"Requests/Lite/Reports/GetReportsIdClickDetailsId.swift",
"Requests/Lite/Reports/GetReportsIdClickDetailsIdMembers.swift",
"Requests/Lite/Reports/GetReportsIdClickDetailsIdMembersId.swift",
"Requests/Lite/Reports/GetReportsIdDomainPerformance.swift",
"Requests/Lite/Reports/GetReportsIdEcommerceProductActivity.swift",
"Requests/Lite/Reports/GetReportsIdEepurl.swift",
"Requests/Lite/Reports/GetReportsIdEmailActivity.swift",
"Requests/Lite/Reports/GetReportsIdEmailActivityId.swift",
"Requests/Lite/Reports/GetReportsIdLocations.swift",
"Requests/Lite/Reports/GetReportsIdOpenDetails.swift",
"Requests/Lite/Reports/GetReportsIdOpenDetailsIdMembersId.swift",
"Requests/Lite/Reports/GetReportsIdSentTo.swift",
"Requests/Lite/Reports/GetReportsIdSentToId.swift",
"Requests/Lite/Reports/GetReportsIdSubReportsId.swift",
"Requests/Lite/Reports/GetReportsIdUnsubscribed.swift",
"Requests/Lite/Reports/GetReportsIdUnsubscribedId.swift",
"Requests/Lite/Root/GetRoot.swift",
"Requests/Lite/SearchCampaigns/GetSearchCampaigns.swift",
"Requests/Lite/SearchMembers/GetSearchMembers.swift",
"Requests/Lite/TemplateFolders/DeleteTemplateFoldersId.swift",
"Requests/Lite/TemplateFolders/GetTemplateFolders.swift",
"Requests/Lite/TemplateFolders/GetTemplateFoldersId.swift",
"Requests/Lite/TemplateFolders/PatchTemplateFoldersId.swift",
"Requests/Lite/TemplateFolders/PostTemplateFolders.swift",
"Requests/Lite/Templates/DeleteTemplatesId.swift",
"Requests/Lite/Templates/GetTemplates.swift",
"Requests/Lite/Templates/GetTemplatesId.swift",
"Requests/Lite/Templates/GetTemplatesIdDefaultContent.swift",
"Requests/Lite/Templates/PatchTemplatesId.swift",
"Requests/Lite/Templates/PostTemplates.swift",
"Requests/Regular/ActivityFeed/GetActivityFeedChimpChatter.swift",
"Requests/Regular/AuthorizedApps/GetAuthorizedApps.swift",
"Requests/Regular/AuthorizedApps/GetAuthorizedAppsId.swift",
"Requests/Regular/Automations/ArchiveAutomations.swift",
"Requests/Regular/Automations/DeleteAutomationsIdEmailsId.swift",
"Requests/Regular/Automations/GetAutomations.swift",
"Requests/Regular/Automations/GetAutomationsId.swift",
"Requests/Regular/Automations/GetAutomationsIdEmails.swift",
"Requests/Regular/Automations/GetAutomationsIdEmailsId.swift",
"Requests/Regular/Automations/GetAutomationsIdEmailsIdQueue.swift",
"Requests/Regular/Automations/GetAutomationsIdEmailsIdQueueId.swift",
"Requests/Regular/Automations/GetAutomationsIdRemovedSubscribers.swift",
"Requests/Regular/Automations/GetAutomationsIdRemovedSubscribersId.swift",
"Requests/Regular/Automations/PatchAutomationEmailWorkflowId.swift",
"Requests/Regular/Automations/PostAutomations.swift",
"Requests/Regular/Automations/PostAutomationsIdActionsPauseAllEmails.swift",
"Requests/Regular/Automations/PostAutomationsIdActionsStartAllEmails.swift",
"Requests/Regular/Automations/PostAutomationsIdEmailsIdActionsPause.swift",
"Requests/Regular/Automations/PostAutomationsIdEmailsIdActionsStart.swift",
"Requests/Regular/Automations/PostAutomationsIdEmailsIdQueue.swift",
"Requests/Regular/Automations/PostAutomationsIdRemovedSubscribers.swift",
"Requests/Regular/BatchWebhooks/DeleteBatchWebhookId.swift",
"Requests/Regular/BatchWebhooks/GetBatchWebhook.swift",
"Requests/Regular/BatchWebhooks/GetBatchWebhooks.swift",
"Requests/Regular/BatchWebhooks/PatchBatchWebhooks.swift",
"Requests/Regular/BatchWebhooks/PostBatchWebhooks.swift",
"Requests/Regular/Batches/DeleteBatchesId.swift",
"Requests/Regular/Batches/GetBatches.swift",
"Requests/Regular/Batches/GetBatchesId.swift",
"Requests/Regular/Batches/PostBatches.swift",
"Requests/Regular/ConnectedSites/DeleteConnectedSitesId.swift",
"Requests/Regular/ConnectedSites/GetConnectedSites.swift",
"Requests/Regular/ConnectedSites/GetConnectedSitesId.swift",
"Requests/Regular/ConnectedSites/PostConnectedSites.swift",
"Requests/Regular/ConnectedSites/PostConnectedSitesIdActionsVerifyScriptInstallation.swift",
"Requests/Regular/Conversations/GetConversations.swift",
"Requests/Regular/Conversations/GetConversationsId.swift",
"Requests/Regular/Conversations/GetConversationsIdMessages.swift",
"Requests/Regular/Conversations/GetConversationsIdMessagesId.swift",
"Requests/Regular/CustomerJourneys/PostCustomerJourneysJourneysIdStepsIdActionsTrigger.swift",
"Requests/Regular/Ecommerce/DeleteEcommerceStoresId.swift",
"Requests/Regular/Ecommerce/DeleteEcommerceStoresIdCartsId.swift",
"Requests/Regular/Ecommerce/DeleteEcommerceStoresIdCartsLinesId.swift",
"Requests/Regular/Ecommerce/DeleteEcommerceStoresIdCustomersId.swift",
"Requests/Regular/Ecommerce/DeleteEcommerceStoresIdOrdersId.swift",
"Requests/Regular/Ecommerce/DeleteEcommerceStoresIdOrdersIdLinesId.swift",
"Requests/Regular/Ecommerce/DeleteEcommerceStoresIdProductsId.swift",
"Requests/Regular/Ecommerce/DeleteEcommerceStoresIdProductsIdImagesId.swift",
"Requests/Regular/Ecommerce/DeleteEcommerceStoresIdProductsIdVariantsId.swift",
"Requests/Regular/Ecommerce/DeleteEcommerceStoresIdPromocodesId.swift",
"Requests/Regular/Ecommerce/DeleteEcommerceStoresIdPromorulesId.swift",
"Requests/Regular/Ecommerce/GetEcommerceOrders.swift",
"Requests/Regular/Ecommerce/GetEcommerceStores.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresId.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdCarts.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdCartsId.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdCartsIdLines.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdCartsIdLinesId.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdCustomers.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdCustomersId.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdOrders.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdOrdersId.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdOrdersIdLines.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdOrdersIdLinesId.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdProducts.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdProductsId.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdProductsIdImages.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdProductsIdImagesId.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdProductsIdVariants.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdProductsIdVariantsId.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdPromocodes.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdPromocodesId.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdPromorules.swift",
"Requests/Regular/Ecommerce/GetEcommerceStoresIdPromorulesId.swift",
"Requests/Regular/Ecommerce/PatchEcommerceStoresId.swift",
"Requests/Regular/Ecommerce/PatchEcommerceStoresIdCartsId.swift",
"Requests/Regular/Ecommerce/PatchEcommerceStoresIdCartsIdLinesId.swift",
"Requests/Regular/Ecommerce/PatchEcommerceStoresIdCustomersId.swift",
"Requests/Regular/Ecommerce/PatchEcommerceStoresIdOrdersId.swift",
"Requests/Regular/Ecommerce/PatchEcommerceStoresIdOrdersIdLinesId.swift",
"Requests/Regular/Ecommerce/PatchEcommerceStoresIdProductsId.swift",
"Requests/Regular/Ecommerce/PatchEcommerceStoresIdProductsIdImagesId.swift",
"Requests/Regular/Ecommerce/PatchEcommerceStoresIdProductsIdVariantsId.swift",
"Requests/Regular/Ecommerce/PatchEcommerceStoresIdPromocodesId.swift",
"Requests/Regular/Ecommerce/PatchEcommerceStoresIdPromorulesId.swift",
"Requests/Regular/Ecommerce/PostEcommerceStores.swift",
"Requests/Regular/Ecommerce/PostEcommerceStoresIdCarts.swift",
"Requests/Regular/Ecommerce/PostEcommerceStoresIdCartsIdLines.swift",
"Requests/Regular/Ecommerce/PostEcommerceStoresIdCustomers.swift",
"Requests/Regular/Ecommerce/PostEcommerceStoresIdOrders.swift",
"Requests/Regular/Ecommerce/PostEcommerceStoresIdOrdersIdLines.swift",
"Requests/Regular/Ecommerce/PostEcommerceStoresIdProducts.swift",
"Requests/Regular/Ecommerce/PostEcommerceStoresIdProductsIdImages.swift",
"Requests/Regular/Ecommerce/PostEcommerceStoresIdProductsIdVariants.swift",
"Requests/Regular/Ecommerce/PostEcommerceStoresIdPromocodes.swift",
"Requests/Regular/Ecommerce/PostEcommerceStoresIdPromorules.swift",
"Requests/Regular/Ecommerce/PutEcommerceStoresIdCustomersId.swift",
"Requests/Regular/Ecommerce/PutEcommerceStoresIdProductsIdVariantsId.swift",
"Requests/Regular/FacebookAds/GetAllFacebookAds.swift",
"Requests/Regular/FacebookAds/GetFacebookAdsId.swift",
"Requests/Regular/FileManager/DeleteFileManagerFilesId.swift",
"Requests/Regular/FileManager/DeleteFileManagerFoldersId.swift",
"Requests/Regular/FileManager/GetFileManagerFiles.swift",
"Requests/Regular/FileManager/GetFileManagerFilesId.swift",
"Requests/Regular/FileManager/GetFileManagerFolders.swift",
"Requests/Regular/FileManager/GetFileManagerFoldersId.swift",
"Requests/Regular/FileManager/PatchFileManagerFilesId.swift",
"Requests/Regular/FileManager/PatchFileManagerFoldersId.swift",
"Requests/Regular/FileManager/PostFileManagerFiles.swift",
"Requests/Regular/FileManager/PostFileManagerFolders.swift",
"Requests/Regular/LandingPages/DeleteLandingPageId.swift",
"Requests/Regular/LandingPages/GetAllLandingPages.swift",
"Requests/Regular/LandingPages/GetLandingPageId.swift",
"Requests/Regular/LandingPages/GetLandingPageIdContent.swift",
"Requests/Regular/LandingPages/PatchLandingPageId.swift",
"Requests/Regular/LandingPages/PostAllLandingPages.swift",
"Requests/Regular/LandingPages/PostLandingPageIdActionsPublish.swift",
"Requests/Regular/LandingPages/PostLandingPageIdActionsUnpublish.swift",
"Requests/Regular/Ping/GetPing.swift",
"Requests/Regular/Reporting/GetReportingFacebookAds.swift",
"Requests/Regular/Reporting/GetReportingFacebookAdsId.swift",
"Requests/Regular/Reporting/GetReportingFacebookAdsIdEcommerceProductActivity.swift",
"Requests/Regular/Reporting/GetReportingLandingPages.swift",
"Requests/Regular/Reporting/GetReportingLandingPagesId.swift",
"Requests/Regular/VerifiedDomains/CreateVerifiedDomain.swift",
"Requests/Regular/VerifiedDomains/DeleteVerifiedDomain.swift",
"Requests/Regular/VerifiedDomains/GetVerifiedDomain.swift",
"Requests/Regular/VerifiedDomains/GetVerifiedDomains.swift",
"Requests/Regular/VerifiedDomains/VerifyDomain.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/brightdigit/Prch.git
[1/2495] Fetching prch
Fetched https://github.com/brightdigit/Prch.git from cache (0.46s)
Computing version for https://github.com/brightdigit/Prch.git
Computed https://github.com/brightdigit/Prch.git at 0.2.1 (1.57s)
Creating working copy for https://github.com/brightdigit/Prch.git
Working copy of https://github.com/brightdigit/Prch.git resolved at 0.2.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/45] Emitting module Prch
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
[5/50] Compiling Prch SecurityRequirement.swift
[6/50] Compiling Prch Service.swift
[7/50] Compiling Prch ServiceRequest.swift
[8/50] Compiling Prch StatusCodeProvider.swift
[9/50] Compiling Prch SuccessModel.swift
[10/50] Compiling Prch BasicResponse.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[11/50] Compiling Prch BodyRequest.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[12/50] Compiling Prch Client.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[13/50] Compiling Prch ClientError.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[14/50] Compiling Prch ClientResult.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[15/50] Compiling Prch Coding.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[16/50] Compiling Prch Response.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[17/50] Compiling Prch ResponseResult.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[18/50] Compiling Prch Result.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[19/50] Compiling Prch Authentication.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[20/50] Compiling Prch BasicAuthentication.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[21/50] Compiling Prch API.swift
[22/50] Compiling Prch AnyCodable.Codable.swift
[23/50] Compiling Prch AnyCodable.Equatable.swift
[24/50] Compiling Prch AnyCodable.Expressible.swift
[25/50] Compiling Prch AnyCodable.StringConverable.swift
[26/50] Compiling Prch AnyCodable.swift
[27/50] Compiling Prch Session.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[28/50] Compiling Prch Task.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[29/50] Compiling Prch URL.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[30/50] Compiling Prch URLSession.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[31/50] Compiling Prch URLSessionResponse.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[32/50] Compiling Prch Request.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[33/50] Compiling Prch StringCodingKey.swift
[34/50] Compiling Prch DateEncodingContainer.swift
[35/50] Compiling Prch DeprecatedRequest.swift
[36/50] Compiling Prch DeprecatedResponse.swift
[37/50] Compiling Prch DeprecatedResponseResult.swift
[38/50] Compiling Prch TypeAliases.swift
[39/50] Compiling Prch DateFormatter.swift
[40/50] Compiling Prch DecodingError.swift
[41/50] Compiling Prch KeyedDecodingContainer.swift
[42/50] Compiling Prch KeyedEncodingContainer.swift
[43/50] Compiling Prch RequestEncoder.swift
[44/50] Compiling Prch ResponseDecoder.swift
[45/50] Compiling Prch Model.swift
[46/50] Compiling Prch DateDay.swift
[47/50] Compiling Prch File.swift
[48/50] Compiling Prch ID.swift
[49/50] Compiling Prch UploadFile.swift
[50/50] Compiling Prch ResponseComponents.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/43] Emitting module Prch
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
[3/48] Compiling Prch Response.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[4/48] Compiling Prch ResponseResult.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[5/48] Compiling Prch Result.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[6/48] Compiling Prch Authentication.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[7/48] Compiling Prch BasicAuthentication.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[8/48] Compiling Prch Session.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[9/48] Compiling Prch Task.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[10/48] Compiling Prch URL.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[11/48] Compiling Prch URLSession.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[12/48] Compiling Prch URLSessionResponse.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[13/48] Compiling Prch Request.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[14/48] Compiling Prch SecurityRequirement.swift
[15/48] Compiling Prch Service.swift
[16/48] Compiling Prch ServiceRequest.swift
[17/48] Compiling Prch StatusCodeProvider.swift
[18/48] Compiling Prch SuccessModel.swift
[19/48] Compiling Prch Model.swift
[20/48] Compiling Prch DateDay.swift
[21/48] Compiling Prch File.swift
[22/48] Compiling Prch ID.swift
[23/48] Compiling Prch UploadFile.swift
[24/48] Compiling Prch ResponseComponents.swift
[25/48] Compiling Prch StringCodingKey.swift
[26/48] Compiling Prch DateEncodingContainer.swift
[27/48] Compiling Prch DeprecatedRequest.swift
[28/48] Compiling Prch DeprecatedResponse.swift
[29/48] Compiling Prch DeprecatedResponseResult.swift
[30/48] Compiling Prch TypeAliases.swift
[31/48] Compiling Prch BasicResponse.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[32/48] Compiling Prch BodyRequest.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[33/48] Compiling Prch Client.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[34/48] Compiling Prch ClientError.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[35/48] Compiling Prch ClientResult.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[36/48] Compiling Prch Coding.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[37/48] Compiling Prch DateFormatter.swift
[38/48] Compiling Prch DecodingError.swift
[39/48] Compiling Prch KeyedDecodingContainer.swift
[40/48] Compiling Prch KeyedEncodingContainer.swift
[41/48] Compiling Prch RequestEncoder.swift
[42/48] Compiling Prch ResponseDecoder.swift
[43/48] Compiling Prch API.swift
[44/48] Compiling Prch AnyCodable.Codable.swift
[45/48] Compiling Prch AnyCodable.Equatable.swift
[46/48] Compiling Prch AnyCodable.Expressible.swift
[47/48] Compiling Prch AnyCodable.StringConverable.swift
[48/48] Compiling Prch AnyCodable.swift
BUILD FAILURE 6.1 wasm