Build Information
Failed to build LemmyKit, reference main (93cc81), with Swift 6.1 for Linux on 25 Jul 2026 00:48:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[478/556] Compiling LemmyKit UploadedImage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[479/556] Compiling LemmyKit VoteDirection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[480/556] Compiling LemmyKit NeutralVocabulary.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[481/556] Compiling LemmyKit PiefedAuthEntities.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[482/556] Compiling LemmyKit PiefedClient+Actions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[483/556] Compiling LemmyKit PiefedClient+Auth.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[484/556] Compiling LemmyKit PiefedClient+Comments.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[485/556] Compiling LemmyKit PiefedClient+Inbox.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[486/556] Compiling LemmyKit PiefedClient+Posts.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[487/556] Compiling LemmyKit ApiVersion.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[488/556] Compiling LemmyKit Comment.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[489/556] Compiling LemmyKit CommentActions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[490/556] Compiling LemmyKit CommentSort.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[491/556] Compiling LemmyKit CommentView.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[492/556] Compiling LemmyKit Community.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[493/556] Compiling LemmyKit CommunityActions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[494/556] Compiling LemmyKit CommunityView.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[495/556] Compiling LemmyKit Cursor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[496/556] Compiling LemmyKit FollowState.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[497/556] Compiling LemmyKit MyUser.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[498/556] Compiling LemmyKit NotificationData.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[499/556] Compiling LemmyKit NotificationEntry.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[500/556] Compiling LemmyKit NotificationKind.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[501/556] Compiling LemmyKit NotificationView.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[502/556] Compiling LemmyKit Page.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[503/556] Compiling LemmyKit Person.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[504/556] Compiling LemmyKit PersonActions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[505/556] Compiling LemmyKit PersonDetails.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[506/556] Compiling LemmyKit PersonView.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[507/556] Compiling LemmyKit Post.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[508/556] Compiling LemmyKit PostActions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[509/556] Compiling LemmyKit PostDetail.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[510/556] Compiling LemmyKit LemmyApi+Login.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[511/556] Compiling LemmyKit LemmyApi+LoginNeutral.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[512/556] Compiling LemmyKit LemmyApi+Logout.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[513/556] Compiling LemmyKit LemmyApi+MarkAsRead.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[514/556] Compiling LemmyKit LemmyApi+MarkNotificationNeutral.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[515/556] Compiling LemmyKit LemmyApi+MarkPostAsRead.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[516/556] Compiling LemmyKit LemmyApi+MarkPostAsReadNeutral.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[517/556] Compiling LemmyKit LemmyApi+PasswordChangeAfterReset.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[518/556] Compiling LemmyKit LemmyApi+PasswordReset.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[519/556] Compiling LemmyKit LemmyApi+ProfileImageNeutral.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[520/556] Compiling LemmyKit LemmyApi+PurgeComment.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[521/556] Compiling LemmyKit LemmyApi+PurgeCommunity.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[522/556] Compiling LemmyKit LemmyApi+PurgePerson.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[523/556] Compiling LemmyKit LemmyApi+PurgePost.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[524/556] Compiling LemmyKit LemmyApi+Register.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[525/556] Compiling LemmyKit LemmyApi+RegisterNeutral.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[526/556] Compiling LemmyKit LemmyApi+RemoveComment.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[527/556] Compiling LemmyKit LemmyApi+RemoveCommunity.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[528/556] Compiling LemmyKit LemmyApi+RemovePost.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[529/556] Compiling LemmyKit LemmyApi+ReportPrivateMessage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[530/556] Compiling LemmyKit LemmyApi+ResolveCommentReport.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[531/556] Compiling LemmyKit LemmyApi+ResolveObject.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[532/556] Compiling LemmyKit LemmyApi+ResolveObjectNeutral.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[533/556] Emitting module LemmyKit
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[534/556] Compiling LemmyKit PiefedClient+PrivateMessages.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[535/556] Compiling LemmyKit PiefedClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[536/556] Compiling LemmyKit PiefedEntities.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[537/556] Compiling LemmyKit PiefedError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[538/556] Compiling LemmyKit PiefedInboxEntities.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[539/556] Compiling LemmyKit PiefedRequests.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[540/556] Compiling LemmyKit PiefedViews.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[541/556] Compiling LemmyKit PiefedWriteResponses.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[542/556] Compiling LemmyKit AuthorizationMiddleware.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[543/556] Compiling LemmyKit CommentPath.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[544/556] Compiling LemmyKit CommunityFilter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[545/556] Compiling LemmyKit ContentFilter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[546/556] Compiling LemmyKit Date+lemmyFormat.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[547/556] Compiling LemmyKit ImageFormat.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[548/556] Compiling LemmyKit LemmyDateTranscoder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[549/556] Compiling LemmyKit LenientUrl.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[550/556] Compiling LemmyKit LikeStatus.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[551/556] Compiling LemmyKit MultipartFormData.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[552/556] Compiling LemmyKit URL+lenientString.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[553/556] Compiling LemmyKit UserAgentMiddleware.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[554/556] Compiling LemmyKit Types.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[555/556] Compiling LemmyKit Client.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[556/556] Compiling LemmyKit Server.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
[0/21] Compiling _NumericsShims _NumericsShims.c
[1/21] Compiling reader.c
[2/21] Compiling writer.c
[3/21] Compiling parser.c
[4/21] Compiling emitter.c
[5/21] Compiling scanner.c
[6/21] Compiling api.c
[7/21] Write swift-version-24593BA9C3E375BF.txt
[9/87] Compiling RealModule RealFunctions.swift
[10/88] Compiling RealModule Float80+Real.swift
[11/88] Compiling Yams Node.Mapping.swift
[12/88] Compiling Yams Decoder.swift
[13/88] Compiling Yams Mark.swift
[14/88] Compiling Yams Node.Alias.swift
[15/88] Compiling RealModule Real.swift
[16/88] Compiling RealModule Float16+Real.swift
[17/88] Compiling RealModule RelaxedArithmetic.swift
[18/88] Compiling Yams Emitter.swift
[19/88] Compiling Yams Encoder.swift
[20/88] Emitting module RealModule
[21/89] Compiling Yams Tag.swift
[22/89] Compiling Yams YamlAnchorProviding.swift
[23/91] Compiling ArgumentParserToolInfo ToolInfo.swift
[24/91] Emitting module ArgumentParserToolInfo
[27/92] Compiling Yams Resolver.swift
[28/92] Compiling Yams String+Yams.swift
[35/92] Compiling Yams AliasDereferencingStrategy.swift
[36/92] Compiling Yams Anchor.swift
[37/92] Compiling Yams Constructor.swift
[38/96] Wrapping AST for RealModule for debugging
[39/96] Wrapping AST for ArgumentParserToolInfo for debugging
[41/143] Compiling ArgumentParser Option.swift
[42/143] Compiling ArgumentParser OptionGroup.swift
[43/144] Compiling ArgumentParser SplitArguments.swift
[44/144] Compiling ArgumentParser DumpHelpGenerator.swift
[45/144] Compiling ArgumentParser HelpCommand.swift
[46/144] Compiling ArgumentParser HelpGenerator.swift
[47/168] Emitting module OpenAPIKitCore
[48/168] Compiling ArgumentParser Name.swift
[49/168] Compiling ArgumentParser Parsed.swift
[50/168] Compiling ArgumentParser ParsedValues.swift
[51/168] Compiling ArgumentParser ParserError.swift
[52/168] Compiling ArgumentParser ArgumentSet.swift
[53/168] Compiling ArgumentParser CommandParser.swift
[54/168] Compiling ArgumentParser InputKey.swift
[55/168] Compiling ArgumentParser InputOrigin.swift
[56/168] Compiling Algorithms Rotate.swift
[57/168] Compiling Algorithms Partition.swift
[58/168] Compiling Algorithms Permutations.swift
[59/168] Compiling Algorithms Product.swift
[60/168] Compiling Algorithms Combinations.swift
[61/168] Compiling Algorithms Joined.swift
[62/168] Compiling Algorithms Keyed.swift
[63/168] Compiling Algorithms MinMax.swift
[64/168] Compiling Algorithms FlattenCollection.swift
[65/168] Compiling Algorithms Grouped.swift
[66/168] Compiling Algorithms Indexed.swift
[67/168] Compiling Algorithms Intersperse.swift
[68/168] Compiling Algorithms RandomSample.swift
[69/168] Compiling Algorithms Reductions.swift
[73/169] Wrapping AST for OpenAPIKitCore for debugging
[81/190] Compiling ArgumentParser Mutex.swift
[82/190] Compiling ArgumentParser Platform.swift
[83/190] Compiling ArgumentParser SequenceExtensions.swift
[84/190] Compiling ArgumentParser StringExtensions.swift
[85/190] Compiling ArgumentParser SwiftExtensions.swift
[86/190] Compiling ArgumentParser Tree.swift
[87/319] Compiling OpenAPIKit Discriminator.swift
[88/319] Compiling OpenAPIKit DereferencedDocument.swift
[89/319] Compiling OpenAPIKit Document+URIResolution.swift
[90/319] Compiling OpenAPIKit Document.swift
[91/319] Compiling OpenAPIKit DocumentInfo.swift
[92/319] Compiling OpenAPIKit ResolvedDocument.swift
[93/319] Compiling OpenAPIKit Either+Convenience.swift
[94/319] Compiling OpenAPIKit Either+ExternallyDereferenceable.swift
[95/319] Compiling OpenAPIKit Either+LocallyDereferenceable.swift
[96/319] Compiling OpenAPIKit Either+Summarizable.swift
[97/319] Compiling OpenAPIKit Either+Validatable.swift
[98/319] Compiling OpenAPIKit DocumentDecodingError.swift
[99/319] Compiling OpenAPIKit OperationDecodingError.swift
[100/319] Compiling OpenAPIKit PathDecodingError.swift
[101/319] Compiling OpenAPIKit Callbacks.swift
[102/319] Compiling OpenAPIKit CodableVendorExtendable.swift
[103/319] Compiling OpenAPIKit Components+JSONReference.swift
[104/319] Compiling OpenAPIKit ContentPositionalEncoding.swift
[105/319] Compiling OpenAPIKit DereferencedContent.swift
[106/319] Compiling OpenAPIKit DereferencedContentEncoding.swift
[107/319] Compiling OpenAPIKit DereferencedContentPositionalEncoding.swift
[108/319] Compiling OpenAPIKit Parameter.swift
[109/319] Compiling OpenAPIKit ParameterContext.swift
[113/319] Compiling OpenAPIKit ResponseDecodingError.swift
[114/319] Compiling OpenAPIKit Example.swift
[115/319] Compiling OpenAPIKit ExampleValue.swift
[116/319] Compiling OpenAPIKit ExternalDocumentation.swift
[117/319] Compiling OpenAPIKit Components+Locatable.swift
[118/319] Compiling OpenAPIKit Components.swift
[119/319] Compiling OpenAPIKit Content.swift
[126/319] Emitting module Yams
[130/320] Wrapping AST for Yams for debugging
[136/320] Compiling OpenAPIKit ExternalLoader.swift
[137/320] Compiling OpenAPIKit DereferencedHeader.swift
[138/320] Compiling OpenAPIKit Header.swift
[146/320] Emitting module ArgumentParser
[147/320] Compiling OpenAPIKit ResolvedEndpoint.swift
[148/320] Compiling OpenAPIKit DereferencedParameter.swift
[149/320] Compiling OpenAPIKit DereferencedSchemaContext.swift
[150/320] Compiling OpenAPIKit DereferencedResponse.swift
[151/320] Compiling OpenAPIKit Response.swift
[152/320] Compiling OpenAPIKit RuntimeExpression.swift
[153/320] Compiling OpenAPIKit SchemaProtocols.swift
[154/320] Compiling OpenAPIKit SwiftPrimitiveTypes+OpenAPI.swift
[155/320] Compiling OpenAPIKit DereferencedJSONSchema.swift
[156/329] Emitting module OpenAPIKit30
[157/329] Compiling OpenAPIKit OpenAPIConditionalWarnings.swift
[158/329] Compiling OpenAPIKit DereferencedOperation.swift
[159/329] Compiling OpenAPIKit Operation.swift
[167/329] Compiling OpenAPIKit ParameterContextLocation.swift
[168/329] Compiling OpenAPIKit ParameterSchemaContext.swift
[169/329] Compiling OpenAPIKit ParameterSchemaContextStyle.swift
[170/329] Compiling OpenAPIKit DereferencedPathItem.swift
[171/329] Compiling OpenAPIKit PathItem.swift
[172/329] Compiling OpenAPIKit ResolvedRoute.swift
[173/329] Compiling OpenAPIKit30 Optional+ExternallyDereferenceable.swift
[174/329] Compiling OpenAPIKit30 OrderedDictionary+ExternallyDereferenceable.swift
[175/329] Compiling OpenAPIKit30 OrderedDictionry+LocallyDereferenceable.swift
[176/329] Compiling OpenAPIKit30 Validation+Builtins.swift
[177/329] Compiling OpenAPIKit30 Validation.swift
[178/329] Compiling OpenAPIKit30 Validator+Convenience.swift
[179/329] Compiling OpenAPIKit30 Validator.swift
[180/329] Compiling OpenAPIKit30 XML.swift
[181/329] Compiling OpenAPIKit30 _CoreReExport.swift
[188/329] Compiling OpenAPIKit ContentEncoding.swift
[189/329] Compiling OpenAPIKit TypesAndFormats.swift
[190/329] Compiling OpenAPIKit DereferencedSecurityRequirement.swift
[191/329] Compiling OpenAPIKit OAuthFlows.swift
[192/329] Compiling OpenAPIKit SecurityScheme.swift
[193/329] Compiling OpenAPIKit Server.swift
[219/340] Wrapping AST for ArgumentParser for debugging
[221/340] Emitting module Algorithms
[222/341] Wrapping AST for Algorithms for debugging
[224/341] Emitting module OpenAPIKit
[258/341] Compiling OpenAPIKit DereferencedRequest.swift
[259/341] Compiling OpenAPIKit Request.swift
[260/341] Compiling OpenAPIKit JSONReference+URIResolution.swift
[261/341] Compiling OpenAPIKit JSONReference.swift
[262/341] Compiling OpenAPIKit Link.swift
[263/341] Compiling OpenAPIKit OpenAPI.swift
[267/341] Compiling OpenAPIKit JSONSchema+Combining.swift
[268/341] Compiling OpenAPIKit JSONSchema.swift
[269/341] Compiling OpenAPIKit JSONSchemaContext.swift
[270/341] Compiling OpenAPIKit SimplifiedJSONSchema.swift
[295/342] Wrapping AST for OpenAPIKit30 for debugging
[297/342] Compiling OpenAPIKit Optional+ExternallyDereferenceable.swift
[298/342] Compiling OpenAPIKit OrderedDictionary+ExternallyDereferenceable.swift
[299/342] Compiling OpenAPIKit OrderedDictionry+LocallyDereferenceable.swift
[300/342] Compiling OpenAPIKit ReferenceValidations.swift
[301/342] Compiling OpenAPIKit Validation+Builtins.swift
[302/342] Compiling OpenAPIKit Validation.swift
[303/342] Compiling OpenAPIKit Validator+Convenience.swift
[304/342] Compiling OpenAPIKit Validator.swift
[305/342] Compiling OpenAPIKit XML.swift
[306/342] Compiling OpenAPIKit _CoreReExport.swift
[337/343] Wrapping AST for OpenAPIKit for debugging
[339/346] Compiling OpenAPIKitCompat Either+Map.swift
[340/346] Compiling OpenAPIKitCompat Compat30To31.swift
[341/346] Emitting module OpenAPIKitCompat
[342/347] Wrapping AST for OpenAPIKitCompat for debugging
[344/429] Compiling _OpenAPIGeneratorCore Config.swift
[345/429] Compiling _OpenAPIGeneratorCore Diagnostics.swift
[346/429] Compiling _OpenAPIGeneratorCore DiagnosticsCollectorProvider.swift
[347/429] Compiling _OpenAPIGeneratorCore Errors.swift
[348/429] Compiling _OpenAPIGeneratorCore Foundation.swift
[349/429] Compiling _OpenAPIGeneratorCore OpenAPIKit.swift
[350/429] Compiling _OpenAPIGeneratorCore String.swift
[351/429] Compiling _OpenAPIGeneratorCore SwiftStandardLibrary.swift
[352/429] Compiling _OpenAPIGeneratorCore FeatureFlags.swift
[353/429] Compiling _OpenAPIGeneratorCore GeneratorMode.swift
[354/429] Compiling _OpenAPIGeneratorCore GeneratorPipeline.swift
[355/429] Compiling _OpenAPIGeneratorCore GeneratorPipelineStage.swift
[356/440] Compiling _OpenAPIGeneratorCore Constants.swift
[357/440] Compiling _OpenAPIGeneratorCore DiscriminatorExtensions.swift
[358/440] Compiling _OpenAPIGeneratorCore SchemaOverrides.swift
[359/440] Compiling _OpenAPIGeneratorCore StructBlueprint.swift
[360/440] Compiling _OpenAPIGeneratorCore CodingStrategy.swift
[361/440] Compiling _OpenAPIGeneratorCore ContentInspector.swift
[362/440] Compiling _OpenAPIGeneratorCore ContentType.swift
[363/440] Compiling _OpenAPIGeneratorCore SchemaContent.swift
[364/440] Compiling _OpenAPIGeneratorCore FileTranslator+FeatureFlags.swift
[365/440] Compiling _OpenAPIGeneratorCore FileTranslator.swift
[366/440] Compiling _OpenAPIGeneratorCore MultipartAdditionalProperties.swift
[367/440] Compiling _OpenAPIGeneratorCore MultipartContent.swift
[368/440] Compiling _OpenAPIGeneratorCore ReferenceStack.swift
[369/440] Compiling _OpenAPIGeneratorCore SafeNameGenerator.swift
[370/440] Compiling _OpenAPIGeneratorCore TypeAssigner.swift
[371/440] Compiling _OpenAPIGeneratorCore TypeLocation.swift
[372/440] Compiling _OpenAPIGeneratorCore TypeMatcher.swift
[373/440] Compiling _OpenAPIGeneratorCore TypeName.swift
[374/440] Compiling _OpenAPIGeneratorCore TypeUsage.swift
[375/440] Compiling _OpenAPIGeneratorCore isSchemaSupported.swift
[376/440] Compiling _OpenAPIGeneratorCore TypesFileTranslator.swift
[377/440] Compiling _OpenAPIGeneratorCore translateAPIProtocol.swift
[378/440] Compiling _OpenAPIGeneratorCore translateBoxedTypes.swift
[379/440] Emitting module _OpenAPIGeneratorCore
[380/440] Compiling _OpenAPIGeneratorCore ResponseKind.swift
[381/440] Compiling _OpenAPIGeneratorCore TypedResponse.swift
[382/440] Compiling _OpenAPIGeneratorCore TypedResponseHeader.swift
[383/440] Compiling _OpenAPIGeneratorCore acceptHeaderContentTypes.swift
[384/440] Compiling _OpenAPIGeneratorCore translateResponse.swift
[385/440] Compiling _OpenAPIGeneratorCore translateResponseHeader.swift
[386/440] Compiling _OpenAPIGeneratorCore translateResponseOutcome.swift
[387/440] Compiling _OpenAPIGeneratorCore ServerTranslator.swift
[388/440] Compiling _OpenAPIGeneratorCore translateServerMethod.swift
[389/440] Compiling _OpenAPIGeneratorCore TranslatorProtocol.swift
[390/440] Compiling _OpenAPIGeneratorCore Builtins.swift
[391/440] Compiling _OpenAPIGeneratorCore translateClientMethod.swift
[392/440] Compiling _OpenAPIGeneratorCore translateAllAnyOneOf.swift
[393/440] Compiling _OpenAPIGeneratorCore translateArray.swift
[394/440] Compiling _OpenAPIGeneratorCore translateCodable.swift
[395/440] Compiling _OpenAPIGeneratorCore translateObjectStruct.swift
[396/440] Compiling _OpenAPIGeneratorCore translateRawEnum.swift
[397/440] Compiling _OpenAPIGeneratorCore translateRawRepresentableEnum.swift
[398/440] Compiling _OpenAPIGeneratorCore translateSchema.swift
[399/440] Compiling _OpenAPIGeneratorCore translateStructBlueprint.swift
[400/440] Compiling _OpenAPIGeneratorCore translateTypealias.swift
[401/440] Compiling _OpenAPIGeneratorCore Annotations.swift
[402/440] Compiling _OpenAPIGeneratorCore CommentExtensions.swift
[403/440] Compiling _OpenAPIGeneratorCore translateComponentHeaders.swift
[404/440] Compiling _OpenAPIGeneratorCore translateComponentParameters.swift
[405/440] Compiling _OpenAPIGeneratorCore translateComponentRequestBodies.swift
[406/440] Compiling _OpenAPIGeneratorCore translateComponentResponses.swift
[407/440] Compiling _OpenAPIGeneratorCore translateComponents.swift
[408/440] Compiling _OpenAPIGeneratorCore translateOperations.swift
[409/440] Compiling _OpenAPIGeneratorCore translateSchemas.swift
[410/440] Compiling _OpenAPIGeneratorCore translateServers.swift
[411/440] Compiling _OpenAPIGeneratorCore translateServersVariables.swift
[412/440] Compiling _OpenAPIGeneratorCore TypeOverrides.swift
[413/440] Compiling _OpenAPIGeneratorCore YamlFileDiagnosticsCollector.swift
[414/440] Compiling _OpenAPIGeneratorCore MultipartContentInspector.swift
[415/440] Compiling _OpenAPIGeneratorCore translateMultipart.swift
[416/440] Compiling _OpenAPIGeneratorCore MultiplexTranslator.swift
[417/440] Compiling _OpenAPIGeneratorCore OperationDescription.swift
[418/440] Compiling _OpenAPIGeneratorCore TypedParameter.swift
[419/440] Compiling _OpenAPIGeneratorCore translateParameter.swift
[420/440] Compiling _OpenAPIGeneratorCore DeclarationRecursionDetector.swift
[421/440] Compiling _OpenAPIGeneratorCore RecursionDetector.swift
[422/440] Compiling _OpenAPIGeneratorCore TypedRequestBody.swift
[423/440] Compiling _OpenAPIGeneratorCore translateRequestBody.swift
[424/440] Compiling _OpenAPIGeneratorCore HTTPStatusCodes.swift
[425/440] Compiling _OpenAPIGeneratorCore DocumentFilter.swift
[426/440] Compiling _OpenAPIGeneratorCore FilteredDocument.swift
[427/440] Compiling _OpenAPIGeneratorCore ParsedOpenAPIRepresentation.swift
[428/440] Compiling _OpenAPIGeneratorCore RenderedSwiftRepresentation.swift
[429/440] Compiling _OpenAPIGeneratorCore StructuredSwiftRepresentation.swift
[430/440] Compiling _OpenAPIGeneratorCore ParserProtocol.swift
[431/440] Compiling _OpenAPIGeneratorCore YamsParser.swift
[432/440] Compiling _OpenAPIGeneratorCore validateDoc.swift
[433/440] Compiling _OpenAPIGeneratorCore PlatformChecks.swift
[434/440] Compiling _OpenAPIGeneratorCore RendererProtocol.swift
[435/440] Compiling _OpenAPIGeneratorCore TextBasedRenderer.swift
[436/440] Compiling _OpenAPIGeneratorCore ClientTranslator.swift
[437/441] Wrapping AST for _OpenAPIGeneratorCore for debugging
[439/450] Compiling swift_openapi_generator PluginSource.swift
[440/450] Compiling swift_openapi_generator Tool.swift
[441/450] Compiling swift_openapi_generator UserConfig.swift
[442/451] Compiling swift_openapi_generator Extensions.swift
[443/451] Compiling swift_openapi_generator FilterCommand.swift
[444/451] Compiling swift_openapi_generator GenerateOptions+runGenerator.swift
[445/451] Emitting module swift_openapi_generator
[446/451] Compiling swift_openapi_generator GenerateCommand.swift
[447/451] Compiling swift_openapi_generator GenerateOptions.swift
[448/451] Compiling swift_openapi_generator runGenerator.swift
[449/452] Wrapping AST for swift-openapi-generator for debugging
[450/452] Write Objects.LinkFileList
[451/452] Linking swift-openapi-generator-tool
[0/1] Planning build
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/29] Compiling _NumericsShims _NumericsShims.c
[5/29] Compiling writer.c
[6/29] Compiling reader.c
[7/29] Compiling parser.c
[8/29] Compiling api.c
[9/29] Compiling emitter.c
[10/29] Compiling scanner.c
[11/29] Write swift-version-24593BA9C3E375BF.txt
[13/60] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[14/60] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[15/62] Compiling InternalCollectionsUtilities _SortedCollection.swift
[16/62] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[17/62] Emitting module ArgumentParserToolInfo
[18/63] Compiling InternalCollectionsUtilities Debugging.swift
[19/63] Compiling InternalCollectionsUtilities Descriptions.swift
[20/63] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[22/63] Emitting module OpenAPIKitCore
[23/64] Emitting module RealModule
[24/65] Compiling InternalCollectionsUtilities String+Padding.swift
[25/65] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[26/65] Compiling HTTPTypes HTTPField.swift
[27/65] Compiling HTTPTypes HTTPFieldName.swift
[28/65] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[29/65] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[30/65] Compiling InternalCollectionsUtilities Span+Extras.swift
[31/65] Compiling InternalCollectionsUtilities Integer rank.swift
[32/65] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[33/65] Compiling InternalCollectionsUtilities UInt+reversed.swift
[34/65] Compiling HTTPTypes ISOLatin1String.swift
[35/66] Wrapping AST for ArgumentParserToolInfo for debugging
[37/66] Compiling HTTPTypes HTTPParsedFields.swift
[39/66] Compiling HTTPTypes HTTPResponse.swift
[39/67] Wrapping AST for OpenAPIKitCore for debugging
[41/67] Compiling HTTPTypes NIOLock.swift
[42/69] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[43/69] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[43/69] Wrapping AST for RealModule for debugging
[45/69] Compiling HTTPTypes HTTPRequest+URL.swift
[46/69] Compiling HTTPTypes HTTPRequest.swift
[47/70] Emitting module InternalCollectionsUtilities
[48/71] Emitting module Yams
[51/72] Compiling HTTPTypes HTTPFields.swift
[52/72] Emitting module HTTPTypes
[55/73] Wrapping AST for Yams for debugging
[57/109] Emitting module ArgumentParser
[58/163] Compiling OpenAPIRuntime Converter+Common.swift
[59/163] Compiling OpenAPIRuntime Converter+Server.swift
[60/163] Compiling OpenAPIRuntime Converter.swift
[61/163] Compiling OpenAPIRuntime CurrencyExtensions.swift
[62/163] Compiling OpenAPIRuntime ServerError.swift
[63/163] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[64/163] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[65/163] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[66/163] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[67/163] Compiling OpenAPIRuntime ServerSentEvents.swift
[68/163] Compiling OpenAPIRuntime UndocumentedPayload.swift
[69/163] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[70/163] Compiling OpenAPIRuntime CodableExtensions.swift
[71/163] Compiling OpenAPIRuntime Configuration.swift
[72/163] Compiling OpenAPIRuntime Converter+Client.swift
[73/178] Emitting module ContainersPreview
[74/178] Compiling OpenAPIRuntime CodingErrors.swift
[75/178] Compiling OpenAPIRuntime RuntimeError.swift
[76/178] Compiling OpenAPIRuntime Acceptable.swift
[77/178] Compiling OpenAPIRuntime Base64EncodedData.swift
[78/178] Compiling OpenAPIRuntime ByteUtilities.swift
[79/178] Compiling OpenAPIRuntime ContentDisposition.swift
[80/178] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[81/178] Compiling OpenAPIRuntime Lock.swift
[82/178] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[83/178] Compiling OpenAPIRuntime OpenAPIValue.swift
[84/178] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[85/178] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[86/178] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[87/178] Compiling OpenAPIRuntime ErrorExtensions.swift
[88/178] Compiling OpenAPIRuntime FoundationExtensions.swift
[89/178] Compiling OpenAPIRuntime ParameterStyles.swift
[90/178] Compiling OpenAPIRuntime ServerVariable.swift
[91/178] Compiling OpenAPIRuntime URLExtensions.swift
[92/178] Compiling OpenAPIRuntime Deprecated.swift
[93/178] Compiling OpenAPIRuntime ClientError.swift
[95/178] Compiling ContainersPreview Ref.swift
[96/178] Compiling ContainersPreview Shared.swift
[97/178] Compiling ContainersPreview SpanIterator.swift
[98/178] Compiling ContainersPreview UniqueBox.swift
[99/179] Wrapping AST for ArgumentParser for debugging
[101/220] Compiling DequeModule RigidDeque+Equatable.swift
[102/220] Compiling DequeModule RigidDeque+Experimental.swift
[103/220] Compiling DequeModule RigidDeque+Hashable.swift
[104/220] Compiling DequeModule RigidDeque+Initializers.swift
[105/220] Compiling DequeModule RigidDeque+Insertions.swift
[106/220] Compiling DequeModule RigidDeque+Prepend.swift
[107/225] Compiling DequeModule RigidDeque+Removals.swift
[108/225] Compiling DequeModule RigidDeque+Replacements.swift
[109/225] Compiling DequeModule RigidDeque+Testing.swift
[110/225] Compiling DequeModule RigidDeque.swift
[111/225] Compiling DequeModule UniqueDeque+Append.swift
[112/225] Compiling DequeModule UniqueDeque+Consumption.swift
[113/225] Emitting module OpenAPIKit30
[114/226] Compiling DequeModule UniqueDeque+Hashable.swift
[115/226] Compiling DequeModule UniqueDeque+Initializers.swift
[116/226] Compiling DequeModule UniqueDeque+Insertions.swift
[117/226] Compiling DequeModule UniqueDeque+Prepend.swift
[118/226] Compiling DequeModule UniqueDeque+Removals.swift
[119/226] Compiling DequeModule UniqueDeque+Container.swift
[120/226] Compiling DequeModule UniqueDeque+Deprecated.swift
[121/226] Compiling DequeModule UniqueDeque+Descriptions.swift
[122/226] Compiling DequeModule UniqueDeque+Equatable.swift
[123/226] Compiling DequeModule UniqueDeque+Experimental.swift
[124/226] Compiling DequeModule _DequeBuffer.swift
[125/226] Compiling DequeModule _DequeBufferHeader.swift
[126/226] Compiling DequeModule RigidDeque+Append.swift
[127/226] Compiling DequeModule RigidDeque+Consumption.swift
[128/226] Compiling DequeModule RigidDeque+Container.swift
[129/226] Compiling DequeModule RigidDeque+Descriptions.swift
[131/226] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[132/226] Compiling OpenAPIRuntime URICodeCodingKey.swift
[133/226] Compiling OpenAPIRuntime URICoderConfiguration.swift
[134/226] Compiling OpenAPIRuntime URIEncodedNode.swift
[135/226] Compiling OpenAPIRuntime URIParsedTypes.swift
[136/226] Compiling OpenAPIRuntime URIDecoder.swift
[137/226] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[138/226] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[139/226] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[139/234] Wrapping AST for OpenAPIKit30 for debugging
[150/234] Emitting module OpenAPIKit
[151/235] Compiling DequeModule Deque+Codable.swift
[152/235] Compiling DequeModule Deque+Collection.swift
[153/235] Compiling DequeModule Deque+CustomReflectable.swift
[154/235] Compiling DequeModule Deque+Descriptions.swift
[155/235] Compiling DequeModule Deque+Equatable.swift
[156/235] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[157/235] Compiling DequeModule Deque+Extras.swift
[158/235] Compiling DequeModule Deque+Hashable.swift
[159/235] Compiling DequeModule Deque+Testing.swift
[160/235] Compiling DequeModule Deque._Storage.swift
[161/235] Compiling DequeModule Deque._UnsafeHandle.swift
[162/235] Compiling DequeModule Deque.swift
[163/235] Emitting module OpenAPIRuntime
[165/235] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[166/235] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[167/235] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[168/235] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[169/235] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[170/235] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[171/235] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[172/235] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[173/235] Compiling OpenAPIRuntime MultipartValidation.swift
[178/235] Compiling DequeModule UniqueDeque+Replacements.swift
[179/235] Compiling DequeModule UniqueDeque.swift
[180/235] Compiling DequeModule _DequeSlot.swift
[181/235] Compiling DequeModule _UnsafeDequeHandle.swift
[182/235] Compiling DequeModule _UnsafeDequeSegments.swift
[182/235] Wrapping AST for OpenAPIKit for debugging
[216/236] Emitting module Algorithms
[218/237] Emitting module OpenAPIKitCompat
[219/238] Wrapping AST for Algorithms for debugging
[221/238] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[222/238] Compiling OpenAPIRuntime URIEncoder.swift
[223/238] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[224/238] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[225/238] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[226/238] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[227/238] Compiling OpenAPIRuntime URIParser.swift
[228/238] Compiling OpenAPIRuntime URISerializer.swift
[228/238] Wrapping AST for OpenAPIKitCompat for debugging
[231/239] Emitting module DequeModule
[233/248] Compiling OpenAPIURLSession Lock.swift
[234/248] Compiling OpenAPIURLSession URLSession+Extensions.swift
[235/248] Compiling OpenAPIURLSession URLSessionTransport.swift
[236/248] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[237/248] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[238/248] Emitting module OpenAPIURLSession
[239/248] Compiling OpenAPIURLSession BufferedStream.swift
[241/249] Emitting module _OpenAPIGeneratorCore
[242/250] Wrapping AST for _OpenAPIGeneratorCore for debugging
[244/251] Emitting module swift_openapi_generator
[245/252] Wrapping AST for swift-openapi-generator for debugging
[246/252] Write Objects.LinkFileList
[247/252] Linking swift-openapi-generator-tool
Swift OpenAPI Generator is running with the following configuration:
- OpenAPI document path: /host/spi-builder-workspace/Sources/LemmyKit/openapi.yaml
- Configuration path: /host/spi-builder-workspace/Sources/LemmyKit/openapi-generator-config.yaml
- Generator modes: types, client
- Access modifier: public
- Naming strategy: defensive
- Name overrides: <none>
- Type overrides: <none>
- Feature flags: <none>
- Output file names: Types.swift, Client.swift
- Output directory: /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/LemmyKit/destination/OpenAPIGenerator/GeneratedSources
- Diagnostics output path: <none - logs to stderr>
- Current directory: /host/spi-builder-workspace
- Plugin source: build
- Is dry run: false
- Additional imports: <none>
- Additional file comments: <none>File Client.swift already up to date.
File Types.swift already up to date.
File Server.swift already up to date.
[248/252] Running swift-openapi-generator
Swift OpenAPI Generator is running with the following configuration:
- OpenAPI document path: /host/spi-builder-workspace/Sources/LemmyKitV4Generated/openapi.yaml
- Configuration path: /host/spi-builder-workspace/Sources/LemmyKitV4Generated/openapi-generator-config.yaml
- Generator modes: types, client
- Access modifier: package
- Naming strategy: defensive
- Name overrides: <none>
- Type overrides: <none>
- Feature flags: <none>
- Output file names: Types.swift, Client.swift
- Output directory: /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/LemmyKitV4Generated/destination/OpenAPIGenerator/GeneratedSources
- Diagnostics output path: <none - logs to stderr>
- Current directory: /host/spi-builder-workspace
- Plugin source: build
- Is dry run: false
- Additional imports: <none>
- Additional file comments: <none>File Client.swift already up to date.
File Types.swift already up to date.
File Server.swift already up to date.
[251/255] Compiling LemmyKitV4Generated Server.swift
[252/255] Compiling LemmyKitV4Generated Client.swift
[253/255] Compiling LemmyKitV4Generated Exports.swift
[254/255] Compiling LemmyKitV4Generated Types.swift
[255/255] Emitting module LemmyKitV4Generated
[257/422] Compiling LemmyKit PersonPiefedMapping.swift
[258/422] Compiling LemmyKit PersonV3Mapping.swift
[259/422] Compiling LemmyKit PersonV4Mapping.swift
[260/422] Compiling LemmyKit PersonViewPiefedMapping.swift
[261/422] Compiling LemmyKit PersonViewV3Mapping.swift
[262/422] Compiling LemmyKit PersonViewV4Mapping.swift
[263/422] Compiling LemmyKit PiefedDateParsing.swift
[264/422] Compiling LemmyKit PostCommentCombinedV4Mapping.swift
[265/422] Compiling LemmyKit PostPiefedMapping.swift
[266/422] Compiling LemmyKit PostV3Mapping.swift
[267/422] Compiling LemmyKit PostV4Mapping.swift
[268/422] Compiling LemmyKit PostViewPiefedMapping.swift
[269/422] Compiling LemmyKit PostViewV3Mapping.swift
[270/422] Compiling LemmyKit PostViewV4Mapping.swift
[271/422] Compiling LemmyKit PrivateMessageNotificationV3Mapping.swift
[272/422] Compiling LemmyKit PrivateMessagePiefedMapping.swift
[273/422] Compiling LemmyKit PrivateMessageViewV3Mapping.swift
[274/422] Compiling LemmyKit PrivateMessageViewV4Mapping.swift
[275/422] Compiling LemmyKit ResolvedObjectPiefedMapping.swift
[276/422] Compiling LemmyKit ResolvedObjectV3Mapping.swift
[277/422] Compiling LemmyKit ResolvedObjectV4Mapping.swift
[278/422] Compiling LemmyKit SearchResultsPiefedMapping.swift
[279/422] Compiling LemmyKit SearchResultsV3Mapping.swift
[280/422] Compiling LemmyKit SearchResultsV4Mapping.swift
[281/445] Compiling LemmyKit CommentPiefedMapping.swift
[282/445] Compiling LemmyKit CommentReplyNotificationV3Mapping.swift
[283/445] Compiling LemmyKit CommentV3Mapping.swift
[284/445] Compiling LemmyKit CommentV4Mapping.swift
[285/445] Compiling LemmyKit CommentViewPiefedMapping.swift
[286/445] Compiling LemmyKit CommentViewV3Mapping.swift
[287/445] Compiling LemmyKit CommentViewV4Mapping.swift
[288/445] Compiling LemmyKit CommunityActionsV4Mapping.swift
[289/445] Compiling LemmyKit CommunityPiefedMapping.swift
[290/445] Compiling LemmyKit CommunityV3Mapping.swift
[291/445] Compiling LemmyKit CommunityV4Mapping.swift
[292/445] Compiling LemmyKit CommunityViewPiefedMapping.swift
[293/445] Compiling LemmyKit CommunityViewV3Mapping.swift
[294/445] Compiling LemmyKit CommunityViewV4Mapping.swift
[295/445] Compiling LemmyKit FollowStateMapping.swift
[296/445] Compiling LemmyKit MyUserPiefedMapping.swift
[297/445] Compiling LemmyKit MyUserV3Mapping.swift
[298/445] Compiling LemmyKit MyUserV4Mapping.swift
[299/445] Compiling LemmyKit NotificationPiefedMapping.swift
[300/445] Compiling LemmyKit NotificationV4Mapping.swift
[301/445] Compiling LemmyKit PageMapping.swift
[302/445] Compiling LemmyKit PersonActionsV4Mapping.swift
[303/445] Compiling LemmyKit PersonDetailsPiefedMapping.swift
[304/445] Compiling LemmyKit PersonMentionNotificationV3Mapping.swift
[305/468] Compiling LemmyKit LemmyApi+EditCommentNeutral.swift
[306/468] Compiling LemmyKit LemmyApi+EditCommunity.swift
[307/468] Compiling LemmyKit LemmyApi+EditCustomEmoji.swift
[308/468] Compiling LemmyKit LemmyApi+EditPost.swift
[309/468] Compiling LemmyKit LemmyApi+EditPostNeutral.swift
[310/468] Compiling LemmyKit LemmyApi+EditPrivateMessage.swift
[311/468] Compiling LemmyKit LemmyApi+EditSite.swift
[312/468] Compiling LemmyKit LemmyApi+ExportSettings.swift
[313/468] Compiling LemmyKit LemmyApi+FeaturePost.swift
[314/468] Compiling LemmyKit LemmyApi+FollowCommunity.swift
[315/468] Compiling LemmyKit LemmyApi+FollowCommunityNeutral.swift
[316/468] Compiling LemmyKit LemmyApi+GenerateTotpSecret.swift
[317/468] Compiling LemmyKit LemmyApi+GetBannedPersons.swift
[318/468] Compiling LemmyKit LemmyApi+GetCaptcha.swift
[319/468] Compiling LemmyKit LemmyApi+GetComment.swift
[320/468] Compiling LemmyKit LemmyApi+GetComments+Community.swift
[321/468] Compiling LemmyKit LemmyApi+GetComments+ListingType.swift
[322/468] Compiling LemmyKit LemmyApi+GetComments+Parent.swift
[323/468] Compiling LemmyKit LemmyApi+GetComments+Post.swift
[324/468] Compiling LemmyKit LemmyApi+GetComments.swift
[325/468] Compiling LemmyKit LemmyApi+GetCommentsNeutral.swift
[326/468] Compiling LemmyKit LemmyApi+GetCommunity.swift
[327/468] Compiling LemmyKit LemmyApi+GetCommunityNeutral.swift
[328/491] Compiling LemmyKit LemmyApi+GetFederatedInstances.swift
[329/491] Compiling LemmyKit LemmyApi+GetImage.swift
[330/491] Compiling LemmyKit LemmyApi+GetModlog.swift
[331/491] Compiling LemmyKit LemmyApi+GetMyUserNeutral.swift
[332/491] Compiling LemmyKit LemmyApi+GetPersonDetails+id.swift
[333/491] Compiling LemmyKit LemmyApi+GetPersonDetails+username.swift
[334/491] Compiling LemmyKit LemmyApi+GetPersonDetailsNeutral.swift
[335/491] Compiling LemmyKit LemmyApi+GetPersonMentions.swift
[336/491] Compiling LemmyKit LemmyApi+GetPost.swift
[337/491] Compiling LemmyKit LemmyApi+GetPostNeutral.swift
[338/491] Compiling LemmyKit LemmyApi+GetPosts+Community.swift
[339/491] Compiling LemmyKit LemmyApi+GetPosts+ListingType.swift
[340/491] Compiling LemmyKit LemmyApi+GetPosts.swift
[341/491] Compiling LemmyKit LemmyApi+GetPostsNeutral.swift
[342/491] Compiling LemmyKit LemmyApi+GetPrivateMessages.swift
[343/491] Compiling LemmyKit LemmyApi+GetPrivateMessagesNeutral.swift
[344/491] Compiling LemmyKit LemmyApi+GetRegistrationApplication.swift
[345/491] Compiling LemmyKit LemmyApi+GetReplies.swift
[346/491] Compiling LemmyKit LemmyApi+GetReportCount.swift
[347/491] Compiling LemmyKit LemmyApi+GetSite.swift
[348/491] Compiling LemmyKit LemmyApi+GetSiteAndMyUserNeutral.swift
[349/491] Compiling LemmyKit LemmyApi+GetSiteMetadata.swift
[350/491] Compiling LemmyKit LemmyApi+GetSiteNeutral.swift
[351/514] Compiling LemmyKit LemmyApi+ResolvePostReport.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[352/514] Compiling LemmyKit LemmyApi+ResolvePrivateMessageReport.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[353/514] Compiling LemmyKit LemmyApi+SaveComment.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[354/514] Compiling LemmyKit LemmyApi+SaveCommentNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[355/514] Compiling LemmyKit LemmyApi+SavePost.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[356/514] Compiling LemmyKit LemmyApi+SavePostNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[357/514] Compiling LemmyKit LemmyApi+SaveUserSettings.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[358/514] Compiling LemmyKit LemmyApi+SaveUserSettingsNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[359/514] Compiling LemmyKit LemmyApi+Search.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[360/514] Compiling LemmyKit LemmyApi+SearchNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[361/514] Compiling LemmyKit LemmyApi+TransferCommunity.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[362/514] Compiling LemmyKit LemmyApi+UnreadCountsNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[363/514] Compiling LemmyKit LemmyApi+UpdateTotp.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[364/514] Compiling LemmyKit LemmyApi+UploadImage.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[365/514] Compiling LemmyKit LemmyApi+UploadImageNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[366/514] Compiling LemmyKit LemmyApi+ValidateAuth.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[367/514] Compiling LemmyKit LemmyApi+VerifyEmail.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[368/514] Compiling LemmyKit LemmyApi+VoteCommentNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[369/514] Compiling LemmyKit LemmyApi+VotePostNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[370/514] Compiling LemmyKit LemmyApi.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[371/514] Compiling LemmyKit LemmyApiError+fromClientError.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[372/514] Compiling LemmyKit LemmyApiError.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[373/514] Compiling LemmyKit LemmyCredential.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
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/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[374/537] Compiling LemmyKit PostOrComment.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[375/537] Compiling LemmyKit PostSort.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[376/537] Compiling LemmyKit PostView.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[377/537] Compiling LemmyKit PrivateMessage.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[378/537] Compiling LemmyKit PrivateMessageListItem.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[379/537] Compiling LemmyKit PrivateMessageView.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[380/537] Compiling LemmyKit ResolvedObject.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[381/537] Compiling LemmyKit SearchResults.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[382/537] Compiling LemmyKit SearchType.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[383/537] Compiling LemmyKit Site.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[384/537] Compiling LemmyKit SiteInfo.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[385/537] Compiling LemmyKit SiteWithMyUser.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[386/537] Compiling LemmyKit TimeRange.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[387/537] Compiling LemmyKit UnreadCounts.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[388/537] Compiling LemmyKit UploadedImage.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[389/537] Compiling LemmyKit VoteDirection.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[390/537] Compiling LemmyKit NeutralVocabulary.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[391/537] Compiling LemmyKit PiefedAuthEntities.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[392/537] Compiling LemmyKit PiefedClient+Actions.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[393/537] Compiling LemmyKit PiefedClient+Auth.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[394/537] Compiling LemmyKit PiefedClient+Comments.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[395/537] Compiling LemmyKit PiefedClient+Inbox.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[396/537] Compiling LemmyKit PiefedClient+Posts.swift
/host/spi-builder-workspace/Sources/LemmyKit/Neutral/VoteDirection.swift:73:9: error: switch must be exhaustive
71 | public static func fromV4(votedAt: Date?, isUpvote: Bool?) -> VoteDirection {
72 | guard votedAt != nil else { return .none }
73 | switch isUpvote {
| |- error: switch must be exhaustive
| `- note: add missing case: '.some(_)'
74 | case true:
75 | return .up
[397/537] Compiling LemmyKit LemmyApi+Login.swift
[398/537] Compiling LemmyKit LemmyApi+LoginNeutral.swift
[399/537] Compiling LemmyKit LemmyApi+Logout.swift
[400/537] Compiling LemmyKit LemmyApi+MarkAsRead.swift
[401/537] Compiling LemmyKit LemmyApi+MarkNotificationNeutral.swift
[402/537] Compiling LemmyKit LemmyApi+MarkPostAsRead.swift
[403/537] Compiling LemmyKit LemmyApi+MarkPostAsReadNeutral.swift
[404/537] Compiling LemmyKit LemmyApi+PasswordChangeAfterReset.swift
[405/537] Compiling LemmyKit LemmyApi+PasswordReset.swift
[406/537] Compiling LemmyKit LemmyApi+ProfileImageNeutral.swift
[407/537] Compiling LemmyKit LemmyApi+PurgeComment.swift
[408/537] Compiling LemmyKit LemmyApi+PurgeCommunity.swift
[409/537] Compiling LemmyKit LemmyApi+PurgePerson.swift
[410/537] Compiling LemmyKit LemmyApi+PurgePost.swift
[411/537] Compiling LemmyKit LemmyApi+Register.swift
[412/537] Compiling LemmyKit LemmyApi+RegisterNeutral.swift
[413/537] Compiling LemmyKit LemmyApi+RemoveComment.swift
[414/537] Compiling LemmyKit LemmyApi+RemoveCommunity.swift
[415/537] Compiling LemmyKit LemmyApi+RemovePost.swift
[416/537] Compiling LemmyKit LemmyApi+ReportPrivateMessage.swift
[417/537] Compiling LemmyKit LemmyApi+ResolveCommentReport.swift
[418/537] Compiling LemmyKit LemmyApi+ResolveObject.swift
[419/537] Compiling LemmyKit LemmyApi+ResolveObjectNeutral.swift
[420/537] Compiling LemmyKit ApiVersion.swift
[421/537] Compiling LemmyKit Comment.swift
[422/537] Compiling LemmyKit CommentActions.swift
[423/537] Compiling LemmyKit CommentSort.swift
[424/537] Compiling LemmyKit CommentView.swift
[425/537] Compiling LemmyKit Community.swift
[426/537] Compiling LemmyKit CommunityActions.swift
[427/537] Compiling LemmyKit CommunityView.swift
[428/537] Compiling LemmyKit Cursor.swift
[429/537] Compiling LemmyKit FollowState.swift
[430/537] Compiling LemmyKit MyUser.swift
[431/537] Compiling LemmyKit NotificationData.swift
[432/537] Compiling LemmyKit NotificationEntry.swift
[433/537] Compiling LemmyKit NotificationKind.swift
[434/537] Compiling LemmyKit NotificationView.swift
[435/537] Compiling LemmyKit Page.swift
[436/537] Compiling LemmyKit Person.swift
[437/537] Compiling LemmyKit PersonActions.swift
[438/537] Compiling LemmyKit PersonDetails.swift
[439/537] Compiling LemmyKit PersonView.swift
[440/537] Compiling LemmyKit Post.swift
[441/537] Compiling LemmyKit PostActions.swift
[442/537] Compiling LemmyKit PostDetail.swift
[443/537] Compiling LemmyKit LemmyApi+BlockPersonNeutral.swift
[444/537] Compiling LemmyKit LemmyApi+ChangePassword.swift
[445/537] Compiling LemmyKit LemmyApi+CreateComment.swift
[446/537] Compiling LemmyKit LemmyApi+CreateCommentNeutral.swift
[447/537] Compiling LemmyKit LemmyApi+CreateCommentReport.swift
[448/537] Compiling LemmyKit LemmyApi+CreateCommunity.swift
[449/537] Compiling LemmyKit LemmyApi+CreateCustomEmoji.swift
[450/537] Compiling LemmyKit LemmyApi+CreatePost.swift
[451/537] Compiling LemmyKit LemmyApi+CreatePostNeutral.swift
[452/537] Compiling LemmyKit LemmyApi+CreatePostReport.swift
[453/537] Compiling LemmyKit LemmyApi+CreatePrivateMessage.swift
[454/537] Compiling LemmyKit LemmyApi+CreatePrivateMessageNeutral.swift
[455/537] Compiling LemmyKit LemmyApi+CreateSite.swift
[456/537] Compiling LemmyKit LemmyApi+DeleteAccount.swift
[457/537] Compiling LemmyKit LemmyApi+DeleteComment.swift
[458/537] Compiling LemmyKit LemmyApi+DeleteCommentNeutral.swift
[459/537] Compiling LemmyKit LemmyApi+DeleteCommunity.swift
[460/537] Compiling LemmyKit LemmyApi+DeleteCustomEmoji.swift
[461/537] Compiling LemmyKit LemmyApi+DeleteImage.swift
[462/537] Compiling LemmyKit LemmyApi+DeletePost.swift
[463/537] Compiling LemmyKit LemmyApi+DeletePostNeutral.swift
[464/537] Compiling LemmyKit LemmyApi+DeletePrivateMessage.swift
[465/537] Compiling LemmyKit LemmyApi+DistinguishComment.swift
[466/537] Compiling LemmyKit LemmyApi+EditComment.swift
[467/537] Emitting module LemmyKit
[468/537] Compiling LemmyKit LemmyApi+GetUnreadCount.swift
[469/537] Compiling LemmyKit LemmyApi+GetUnreadRegistrationApplicationCount.swift
[470/537] Compiling LemmyKit LemmyApi+HideCommunity.swift
[471/537] Compiling LemmyKit LemmyApi+HidePost.swift
[472/537] Compiling LemmyKit LemmyApi+HidePostNeutral.swift
[473/537] Compiling LemmyKit LemmyApi+ImportSettings.swift
[474/537] Compiling LemmyKit LemmyApi+LeaveAdmin.swift
[475/537] Compiling LemmyKit LemmyApi+LikeComment.swift
[476/537] Compiling LemmyKit LemmyApi+LikePost.swift
[477/537] Compiling LemmyKit LemmyApi+ListAllMedia.swift
[478/537] Compiling LemmyKit LemmyApi+ListCommentLikes.swift
[479/537] Compiling LemmyKit LemmyApi+ListCommentReports.swift
[480/537] Compiling LemmyKit LemmyApi+ListCommunities.swift
[481/537] Compiling LemmyKit LemmyApi+ListCommunitiesNeutral.swift
[482/537] Compiling LemmyKit LemmyApi+ListLogins.swift
[483/537] Compiling LemmyKit LemmyApi+ListMedia.swift
[484/537] Compiling LemmyKit LemmyApi+ListNotificationsNeutral.swift
[485/537] Compiling LemmyKit LemmyApi+ListPersonContentNeutral.swift
[486/537] Compiling LemmyKit LemmyApi+ListPostLikes.swift
[487/537] Compiling LemmyKit LemmyApi+ListPostReports.swift
[488/537] Compiling LemmyKit LemmyApi+ListPrivateMessageReports.swift
[489/537] Compiling LemmyKit LemmyApi+ListRegistrationApplications.swift
[490/537] Compiling LemmyKit LemmyApi+LockPost.swift
[491/537] Compiling LemmyKit SiteInfoPiefedMapping.swift
[492/537] Compiling LemmyKit SiteInfoV3Mapping.swift
[493/537] Compiling LemmyKit SiteInfoV4Mapping.swift
[494/537] Compiling LemmyKit SortMapping.swift
[495/537] Compiling LemmyKit SortPiefedMapping.swift
[496/537] Compiling LemmyKit UnreadCountsPiefedMapping.swift
[497/537] Compiling LemmyKit V3ActionSentinel.swift
[498/537] Compiling LemmyKit V3IDConversion.swift
[499/537] Compiling LemmyKit V4DateParsing.swift
[500/537] Compiling LemmyKit ApiVersionProbe.swift
[501/537] Compiling LemmyKit CommentSortType+Identifiable.swift
[502/537] Compiling LemmyKit CommentSortType+allCases.swift
[503/537] Compiling LemmyKit SortType+Identifiable.swift
[504/537] Compiling LemmyKit SortType+allCases.swift
[505/537] Compiling LemmyKit LemmyApi+AccountFeedsNeutral.swift
[506/537] Compiling LemmyKit LemmyApi+AddAdmin.swift
[507/537] Compiling LemmyKit LemmyApi+AddModToCommunity.swift
[508/537] Compiling LemmyKit LemmyApi+ApproveRegistrationApplication.swift
[509/537] Compiling LemmyKit LemmyApi+BanFromCommunity.swift
[510/537] Compiling LemmyKit LemmyApi+BanPerson.swift
[511/537] Compiling LemmyKit LemmyApi+BlockCommunity.swift
[512/537] Compiling LemmyKit LemmyApi+BlockCommunityNeutral.swift
[513/537] Compiling LemmyKit LemmyApi+BlockInstance.swift
[514/537] Compiling LemmyKit LemmyApi+BlockPerson.swift
[515/537] Compiling LemmyKit PiefedClient+PrivateMessages.swift
[516/537] Compiling LemmyKit PiefedClient.swift
[517/537] Compiling LemmyKit PiefedEntities.swift
[518/537] Compiling LemmyKit PiefedError.swift
[519/537] Compiling LemmyKit PiefedInboxEntities.swift
[520/537] Compiling LemmyKit PiefedRequests.swift
[521/537] Compiling LemmyKit PiefedViews.swift
[522/537] Compiling LemmyKit PiefedWriteResponses.swift
[523/537] Compiling LemmyKit AuthorizationMiddleware.swift
[524/537] Compiling LemmyKit CommentPath.swift
[525/537] Compiling LemmyKit CommunityFilter.swift
[526/537] Compiling LemmyKit ContentFilter.swift
[527/537] Compiling LemmyKit Date+lemmyFormat.swift
[528/537] Compiling LemmyKit ImageFormat.swift
[529/537] Compiling LemmyKit LemmyDateTranscoder.swift
[530/537] Compiling LemmyKit LenientUrl.swift
[531/537] Compiling LemmyKit LikeStatus.swift
[532/537] Compiling LemmyKit MultipartFormData.swift
[533/537] Compiling LemmyKit URL+lenientString.swift
[534/537] Compiling LemmyKit UserAgentMiddleware.swift
[535/537] Compiling LemmyKit Types.swift
[536/537] Compiling LemmyKit Client.swift
[537/537] Compiling LemmyKit Server.swift
BUILD FAILURE 6.1 linux