Build Information
Failed to build Spinetail, reference main (d7fab1
), with Swift 6.1 for Wasm on 28 May 2025 07:30:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d7fab1c Unhide dev dependencies
Cloned https://github.com/brightdigit/Spinetail.git
Revision (git rev-parse @):
d7fab1c75de91dc264243257d498eae5af788ed8
SUCCESS checkout https://github.com/brightdigit/Spinetail.git at main
========================================
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" : "komondor",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Komondor"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.47.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
},
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.43.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint"
},
{
"identity" : "swift-test-codecov",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/brightdigit/swift-test-codecov"
},
{
"identity" : "rocket",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Rocket"
},
{
"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-3":/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/realm/SwiftLint
Fetching https://github.com/brightdigit/Prch.git
Fetching https://github.com/shibapm/Komondor
Fetching https://github.com/nicklockwood/SwiftFormat
[1/509] Fetching komondor
[393/3004] Fetching komondor, prch
Fetched https://github.com/brightdigit/Prch.git from cache (0.63s)
[1/150383] Fetching swiftlint
[2/198565] Fetching swiftlint, swiftformat
Fetched https://github.com/shibapm/Komondor from cache (41.83s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (42.78s)
[74411/150383] Fetching swiftlint
Fetching https://github.com/shibapm/Rocket
Fetching https://github.com/brightdigit/swift-test-codecov
[150384/151769] Fetching swiftlint, rocket
[151770/152099] Fetching swiftlint, rocket, swift-test-codecov
Fetched https://github.com/shibapm/Rocket from cache (0.28s)
Fetched https://github.com/brightdigit/swift-test-codecov from cache (0.29s)
Fetched https://github.com/realm/SwiftLint from cache (53.43s)
Computing version for https://github.com/brightdigit/Prch.git
Computed https://github.com/brightdigit/Prch.git at 0.2.1 (58.35s)
Computing version for https://github.com/brightdigit/swift-test-codecov
Computed https://github.com/brightdigit/swift-test-codecov at 1.1.0 (3.00s)
Fetching https://github.com/apple/swift-argument-parser
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.53s)
Computing version for https://github.com/shibapm/Rocket
Computed https://github.com/shibapm/Rocket at 1.3.0 (2.65s)
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/jpsim/Yams
[1/116] Fetching logger
[117/696] Fetching logger, packageconfig
[697/5559] Fetching logger, packageconfig, swiftshell
[5560/16216] Fetching logger, packageconfig, swiftshell, yams
Fetched https://github.com/shibapm/Logger from cache (0.53s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.53s)
[5609/15520] Fetching swiftshell, yams
Fetched https://github.com/kareman/SwiftShell from cache (1.49s)
Fetched https://github.com/jpsim/Yams from cache (1.53s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (2.07s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (2.25s)
Computing version for https://github.com/shibapm/Komondor
Computed https://github.com/shibapm/Komondor at 1.1.4 (0.56s)
Fetching https://github.com/JohnSundell/ShellOut.git
[1/960] Fetching shellout
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.25s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.83s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.59s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.57s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (2.49s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.59.1 (0.98s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/929] Fetching swiftytexttable
[930/1013] Fetching swiftytexttable, collectionconcurrencykit
[1014/13954] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift
[2050/30066] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift, sourcekitten
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.36s)
[2380/29137] Fetching collectionconcurrencykit, cryptoswift, sourcekitten
[18404/99585] Fetching collectionconcurrencykit, cryptoswift, sourcekitten, swift-syntax
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.61s)
[26411/83473] Fetching collectionconcurrencykit, cryptoswift, swift-syntax
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (1.89s)
[39007/83389] Fetching cryptoswift, swift-syntax
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.93s)
[27475/70448] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.33s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (7.64s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.64s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.21s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.0 (0.58s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.35s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (1.06s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (2.05s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.2 (0.59s)
Creating working copy for https://github.com/brightdigit/swift-test-codecov
Working copy of https://github.com/brightdigit/swift-test-codecov resolved at 1.1.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.0
Creating working copy for https://github.com/shibapm/Rocket
Working copy of https://github.com/shibapm/Rocket resolved at 1.3.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.59.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/brightdigit/Prch.git
Working copy of https://github.com/brightdigit/Prch.git resolved at 0.2.1
Creating working copy for https://github.com/shibapm/Komondor
Working copy of https://github.com/shibapm/Komondor resolved at 1.1.4
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0
warning: 'komondor': 'komondor' dependency on 'https://github.com/f-meloni/Rocket' conflicts with dependency on 'https://github.com/shibapm/Rocket' which has the same identity 'rocket'. this will be escalated to an error in future versions of SwiftPM.
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftLintCommandPlugin
[3/3] Compiling plugin SwiftLintBuildToolPlugin
[4/4] Compiling plugin SwiftFormatPlugin
Building for debugging...
[4/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/49] 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 {
[9/49] 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 {
[10/49] 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 {
[11/49] 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 {
[12/49] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/54] 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
[14/54] Compiling Prch DateFormatter.swift
[15/54] Compiling Prch DecodingError.swift
[16/54] Compiling Prch KeyedDecodingContainer.swift
[17/54] Compiling Prch KeyedEncodingContainer.swift
[18/54] Compiling Prch RequestEncoder.swift
[19/54] Compiling Prch ResponseDecoder.swift
[20/54] Compiling Prch API.swift
[21/54] Compiling Prch AnyCodable.Codable.swift
[22/54] Compiling Prch AnyCodable.Equatable.swift
[23/54] Compiling Prch AnyCodable.Expressible.swift
[24/54] Compiling Prch AnyCodable.StringConverable.swift
[25/54] Compiling Prch AnyCodable.swift
[26/54] Compiling Prch StringCodingKey.swift
[27/54] Compiling Prch DateEncodingContainer.swift
[28/54] Compiling Prch DeprecatedRequest.swift
[29/54] Compiling Prch DeprecatedResponse.swift
[30/54] Compiling Prch DeprecatedResponseResult.swift
[31/54] Compiling Prch TypeAliases.swift
[32/54] 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 {
[33/54] 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 {
[34/54] 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 {
[35/54] 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 {
[36/54] 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 {
[37/54] 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 {
[38/54] Compiling Prch Model.swift
[39/54] Compiling Prch DateDay.swift
[40/54] Compiling Prch File.swift
[41/54] Compiling Prch ID.swift
[42/54] Compiling Prch UploadFile.swift
[43/54] Compiling Prch ResponseComponents.swift
[44/54] 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),
[45/54] 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),
[46/54] 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),
[47/54] 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),
[48/54] 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),
[49/54] 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),
[50/54] Compiling Prch SecurityRequirement.swift
[51/54] Compiling Prch Service.swift
[52/54] Compiling Prch ServiceRequest.swift
[53/54] Compiling Prch StatusCodeProvider.swift
[54/54] Compiling Prch SuccessModel.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
warning: 'komondor': 'komondor' dependency on 'https://github.com/f-meloni/Rocket' conflicts with dependency on 'https://github.com/shibapm/Rocket' which has the same identity 'rocket'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftLintCommandPlugin
[3/3] Compiling plugin SwiftLintBuildToolPlugin
[4/4] Compiling plugin SwiftFormatPlugin
Building for debugging...
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/47] 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
[7/52] Compiling Prch SecurityRequirement.swift
[8/52] Compiling Prch Service.swift
[9/52] Compiling Prch ServiceRequest.swift
[10/52] Compiling Prch StatusCodeProvider.swift
[11/52] Compiling Prch SuccessModel.swift
[12/52] 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),
[13/52] 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),
[14/52] 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),
[15/52] 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),
[16/52] 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),
[17/52] 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),
[18/52] Compiling Prch DateFormatter.swift
[19/52] Compiling Prch DecodingError.swift
[20/52] Compiling Prch KeyedDecodingContainer.swift
[21/52] Compiling Prch KeyedEncodingContainer.swift
[22/52] Compiling Prch RequestEncoder.swift
[23/52] Compiling Prch ResponseDecoder.swift
[24/52] Compiling Prch Model.swift
[25/52] Compiling Prch DateDay.swift
[26/52] Compiling Prch File.swift
[27/52] Compiling Prch ID.swift
[28/52] Compiling Prch UploadFile.swift
[29/52] Compiling Prch ResponseComponents.swift
[30/52] 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 {
[31/52] 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 {
[32/52] 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 {
[33/52] 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 {
[34/52] 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 {
[35/52] 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 {
[36/52] 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 {
[37/52] 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 {
[38/52] 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 {
[39/52] 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 {
[40/52] 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 {
[41/52] Compiling Prch StringCodingKey.swift
[42/52] Compiling Prch DateEncodingContainer.swift
[43/52] Compiling Prch DeprecatedRequest.swift
[44/52] Compiling Prch DeprecatedResponse.swift
[45/52] Compiling Prch DeprecatedResponseResult.swift
[46/52] Compiling Prch TypeAliases.swift
[47/52] Compiling Prch API.swift
[48/52] Compiling Prch AnyCodable.Codable.swift
[49/52] Compiling Prch AnyCodable.Equatable.swift
[50/52] Compiling Prch AnyCodable.Expressible.swift
[51/52] Compiling Prch AnyCodable.StringConverable.swift
[52/52] Compiling Prch AnyCodable.swift
BUILD FAILURE 6.1 wasm