Build Information
Failed to build SwiftTube, reference 0.1.0 (64f0f1
), with Swift 6.1 for Wasm on 28 May 2025 03:34:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/SwiftTube.git
Reference: 0.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/brightdigit/SwiftTube
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 64f0f1a Version 0.1.0
Cloned https://github.com/brightdigit/SwiftTube.git
Revision (git rev-parse @):
64f0f1a5f524beb94cb31e6074dfabd98364e318
SUCCESS checkout https://github.com/brightdigit/SwiftTube.git at 0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/brightdigit/SwiftTube.git
https://github.com/brightdigit/SwiftTube.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "prch",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/brightdigit/Prch.git"
}
],
"manifest_display_name" : "SwiftTube",
"name" : "SwiftTube",
"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" : "SwiftTube",
"targets" : [
"SwiftTube"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftTube",
"module_type" : "SwiftTarget",
"name" : "SwiftTube",
"path" : "Sources/SwiftTube",
"product_dependencies" : [
"Prch"
],
"product_memberships" : [
"SwiftTube"
],
"sources" : [
"Enums/Alt.swift",
"Enums/Xgafv.swift",
"Models/AbuseReport.swift",
"Models/AbuseType.swift",
"Models/AccessPolicy.swift",
"Models/Activity.swift",
"Models/ActivityContentDetails.swift",
"Models/ActivityContentDetailsBulletin.swift",
"Models/ActivityContentDetailsChannelItem.swift",
"Models/ActivityContentDetailsComment.swift",
"Models/ActivityContentDetailsFavorite.swift",
"Models/ActivityContentDetailsLike.swift",
"Models/ActivityContentDetailsPlaylistItem.swift",
"Models/ActivityContentDetailsPromotedItem.swift",
"Models/ActivityContentDetailsRecommendation.swift",
"Models/ActivityContentDetailsSocial.swift",
"Models/ActivityContentDetailsSubscription.swift",
"Models/ActivityContentDetailsUpload.swift",
"Models/ActivityListResponse.swift",
"Models/ActivitySnippet.swift",
"Models/Caption.swift",
"Models/CaptionListResponse.swift",
"Models/CaptionSnippet.swift",
"Models/CdnSettings.swift",
"Models/Channel.swift",
"Models/ChannelAuditDetails.swift",
"Models/ChannelBannerResource.swift",
"Models/ChannelBrandingSettings.swift",
"Models/ChannelContentDetails.swift",
"Models/ChannelContentOwnerDetails.swift",
"Models/ChannelConversionPing.swift",
"Models/ChannelConversionPings.swift",
"Models/ChannelListResponse.swift",
"Models/ChannelLocalization.swift",
"Models/ChannelProfileDetails.swift",
"Models/ChannelSection.swift",
"Models/ChannelSectionContentDetails.swift",
"Models/ChannelSectionListResponse.swift",
"Models/ChannelSectionLocalization.swift",
"Models/ChannelSectionSnippet.swift",
"Models/ChannelSectionTargeting.swift",
"Models/ChannelSettings.swift",
"Models/ChannelSnippet.swift",
"Models/ChannelStatistics.swift",
"Models/ChannelStatus.swift",
"Models/ChannelToStoreLinkDetails.swift",
"Models/ChannelTopicDetails.swift",
"Models/Comment.swift",
"Models/CommentListResponse.swift",
"Models/CommentSnippet.swift",
"Models/CommentSnippetAuthorChannelId.swift",
"Models/CommentThread.swift",
"Models/CommentThreadListResponse.swift",
"Models/CommentThreadReplies.swift",
"Models/CommentThreadSnippet.swift",
"Models/ContentRating.swift",
"Models/Entity.swift",
"Models/GeoPoint.swift",
"Models/I18nLanguage.swift",
"Models/I18nLanguageListResponse.swift",
"Models/I18nLanguageSnippet.swift",
"Models/I18nRegion.swift",
"Models/I18nRegionListResponse.swift",
"Models/I18nRegionSnippet.swift",
"Models/ImageSettings.swift",
"Models/IngestionInfo.swift",
"Models/InvideoBranding.swift",
"Models/InvideoPosition.swift",
"Models/InvideoTiming.swift",
"Models/LanguageTag.swift",
"Models/LevelDetails.swift",
"Models/LiveBroadcast.swift",
"Models/LiveBroadcastContentDetails.swift",
"Models/LiveBroadcastListResponse.swift",
"Models/LiveBroadcastSnippet.swift",
"Models/LiveBroadcastStatistics.swift",
"Models/LiveBroadcastStatus.swift",
"Models/LiveChatBan.swift",
"Models/LiveChatBanSnippet.swift",
"Models/LiveChatFanFundingEventDetails.swift",
"Models/LiveChatMemberMilestoneChatDetails.swift",
"Models/LiveChatMessage.swift",
"Models/LiveChatMessageAuthorDetails.swift",
"Models/LiveChatMessageDeletedDetails.swift",
"Models/LiveChatMessageListResponse.swift",
"Models/LiveChatMessageRetractedDetails.swift",
"Models/LiveChatMessageSnippet.swift",
"Models/LiveChatModerator.swift",
"Models/LiveChatModeratorListResponse.swift",
"Models/LiveChatModeratorSnippet.swift",
"Models/LiveChatNewSponsorDetails.swift",
"Models/LiveChatSuperChatDetails.swift",
"Models/LiveChatSuperStickerDetails.swift",
"Models/LiveChatTextMessageDetails.swift",
"Models/LiveChatUserBannedMessageDetails.swift",
"Models/LiveStream.swift",
"Models/LiveStreamConfigurationIssue.swift",
"Models/LiveStreamContentDetails.swift",
"Models/LiveStreamHealthStatus.swift",
"Models/LiveStreamListResponse.swift",
"Models/LiveStreamSnippet.swift",
"Models/LiveStreamStatus.swift",
"Models/LocalizedProperty.swift",
"Models/LocalizedString.swift",
"Models/Member.swift",
"Models/MemberListResponse.swift",
"Models/MemberSnippet.swift",
"Models/MembershipsDetails.swift",
"Models/MembershipsDuration.swift",
"Models/MembershipsDurationAtLevel.swift",
"Models/MembershipsLevel.swift",
"Models/MembershipsLevelListResponse.swift",
"Models/MembershipsLevelSnippet.swift",
"Models/MonitorStreamInfo.swift",
"Models/PageInfo.swift",
"Models/Playlist.swift",
"Models/PlaylistContentDetails.swift",
"Models/PlaylistItem.swift",
"Models/PlaylistItemContentDetails.swift",
"Models/PlaylistItemListResponse.swift",
"Models/PlaylistItemSnippet.swift",
"Models/PlaylistItemStatus.swift",
"Models/PlaylistListResponse.swift",
"Models/PlaylistLocalization.swift",
"Models/PlaylistPlayer.swift",
"Models/PlaylistSnippet.swift",
"Models/PlaylistStatus.swift",
"Models/PropertyValue.swift",
"Models/RelatedEntity.swift",
"Models/ResourceId.swift",
"Models/SearchListResponse.swift",
"Models/SearchResult.swift",
"Models/SearchResultSnippet.swift",
"Models/Subscription.swift",
"Models/SubscriptionContentDetails.swift",
"Models/SubscriptionListResponse.swift",
"Models/SubscriptionSnippet.swift",
"Models/SubscriptionSubscriberSnippet.swift",
"Models/SuperChatEvent.swift",
"Models/SuperChatEventListResponse.swift",
"Models/SuperChatEventSnippet.swift",
"Models/SuperStickerMetadata.swift",
"Models/TestItem.swift",
"Models/TestItemTestItemSnippet.swift",
"Models/ThirdPartyLink.swift",
"Models/ThirdPartyLinkSnippet.swift",
"Models/ThirdPartyLinkStatus.swift",
"Models/Thumbnail.swift",
"Models/ThumbnailDetails.swift",
"Models/ThumbnailSetResponse.swift",
"Models/TokenPagination.swift",
"Models/Video.swift",
"Models/VideoAbuseReport.swift",
"Models/VideoAbuseReportReason.swift",
"Models/VideoAbuseReportReasonListResponse.swift",
"Models/VideoAbuseReportReasonSnippet.swift",
"Models/VideoAbuseReportSecondaryReason.swift",
"Models/VideoAgeGating.swift",
"Models/VideoCategory.swift",
"Models/VideoCategoryListResponse.swift",
"Models/VideoCategorySnippet.swift",
"Models/VideoContentDetails.swift",
"Models/VideoContentDetailsRegionRestriction.swift",
"Models/VideoFileDetails.swift",
"Models/VideoFileDetailsAudioStream.swift",
"Models/VideoFileDetailsVideoStream.swift",
"Models/VideoGetRatingResponse.swift",
"Models/VideoListResponse.swift",
"Models/VideoLiveStreamingDetails.swift",
"Models/VideoLocalization.swift",
"Models/VideoMonetizationDetails.swift",
"Models/VideoPlayer.swift",
"Models/VideoProcessingDetails.swift",
"Models/VideoProcessingDetailsProcessingProgress.swift",
"Models/VideoProjectDetails.swift",
"Models/VideoRating.swift",
"Models/VideoRecordingDetails.swift",
"Models/VideoSnippet.swift",
"Models/VideoStatistics.swift",
"Models/VideoStatus.swift",
"Models/VideoSuggestions.swift",
"Models/VideoSuggestionsTagSuggestion.swift",
"Models/VideoTopicDetails.swift",
"Models/WatchSettings.swift",
"Requests/AbuseReports/YoutubeAbuseReportsInsert.swift",
"Requests/Activities/YoutubeActivitiesList.swift",
"Requests/Captions/YoutubeCaptionsDelete.swift",
"Requests/Captions/YoutubeCaptionsDownload.swift",
"Requests/Captions/YoutubeCaptionsInsert.swift",
"Requests/Captions/YoutubeCaptionsList.swift",
"Requests/Captions/YoutubeCaptionsUpdate.swift",
"Requests/ChannelBanners/YoutubeChannelBannersInsert.swift",
"Requests/ChannelSections/YoutubeChannelSectionsDelete.swift",
"Requests/ChannelSections/YoutubeChannelSectionsInsert.swift",
"Requests/ChannelSections/YoutubeChannelSectionsList.swift",
"Requests/ChannelSections/YoutubeChannelSectionsUpdate.swift",
"Requests/Channels/YoutubeChannelsList.swift",
"Requests/Channels/YoutubeChannelsUpdate.swift",
"Requests/CommentThreads/YoutubeCommentThreadsInsert.swift",
"Requests/CommentThreads/YoutubeCommentThreadsList.swift",
"Requests/Comments/YoutubeCommentsDelete.swift",
"Requests/Comments/YoutubeCommentsInsert.swift",
"Requests/Comments/YoutubeCommentsList.swift",
"Requests/Comments/YoutubeCommentsMarkAsSpam.swift",
"Requests/Comments/YoutubeCommentsSetModerationStatus.swift",
"Requests/Comments/YoutubeCommentsUpdate.swift",
"Requests/I18nLanguages/YoutubeI18nLanguagesList.swift",
"Requests/I18nRegions/YoutubeI18nRegionsList.swift",
"Requests/LiveBroadcasts/YoutubeLiveBroadcastsBind.swift",
"Requests/LiveBroadcasts/YoutubeLiveBroadcastsDelete.swift",
"Requests/LiveBroadcasts/YoutubeLiveBroadcastsInsert.swift",
"Requests/LiveBroadcasts/YoutubeLiveBroadcastsList.swift",
"Requests/LiveBroadcasts/YoutubeLiveBroadcastsTransition.swift",
"Requests/LiveBroadcasts/YoutubeLiveBroadcastsUpdate.swift",
"Requests/LiveChatBans/YoutubeLiveChatBansDelete.swift",
"Requests/LiveChatBans/YoutubeLiveChatBansInsert.swift",
"Requests/LiveChatMessages/YoutubeLiveChatMessagesDelete.swift",
"Requests/LiveChatMessages/YoutubeLiveChatMessagesInsert.swift",
"Requests/LiveChatMessages/YoutubeLiveChatMessagesList.swift",
"Requests/LiveChatModerators/YoutubeLiveChatModeratorsDelete.swift",
"Requests/LiveChatModerators/YoutubeLiveChatModeratorsInsert.swift",
"Requests/LiveChatModerators/YoutubeLiveChatModeratorsList.swift",
"Requests/LiveStreams/YoutubeLiveStreamsDelete.swift",
"Requests/LiveStreams/YoutubeLiveStreamsInsert.swift",
"Requests/LiveStreams/YoutubeLiveStreamsList.swift",
"Requests/LiveStreams/YoutubeLiveStreamsUpdate.swift",
"Requests/Members/YoutubeMembersList.swift",
"Requests/MembershipsLevels/YoutubeMembershipsLevelsList.swift",
"Requests/PlaylistItems/YoutubePlaylistItemsDelete.swift",
"Requests/PlaylistItems/YoutubePlaylistItemsInsert.swift",
"Requests/PlaylistItems/YoutubePlaylistItemsList.swift",
"Requests/PlaylistItems/YoutubePlaylistItemsUpdate.swift",
"Requests/Playlists/YoutubePlaylistsDelete.swift",
"Requests/Playlists/YoutubePlaylistsInsert.swift",
"Requests/Playlists/YoutubePlaylistsList.swift",
"Requests/Playlists/YoutubePlaylistsUpdate.swift",
"Requests/Search/YoutubeSearchList.swift",
"Requests/Subscriptions/YoutubeSubscriptionsDelete.swift",
"Requests/Subscriptions/YoutubeSubscriptionsInsert.swift",
"Requests/Subscriptions/YoutubeSubscriptionsList.swift",
"Requests/SuperChatEvents/YoutubeSuperChatEventsList.swift",
"Requests/Tests/YoutubeTestsInsert.swift",
"Requests/ThirdPartyLinks/YoutubeThirdPartyLinksDelete.swift",
"Requests/ThirdPartyLinks/YoutubeThirdPartyLinksInsert.swift",
"Requests/ThirdPartyLinks/YoutubeThirdPartyLinksList.swift",
"Requests/ThirdPartyLinks/YoutubeThirdPartyLinksUpdate.swift",
"Requests/Thumbnails/YoutubeThumbnailsSet.swift",
"Requests/VideoAbuseReportReasons/YoutubeVideoAbuseReportReasonsList.swift",
"Requests/VideoCategories/YoutubeVideoCategoriesList.swift",
"Requests/Videos/YoutubeVideosDelete.swift",
"Requests/Videos/YoutubeVideosGetRating.swift",
"Requests/Videos/YoutubeVideosInsert.swift",
"Requests/Videos/YoutubeVideosList.swift",
"Requests/Videos/YoutubeVideosRate.swift",
"Requests/Videos/YoutubeVideosReportAbuse.swift",
"Requests/Videos/YoutubeVideosUpdate.swift",
"Requests/Watermarks/YoutubeWatermarksSet.swift",
"Requests/Watermarks/YoutubeWatermarksUnset.swift",
"Requests/Youtube/YoutubeYoutubeV3UpdateCommentThreads.swift",
"SwiftTube.swift",
"URL.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/brightdigit/Prch.git
[25/2495] Fetching prch
Fetched https://github.com/brightdigit/Prch.git from cache (0.40s)
Computing version for https://github.com/brightdigit/Prch.git
Computed https://github.com/brightdigit/Prch.git at 0.2.1 (1.21s)
Creating working copy for https://github.com/brightdigit/Prch.git
Working copy of https://github.com/brightdigit/Prch.git resolved at 0.2.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/45] Emitting module Prch
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
[5/50] Compiling Prch API.swift
[6/50] Compiling Prch AnyCodable.Codable.swift
[7/50] Compiling Prch AnyCodable.Equatable.swift
[8/50] Compiling Prch AnyCodable.Expressible.swift
[9/50] Compiling Prch AnyCodable.StringConverable.swift
[10/50] Compiling Prch AnyCodable.swift
[11/50] Compiling Prch Response.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[12/50] Compiling Prch ResponseResult.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[13/50] Compiling Prch Result.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[14/50] Compiling Prch Authentication.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[15/50] Compiling Prch BasicAuthentication.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[16/50] Compiling Prch Session.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[17/50] Compiling Prch Task.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[18/50] Compiling Prch URL.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[19/50] Compiling Prch URLSession.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[20/50] Compiling Prch URLSessionResponse.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[21/50] Compiling Prch Request.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[22/50] Compiling Prch SecurityRequirement.swift
[23/50] Compiling Prch Service.swift
[24/50] Compiling Prch ServiceRequest.swift
[25/50] Compiling Prch StatusCodeProvider.swift
[26/50] Compiling Prch SuccessModel.swift
[27/50] Compiling Prch StringCodingKey.swift
[28/50] Compiling Prch DateEncodingContainer.swift
[29/50] Compiling Prch DeprecatedRequest.swift
[30/50] Compiling Prch DeprecatedResponse.swift
[31/50] Compiling Prch DeprecatedResponseResult.swift
[32/50] Compiling Prch TypeAliases.swift
[33/50] Compiling Prch Model.swift
[34/50] Compiling Prch DateDay.swift
[35/50] Compiling Prch File.swift
[36/50] Compiling Prch ID.swift
[37/50] Compiling Prch UploadFile.swift
[38/50] Compiling Prch ResponseComponents.swift
[39/50] Compiling Prch DateFormatter.swift
[40/50] Compiling Prch DecodingError.swift
[41/50] Compiling Prch KeyedDecodingContainer.swift
[42/50] Compiling Prch KeyedEncodingContainer.swift
[43/50] Compiling Prch RequestEncoder.swift
[44/50] Compiling Prch ResponseDecoder.swift
[45/50] Compiling Prch 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 {
[46/50] Compiling Prch BodyRequest.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[47/50] Compiling Prch Client.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[48/50] Compiling Prch ClientError.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[49/50] Compiling Prch ClientResult.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[50/50] Compiling Prch Coding.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 | func requestSync<RequestType: Request>(
75 | _ request: RequestType,
76 | timeout: @autoclosure () -> DispatchTime
| `- error: cannot find type 'DispatchTime' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: extra argument 'timeout' in call
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 | _ request: RequestType
70 | ) throws -> RequestType.ResponseType.SuccessType {
71 | try requestSync(request, timeout: .now() + 5.0)
| `- error: cannot call value of non-function type 'Date'
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 | ) throws -> RequestType.ResponseType.SuccessType {
78 | var result: ClientResponseResult<RequestType.ResponseType>!
79 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
80 | self.request(request) {
81 | result = $0
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/43] 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 {
[3/43] 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 {
[4/43] 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 {
[5/43] 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 {
[6/43] 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 {
[7/43] 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 {
[8/48] Compiling Prch Response.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[9/48] Compiling Prch ResponseResult.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[10/48] Compiling Prch Result.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[11/48] Compiling Prch Authentication.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[12/48] Compiling Prch BasicAuthentication.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 | case badURL(URL, String)
12 | case urlComponents(URLComponents)
13 | case timeout(DispatchTime)
| `- error: cannot find type 'DispatchTime' in scope
14 |
15 | public var name: String {
[13/48] Compiling Prch Session.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[14/48] Compiling Prch Task.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[15/48] Compiling Prch URL.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[16/48] Compiling Prch URLSession.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[17/48] Compiling Prch URLSessionResponse.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
[18/48] Compiling Prch Request.swift
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 | public protocol Task {}
8 |
9 | extension URLSessionDataTask: Task {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
10 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
5 | #endif
6 |
7 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
8 | #if compiler(>=5.5.2) && canImport(_Concurrency)
9 | @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | struct URLSessionResponse: ResponseComponents {
8 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | self.data = data
10 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | let data: Data?
14 | let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 | var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | static func resultBasedOnResponse(
21 | _ response: URLResponse?,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | data: Data?,
23 | error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 | init(_ components: (Data, URLResponse)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | self.init(data: components.0, response: components.1)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 | var statusCode: Int? {
17 | (response as? HTTPURLResponse)?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 | fileprivate func responseComponentsFrom(
15 | _ request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
16 | ) async throws -> ResponseComponents {
17 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 | public func request(_ request: RequestType) async throws -> ResponseComponents {
| `- error: cannot find type 'RequestType' in scope
26 | #if canImport(FoundationNetworking)
27 | return try await responseComponentsFrom(request)
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 | public func beginRequest(
40 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
41 | _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 | ) -> Task {
/host/spi-builder-workspace/.build/checkouts/Prch/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 | andHeaders headers: [String: String],
59 | usingEncoder encoder: RequestEncoder
60 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
61 | guard var componenets = URLComponents(
62 | url: baseURL.appendingPathComponent(request.path),
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/48] 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
[20/48] Compiling Prch Model.swift
[21/48] Compiling Prch DateDay.swift
[22/48] Compiling Prch File.swift
[23/48] Compiling Prch ID.swift
[24/48] Compiling Prch UploadFile.swift
[25/48] Compiling Prch ResponseComponents.swift
[26/48] Compiling Prch StringCodingKey.swift
[27/48] Compiling Prch DateEncodingContainer.swift
[28/48] Compiling Prch DeprecatedRequest.swift
[29/48] Compiling Prch DeprecatedResponse.swift
[30/48] Compiling Prch DeprecatedResponseResult.swift
[31/48] Compiling Prch TypeAliases.swift
[32/48] Compiling Prch DateFormatter.swift
[33/48] Compiling Prch DecodingError.swift
[34/48] Compiling Prch KeyedDecodingContainer.swift
[35/48] Compiling Prch KeyedEncodingContainer.swift
[36/48] Compiling Prch RequestEncoder.swift
[37/48] Compiling Prch ResponseDecoder.swift
[38/48] Compiling Prch SecurityRequirement.swift
[39/48] Compiling Prch Service.swift
[40/48] Compiling Prch ServiceRequest.swift
[41/48] Compiling Prch StatusCodeProvider.swift
[42/48] Compiling Prch SuccessModel.swift
[43/48] Compiling Prch API.swift
[44/48] Compiling Prch AnyCodable.Codable.swift
[45/48] Compiling Prch AnyCodable.Equatable.swift
[46/48] Compiling Prch AnyCodable.Expressible.swift
[47/48] Compiling Prch AnyCodable.StringConverable.swift
[48/48] Compiling Prch AnyCodable.swift
BUILD FAILURE 6.1 wasm