Build Information
Failed to build LemmyKit, reference 0.5.1 (15270b), with Swift 6.1 for Android on 14 Jul 2026 23:19:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-3":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
| `- 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 |
[276/382] Compiling LemmyKit LemmyApi+TransferCommunity.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/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 |
[277/382] Compiling LemmyKit LemmyApi+UpdateTotp.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/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 |
[278/382] Compiling LemmyKit LemmyApi+UploadImage.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/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 |
[279/382] Compiling LemmyKit LemmyApi+ValidateAuth.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/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 |
[280/382] Compiling LemmyKit LemmyApi+VerifyEmail.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/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 |
[281/382] Compiling LemmyKit LemmyApi.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/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 |
[282/382] Compiling LemmyKit LemmyApiError+fromClientError.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/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 |
[283/382] Compiling LemmyKit LemmyApiError.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/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 |
[284/398] Compiling LemmyKit LemmyApi+EditSite.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
[285/398] Compiling LemmyKit LemmyApi+ExportSettings.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
[286/398] Compiling LemmyKit LemmyApi+FeaturePost.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
[287/398] Compiling LemmyKit LemmyApi+FollowCommunity.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
[288/398] Compiling LemmyKit LemmyApi+GenerateTotpSecret.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
[289/398] Compiling LemmyKit LemmyApi+GetBannedPersons.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
[290/398] Compiling LemmyKit LemmyApi+GetCaptcha.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
[291/398] Compiling LemmyKit LemmyApi+GetComment.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
[292/398] Compiling LemmyKit LemmyApi+GetComments+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
[293/398] Compiling LemmyKit LemmyApi+GetComments+ListingType.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
[294/398] Compiling LemmyKit LemmyApi+GetComments+Parent.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
[295/398] Compiling LemmyKit LemmyApi+GetComments+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
[296/398] Compiling LemmyKit LemmyApi+GetComments.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
[297/398] Compiling LemmyKit LemmyApi+GetCommunity.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
[298/398] Compiling LemmyKit LemmyApi+GetFederatedInstances.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
[299/398] Compiling LemmyKit LemmyApi+GetImage.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
[300/398] Compiling LemmyKit LemmyApi+HideCommunity.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
[301/398] Compiling LemmyKit LemmyApi+HidePost.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
[302/398] Compiling LemmyKit LemmyApi+ImportSettings.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
[303/398] Compiling LemmyKit LemmyApi+LeaveAdmin.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
[304/398] Compiling LemmyKit LemmyApi+LikeComment.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
[305/398] Compiling LemmyKit LemmyApi+LikePost.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
[306/398] Compiling LemmyKit LemmyApi+ListAllMedia.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
[307/398] Compiling LemmyKit LemmyApi+ListCommentLikes.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
[308/398] Compiling LemmyKit LemmyApi+ListCommentReports.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
[309/398] Compiling LemmyKit LemmyApi+ListCommunities.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
[310/398] Compiling LemmyKit LemmyApi+ListLogins.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
[311/398] Compiling LemmyKit LemmyApi+ListMedia.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
[312/398] Compiling LemmyKit LemmyApi+ListPostLikes.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
[313/398] Compiling LemmyKit LemmyApi+ListPostReports.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
[314/398] Compiling LemmyKit LemmyApi+ListPrivateMessageReports.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
[315/398] Compiling LemmyKit LemmyApi+ListRegistrationApplications.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
[316/398] Compiling LemmyKit LemmyApi+LockPost.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
[317/398] 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
[318/398] 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
[319/398] 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
[320/398] 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
[321/398] 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
[322/398] 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
[323/398] 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
[324/398] 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
[325/398] 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
[326/398] 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
[327/398] 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
[328/398] 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
[329/398] 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
[330/398] 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
[331/398] 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
[332/398] Compiling LemmyKit LemmyApi+CreatePost.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
[333/398] Compiling LemmyKit LemmyApi+CreatePostReport.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
[334/398] Compiling LemmyKit LemmyApi+CreatePrivateMessage.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
[335/398] Compiling LemmyKit LemmyApi+CreateSite.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
[336/398] Compiling LemmyKit LemmyApi+DeleteAccount.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
[337/398] Compiling LemmyKit LemmyApi+DeleteComment.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
[338/398] Compiling LemmyKit LemmyApi+DeleteCommunity.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
[339/398] Compiling LemmyKit LemmyApi+DeleteCustomEmoji.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
[340/398] Compiling LemmyKit LemmyApi+DeleteImage.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
[341/398] Compiling LemmyKit LemmyApi+DeletePost.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
[342/398] Compiling LemmyKit LemmyApi+DeletePrivateMessage.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
[343/398] Compiling LemmyKit LemmyApi+DistinguishComment.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
[344/398] Compiling LemmyKit LemmyApi+EditComment.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
[345/398] Compiling LemmyKit LemmyApi+EditCommunity.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
[346/398] Compiling LemmyKit LemmyApi+EditCustomEmoji.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
[347/398] Compiling LemmyKit LemmyApi+EditPost.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
[348/398] Compiling LemmyKit LemmyApi+EditPrivateMessage.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
[349/398] Compiling LemmyKit LemmyApi+GetModlog.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
[350/398] Compiling LemmyKit LemmyApi+GetPersonDetails+id.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
[351/398] Compiling LemmyKit LemmyApi+GetPersonDetails+username.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
[352/398] Compiling LemmyKit LemmyApi+GetPersonMentions.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
[353/398] Compiling LemmyKit LemmyApi+GetPost.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
[354/398] Compiling LemmyKit LemmyApi+GetPosts+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
[355/398] Compiling LemmyKit LemmyApi+GetPosts+ListingType.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
[356/398] Compiling LemmyKit LemmyApi+GetPosts.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
[357/398] Compiling LemmyKit LemmyApi+GetPrivateMessages.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
[358/398] Compiling LemmyKit LemmyApi+GetRegistrationApplication.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
[359/398] Compiling LemmyKit LemmyApi+GetReplies.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
[360/398] Compiling LemmyKit LemmyApi+GetReportCount.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
[361/398] Compiling LemmyKit LemmyApi+GetSite.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
[362/398] Compiling LemmyKit LemmyApi+GetSiteMetadata.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
[363/398] Compiling LemmyKit LemmyApi+GetUnreadCount.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
[364/398] Compiling LemmyKit LemmyApi+GetUnreadRegistrationApplicationCount.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
[365/398] Compiling LemmyKit CommentSortType+Identifiable.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
[366/398] Compiling LemmyKit CommentSortType+allCases.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
[367/398] Compiling LemmyKit SortType+Identifiable.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
[368/398] Compiling LemmyKit SortType+allCases.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
[369/398] Compiling LemmyKit LemmyApi+AddAdmin.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
[370/398] Compiling LemmyKit LemmyApi+AddModToCommunity.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
[371/398] Compiling LemmyKit LemmyApi+ApproveRegistrationApplication.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
[372/398] Compiling LemmyKit LemmyApi+BanFromCommunity.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
[373/398] Compiling LemmyKit LemmyApi+BanPerson.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
[374/398] Compiling LemmyKit LemmyApi+BlockCommunity.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
[375/398] Compiling LemmyKit LemmyApi+BlockInstance.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
[376/398] Compiling LemmyKit LemmyApi+BlockPerson.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
[377/398] Compiling LemmyKit LemmyApi+ChangePassword.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
[378/398] Compiling LemmyKit LemmyApi+CreateComment.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
[379/398] Compiling LemmyKit LemmyApi+CreateCommentReport.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
[380/398] Compiling LemmyKit LemmyApi+CreateCommunity.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
[381/398] Compiling LemmyKit LemmyApi+CreateCustomEmoji.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
[382/398] 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
[383/398] Compiling LemmyKit LemmyCredential.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
[384/398] 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
[385/398] 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
[386/398] 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
[387/398] 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
[388/398] 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
[389/398] 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
[390/398] 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
[391/398] 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
[392/398] 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
[393/398] 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
[394/398] 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
[395/398] 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
[396/398] 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
[397/398] 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
[398/398] 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-53886770-3":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/21] Compiling _NumericsShims _NumericsShims.c
[1/21] Compiling writer.c
[2/21] Compiling reader.c
[3/21] Compiling emitter.c
[4/21] Compiling api.c
[5/21] Compiling parser.c
[6/21] Write swift-version-24593BA9C3E375BF.txt
[7/21] Compiling scanner.c
[9/67] Compiling RealModule RealFunctions.swift
[10/88] Compiling RealModule Real.swift
[11/88] Compiling Yams Decoder.swift
[12/88] Compiling Yams Emitter.swift
[13/88] Compiling RealModule RelaxedArithmetic.swift
[14/88] Compiling RealModule Float16+Real.swift
[15/88] Compiling Yams Anchor.swift
[16/88] Compiling Yams Constructor.swift
[17/88] Compiling RealModule Float80+Real.swift
[18/88] Compiling Yams Encoder.swift
[19/88] Compiling Yams AliasDereferencingStrategy.swift
[20/88] Compiling Yams Tag.swift
[21/88] Compiling Yams YamlAnchorProviding.swift
[22/90] Emitting module RealModule
[23/91] Compiling Yams Resolver.swift
[24/91] Compiling Yams String+Yams.swift
[27/91] Compiling Yams Mark.swift
[28/91] Compiling Yams Node.Alias.swift
[29/91] Compiling Yams Node.Mapping.swift
[30/91] Compiling Yams Parser.swift
[30/95] Wrapping AST for RealModule for debugging
[32/95] Emitting module OpenAPIKitCore
[38/95] Compiling Yams YamlError.swift
[39/95] Compiling Yams YamlTagProviding.swift
[40/95] Compiling OpenAPIKitCore Optional+Zip.swift
[41/95] Compiling OpenAPIKitCore Result+Value.swift
[42/95] Compiling OpenAPIKitCore URL+Resolution.swift
[43/95] Compiling OpenAPIKitCore Validatable.swift
[44/100] Compiling ArgumentParserToolInfo ToolInfo.swift
[45/120] Emitting module ArgumentParserToolInfo
[46/121] Compiling Algorithms FlattenCollection.swift
[47/121] Compiling Algorithms Grouped.swift
[48/121] Compiling Algorithms Indexed.swift
[49/121] Compiling Algorithms Intersperse.swift
[50/121] Compiling Algorithms Joined.swift
[51/121] Compiling Algorithms Keyed.swift
[52/121] Compiling Algorithms MinMax.swift
[53/121] Compiling Algorithms AdjacentPairs.swift
[54/121] Compiling Algorithms Chain.swift
[55/121] Compiling Algorithms Chunked.swift
[57/121] Compiling Algorithms Combinations.swift
[58/121] Compiling Algorithms Split.swift
[59/121] Compiling Algorithms Stride.swift
[60/121] Compiling Algorithms Suffix.swift
[61/121] Compiling OpenAPIKitCore JSONTypeFormat.swift
[62/121] Compiling OpenAPIKitCore Path.swift
[63/121] Compiling OpenAPIKitCore ResponseStatusCode.swift
[64/121] Compiling OpenAPIKitCore SecurityScheme.swift
[65/121] Compiling OpenAPIKitCore SharedOAuthFlows.swift
[66/121] Compiling OpenAPIKitCore URLTemplate+Parsing.swift
[67/121] Compiling OpenAPIKitCore URLTemplate.swift
[68/121] Compiling OpenAPIKitCore Container+DecodeURLAsString.swift
[70/122] Compiling Algorithms FirstNonNil.swift
[71/122] Compiling Algorithms Partition.swift
[72/122] Compiling Algorithms Permutations.swift
[72/122] Wrapping AST for OpenAPIKitCore for debugging
[73/122] Wrapping AST for ArgumentParserToolInfo for debugging
[75/236] Emitting module Yams
[76/310] Compiling OpenAPIKit30 DocumentInfo.swift
[77/310] Compiling ArgumentParser NameSpecification.swift
[78/310] Compiling ArgumentParser Option.swift
[79/310] Compiling ArgumentParser OptionGroup.swift
[80/313] Compiling ArgumentParser Mutex.swift
[81/313] Compiling ArgumentParser Platform.swift
[82/313] Compiling ArgumentParser SequenceExtensions.swift
[83/313] Compiling ArgumentParser StringExtensions.swift
[84/313] Compiling ArgumentParser SwiftExtensions.swift
[85/313] Compiling ArgumentParser Tree.swift
[86/319] Compiling ArgumentParser ParsedValues.swift
[87/319] Compiling ArgumentParser ParserError.swift
[88/319] Compiling ArgumentParser SplitArguments.swift
[89/319] Compiling ArgumentParser DumpHelpGenerator.swift
[90/319] Compiling ArgumentParser ParsableCommand.swift
[91/319] Compiling ArgumentParser ArgumentDecoder.swift
[92/319] Compiling ArgumentParser CompletionsGenerator.swift
[93/319] Compiling ArgumentParser FishCompletionsGenerator.swift
[94/319] Compiling ArgumentParser ZshCompletionsGenerator.swift
[95/319] Emitting module ArgumentParser
[100/319] Compiling OpenAPIKit30 DereferencedDocument.swift
[101/319] Compiling OpenAPIKit30 Document+URIResolution.swift
[102/319] Compiling OpenAPIKit30 Document.swift
[103/319] Compiling Algorithms Trim.swift
[104/319] Compiling Algorithms Unique.swift
[105/319] Compiling Algorithms Windows.swift
[106/319] Compiling OpenAPIKit30 DereferencedSecurityRequirement.swift
[107/319] Compiling OpenAPIKit30 OAuthFlows.swift
[108/319] Compiling OpenAPIKit30 SecurityScheme.swift
[109/319] Compiling OpenAPIKit30 Server.swift
[110/319] Compiling OpenAPIKit30 Tag.swift
[111/319] Compiling OpenAPIKit30 URLTemplate+Validatable.swift
[112/319] Compiling OpenAPIKit30 Array+ExternallyDereferenceable.swift
[113/319] Compiling OpenAPIKit30 Container+DecodeURLAsString.swift
[114/319] Compiling OpenAPIKit30 Dictionary+ExternallyDereferenceable.swift
[116/328] Compiling ArgumentParser ArgumentDefinition.swift
[117/328] Compiling ArgumentParser ArgumentSet.swift
[118/328] Compiling ArgumentParser Name.swift
[119/328] Compiling OpenAPIKit30 Either+Validatable.swift
[134/329] Compiling ArgumentParser AsyncCompletionsValidator.swift
[135/329] Compiling ArgumentParser CodingKeyValidator.swift
[136/329] Compiling ArgumentParser NonsenseFlagsValidator.swift
[137/329] Compiling ArgumentParser ParsableArgumentsValidation.swift
[138/329] Compiling ArgumentParser PositionalArgumentsValidator.swift
[139/329] Compiling ArgumentParser UniqueNamesValidator.swift
[139/329] Wrapping AST for Yams for debugging
[141/329] Compiling OpenAPIKit30 Optional+ExternallyDereferenceable.swift
[142/329] Compiling OpenAPIKit30 OrderedDictionary+ExternallyDereferenceable.swift
[143/329] Compiling OpenAPIKit30 OrderedDictionry+LocallyDereferenceable.swift
[144/329] Compiling OpenAPIKit30 Validation+Builtins.swift
[145/329] Compiling OpenAPIKit30 Validation.swift
[146/329] Compiling OpenAPIKit30 Validator+Convenience.swift
[147/329] Compiling OpenAPIKit30 Validator.swift
[148/329] Compiling OpenAPIKit30 XML.swift
[149/329] Compiling OpenAPIKit30 _CoreReExport.swift
[150/329] Compiling ArgumentParser HelpCommand.swift
[151/329] Compiling ArgumentParser HelpGenerator.swift
[152/329] Compiling ArgumentParser MessageInfo.swift
[153/329] Compiling ArgumentParser UsageGenerator.swift
[154/329] Compiling ArgumentParser CollectionExtensions.swift
[155/329] Compiling ArgumentParser Foundation.swift
[156/329] Emitting module OpenAPIKit30
[157/329] Compiling ArgumentParser CommandConfiguration.swift
[158/329] Compiling ArgumentParser CommandGroup.swift
[159/329] Compiling ArgumentParser EnumerableFlag.swift
[160/329] Compiling ArgumentParser ExpressibleByArgument.swift
[161/329] Compiling ArgumentParser ParsableArguments.swift
[176/329] Emitting module Algorithms
[177/329] Compiling ArgumentParser CommandParser.swift
[178/329] Compiling ArgumentParser InputKey.swift
[179/329] Compiling ArgumentParser InputOrigin.swift
[180/329] Compiling ArgumentParser BashCompletionsGenerator.swift
[191/340] Wrapping AST for Algorithms for debugging
[214/340] Compiling ArgumentParser ParentCommand.swift
[215/340] Compiling ArgumentParser AsyncParsableCommand.swift
[222/341] Emitting module OpenAPIKit
[267/341] Compiling OpenAPIKit30 ResolvedEndpoint.swift
[268/341] Compiling OpenAPIKit30 DereferencedParameter.swift
[269/341] Compiling OpenAPIKit30 DereferencedSchemaContext.swift
[270/341] Compiling OpenAPIKit30 Parameter.swift
[271/341] Compiling OpenAPIKit30 ParameterContext.swift
[272/341] Compiling OpenAPIKit30 ParameterContextLocation.swift
[282/342] Wrapping AST for ArgumentParser for debugging
[284/342] Wrapping AST for OpenAPIKit30 for debugging
[286/342] Compiling OpenAPIKit Optional+ExternallyDereferenceable.swift
[287/342] Compiling OpenAPIKit OrderedDictionary+ExternallyDereferenceable.swift
[288/342] Compiling OpenAPIKit OrderedDictionry+LocallyDereferenceable.swift
[289/342] Compiling OpenAPIKit ReferenceValidations.swift
[290/342] Compiling OpenAPIKit Validation+Builtins.swift
[291/342] Compiling OpenAPIKit Validation.swift
[292/342] Compiling OpenAPIKit Validator+Convenience.swift
[293/342] Compiling OpenAPIKit Validator.swift
[294/342] Compiling OpenAPIKit XML.swift
[295/342] Compiling OpenAPIKit _CoreReExport.swift
[337/343] Wrapping AST for OpenAPIKit for debugging
[339/346] Compiling OpenAPIKitCompat Either+Map.swift
[340/346] Emitting module OpenAPIKitCompat
[341/346] Compiling OpenAPIKitCompat Compat30To31.swift
[342/347] Wrapping AST for OpenAPIKitCompat for debugging
[344/429] Compiling _OpenAPIGeneratorCore ReferenceStack.swift
[345/429] Compiling _OpenAPIGeneratorCore SafeNameGenerator.swift
[346/429] Compiling _OpenAPIGeneratorCore TypeAssigner.swift
[347/429] Compiling _OpenAPIGeneratorCore TypeLocation.swift
[348/429] Compiling _OpenAPIGeneratorCore TypeMatcher.swift
[349/429] Compiling _OpenAPIGeneratorCore TypeName.swift
[350/429] Compiling _OpenAPIGeneratorCore TypeUsage.swift
[351/429] Compiling _OpenAPIGeneratorCore isSchemaSupported.swift
[352/429] Compiling _OpenAPIGeneratorCore TypesFileTranslator.swift
[353/429] Compiling _OpenAPIGeneratorCore translateAPIProtocol.swift
[354/429] Compiling _OpenAPIGeneratorCore translateBoxedTypes.swift
[355/429] Compiling _OpenAPIGeneratorCore ResponseKind.swift
[356/429] Compiling _OpenAPIGeneratorCore TypedResponse.swift
[357/429] Compiling _OpenAPIGeneratorCore TypedResponseHeader.swift
[358/429] Compiling _OpenAPIGeneratorCore acceptHeaderContentTypes.swift
[359/429] Compiling _OpenAPIGeneratorCore translateResponse.swift
[360/429] Compiling _OpenAPIGeneratorCore translateResponseHeader.swift
[361/429] Compiling _OpenAPIGeneratorCore translateResponseOutcome.swift
[362/429] Compiling _OpenAPIGeneratorCore ServerTranslator.swift
[363/429] Compiling _OpenAPIGeneratorCore translateServerMethod.swift
[364/429] Compiling _OpenAPIGeneratorCore TranslatorProtocol.swift
[365/429] Compiling _OpenAPIGeneratorCore Builtins.swift
[366/429] Compiling _OpenAPIGeneratorCore Constants.swift
[367/429] Compiling _OpenAPIGeneratorCore DiscriminatorExtensions.swift
[368/429] Compiling _OpenAPIGeneratorCore SchemaOverrides.swift
[369/429] Compiling _OpenAPIGeneratorCore StructBlueprint.swift
[370/429] Compiling _OpenAPIGeneratorCore CodingStrategy.swift
[371/429] Compiling _OpenAPIGeneratorCore ContentInspector.swift
[372/429] Compiling _OpenAPIGeneratorCore ContentType.swift
[373/429] Compiling _OpenAPIGeneratorCore SchemaContent.swift
[374/429] Compiling _OpenAPIGeneratorCore FileTranslator+FeatureFlags.swift
[375/429] Compiling _OpenAPIGeneratorCore FileTranslator.swift
[376/429] Compiling _OpenAPIGeneratorCore MultipartAdditionalProperties.swift
[377/429] Compiling _OpenAPIGeneratorCore MultipartContent.swift
[378/440] Emitting module _OpenAPIGeneratorCore
[379/440] Compiling _OpenAPIGeneratorCore Config.swift
[380/440] Compiling _OpenAPIGeneratorCore Diagnostics.swift
[381/440] Compiling _OpenAPIGeneratorCore DiagnosticsCollectorProvider.swift
[382/440] Compiling _OpenAPIGeneratorCore Errors.swift
[383/440] Compiling _OpenAPIGeneratorCore Foundation.swift
[384/440] Compiling _OpenAPIGeneratorCore OpenAPIKit.swift
[385/440] Compiling _OpenAPIGeneratorCore String.swift
[386/440] Compiling _OpenAPIGeneratorCore SwiftStandardLibrary.swift
[387/440] Compiling _OpenAPIGeneratorCore FeatureFlags.swift
[388/440] Compiling _OpenAPIGeneratorCore GeneratorMode.swift
[389/440] Compiling _OpenAPIGeneratorCore GeneratorPipeline.swift
[390/440] Compiling _OpenAPIGeneratorCore GeneratorPipelineStage.swift
[391/440] Compiling _OpenAPIGeneratorCore MultipartContentInspector.swift
[392/440] Compiling _OpenAPIGeneratorCore translateMultipart.swift
[393/440] Compiling _OpenAPIGeneratorCore MultiplexTranslator.swift
[394/440] Compiling _OpenAPIGeneratorCore OperationDescription.swift
[395/440] Compiling _OpenAPIGeneratorCore TypedParameter.swift
[396/440] Compiling _OpenAPIGeneratorCore translateParameter.swift
[397/440] Compiling _OpenAPIGeneratorCore DeclarationRecursionDetector.swift
[398/440] Compiling _OpenAPIGeneratorCore RecursionDetector.swift
[399/440] Compiling _OpenAPIGeneratorCore TypedRequestBody.swift
[400/440] Compiling _OpenAPIGeneratorCore translateRequestBody.swift
[401/440] Compiling _OpenAPIGeneratorCore HTTPStatusCodes.swift
[402/440] Compiling _OpenAPIGeneratorCore translateClientMethod.swift
[403/440] Compiling _OpenAPIGeneratorCore translateAllAnyOneOf.swift
[404/440] Compiling _OpenAPIGeneratorCore translateArray.swift
[405/440] Compiling _OpenAPIGeneratorCore translateCodable.swift
[406/440] Compiling _OpenAPIGeneratorCore translateObjectStruct.swift
[407/440] Compiling _OpenAPIGeneratorCore translateRawEnum.swift
[408/440] Compiling _OpenAPIGeneratorCore translateRawRepresentableEnum.swift
[409/440] Compiling _OpenAPIGeneratorCore translateSchema.swift
[410/440] Compiling _OpenAPIGeneratorCore translateStructBlueprint.swift
[411/440] Compiling _OpenAPIGeneratorCore translateTypealias.swift
[412/440] Compiling _OpenAPIGeneratorCore Annotations.swift
[413/440] Compiling _OpenAPIGeneratorCore CommentExtensions.swift
[414/440] Compiling _OpenAPIGeneratorCore translateComponentHeaders.swift
[415/440] Compiling _OpenAPIGeneratorCore translateComponentParameters.swift
[416/440] Compiling _OpenAPIGeneratorCore translateComponentRequestBodies.swift
[417/440] Compiling _OpenAPIGeneratorCore translateComponentResponses.swift
[418/440] Compiling _OpenAPIGeneratorCore translateComponents.swift
[419/440] Compiling _OpenAPIGeneratorCore translateOperations.swift
[420/440] Compiling _OpenAPIGeneratorCore translateSchemas.swift
[421/440] Compiling _OpenAPIGeneratorCore translateServers.swift
[422/440] Compiling _OpenAPIGeneratorCore translateServersVariables.swift
[423/440] Compiling _OpenAPIGeneratorCore TypeOverrides.swift
[424/440] Compiling _OpenAPIGeneratorCore YamlFileDiagnosticsCollector.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 Tool.swift
[440/451] Compiling swift_openapi_generator UserConfig.swift
[441/451] Compiling swift_openapi_generator GenerateOptions.swift
[442/451] Compiling swift_openapi_generator PluginSource.swift
[443/451] Compiling swift_openapi_generator GenerateCommand.swift
[444/451] Emitting module swift_openapi_generator
[445/451] Compiling swift_openapi_generator GenerateOptions+runGenerator.swift
[446/451] Compiling swift_openapi_generator Extensions.swift
[447/451] Compiling swift_openapi_generator FilterCommand.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/27] Compiling _NumericsShims _NumericsShims.c
[5/27] Compiling reader.c
[6/27] Compiling writer.c
[7/27] Compiling api.c
[8/27] Compiling parser.c
[9/27] Compiling emitter.c
[10/27] Compiling scanner.c
[11/27] Write swift-version-24593BA9C3E375BF.txt
[13/58] Emitting module ArgumentParserToolInfo
[14/59] Compiling InternalCollectionsUtilities String+Padding.swift
[15/59] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[16/59] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[17/59] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[18/59] Compiling InternalCollectionsUtilities Span+Extras.swift
[19/59] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[20/59] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[21/61] Compiling HTTPTypes ISOLatin1String.swift
[23/62] Compiling InternalCollectionsUtilities _SortedCollection.swift
[24/62] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[25/62] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[26/62] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[26/62] Wrapping AST for ArgumentParserToolInfo for debugging
[28/62] Emitting module InternalCollectionsUtilities
[29/62] Compiling HTTPTypes HTTPField.swift
[30/62] Compiling HTTPTypes HTTPFieldName.swift
[31/62] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[32/62] Compiling InternalCollectionsUtilities Integer rank.swift
[33/62] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[34/62] Compiling InternalCollectionsUtilities UInt+reversed.swift
[35/62] Compiling HTTPTypes HTTPRequest+URL.swift
[36/62] Emitting module OpenAPIKitCore
[37/63] Emitting module RealModule
[39/65] Compiling HTTPTypes NIOLock.swift
[40/65] Compiling HTTPTypes HTTPParsedFields.swift
[42/65] Compiling HTTPTypes HTTPRequest.swift
[42/65] Wrapping AST for OpenAPIKitCore for debugging
[44/65] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[45/65] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[48/65] Emitting module HTTPTypes
[49/66] Emitting module Yams
[50/67] Compiling HTTPTypes HTTPFields.swift
[51/67] Compiling HTTPTypes HTTPResponse.swift
[52/69] Wrapping AST for RealModule for debugging
[55/71] Wrapping AST for Yams for debugging
[57/171] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[58/171] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[59/171] Compiling OpenAPIRuntime Acceptable.swift
[60/171] Compiling OpenAPIRuntime Base64EncodedData.swift
[61/171] Compiling OpenAPIRuntime ByteUtilities.swift
[62/171] Compiling OpenAPIRuntime Converter+Server.swift
[63/171] Compiling OpenAPIRuntime Converter.swift
[64/171] Compiling OpenAPIRuntime CurrencyExtensions.swift
[65/171] Compiling OpenAPIRuntime ServerError.swift
[66/171] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[67/175] Compiling OpenAPIRuntime ContentDisposition.swift
[68/175] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[69/175] Compiling OpenAPIRuntime Lock.swift
[70/175] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[71/175] Compiling OpenAPIRuntime OpenAPIValue.swift
[72/175] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[73/175] Compiling OpenAPIRuntime CodableExtensions.swift
[74/175] Compiling OpenAPIRuntime Configuration.swift
[75/175] Compiling OpenAPIRuntime Converter+Client.swift
[76/175] Compiling OpenAPIRuntime Converter+Common.swift
[77/175] Compiling OpenAPIRuntime ErrorExtensions.swift
[78/175] Compiling OpenAPIRuntime FoundationExtensions.swift
[79/175] Compiling OpenAPIRuntime ParameterStyles.swift
[80/175] Compiling OpenAPIRuntime ServerVariable.swift
[81/175] Compiling OpenAPIRuntime URLExtensions.swift
[82/175] Compiling OpenAPIRuntime Deprecated.swift
[83/175] Compiling OpenAPIRuntime ClientError.swift
[84/175] Compiling OpenAPIRuntime CodingErrors.swift
[85/175] Compiling OpenAPIRuntime RuntimeError.swift
[86/175] Compiling OpenAPIRuntime UndocumentedPayload.swift
[87/175] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[88/175] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[89/175] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[90/175] Compiling OpenAPIRuntime ServerSentEvents.swift
[91/175] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[92/175] Emitting module ContainersPreview
[93/175] Emitting module ArgumentParser
[94/176] Compiling ContainersPreview Ref.swift
[95/176] Compiling ContainersPreview Shared.swift
[96/176] Compiling ContainersPreview SpanIterator.swift
[97/176] Compiling ContainersPreview UniqueBox.swift
[99/177] Wrapping AST for ArgumentParser for debugging
[101/218] Compiling DequeModule RigidDeque+Equatable.swift
[102/218] Compiling DequeModule RigidDeque+Experimental.swift
[103/218] Compiling DequeModule RigidDeque+Hashable.swift
[104/218] Compiling DequeModule RigidDeque+Initializers.swift
[105/218] Compiling DequeModule RigidDeque+Insertions.swift
[106/218] Compiling DequeModule RigidDeque+Prepend.swift
[107/218] Compiling DequeModule RigidDeque+Removals.swift
[108/218] Compiling DequeModule RigidDeque+Replacements.swift
[109/218] Compiling DequeModule RigidDeque+Testing.swift
[110/218] Compiling DequeModule RigidDeque.swift
[111/218] Compiling DequeModule UniqueDeque+Append.swift
[112/218] Compiling DequeModule UniqueDeque+Consumption.swift
[113/223] Compiling DequeModule UniqueDeque+Container.swift
[114/223] Compiling DequeModule UniqueDeque+Deprecated.swift
[115/223] Compiling DequeModule UniqueDeque+Descriptions.swift
[116/223] Compiling DequeModule UniqueDeque+Equatable.swift
[117/223] Compiling DequeModule UniqueDeque+Experimental.swift
[118/223] Compiling DequeModule UniqueDeque+Hashable.swift
[119/223] Compiling DequeModule UniqueDeque+Initializers.swift
[120/223] Compiling DequeModule UniqueDeque+Insertions.swift
[121/223] Compiling DequeModule UniqueDeque+Prepend.swift
[122/223] Compiling DequeModule UniqueDeque+Removals.swift
[123/223] Compiling DequeModule _DequeBuffer.swift
[124/223] Compiling DequeModule _DequeBufferHeader.swift
[125/223] Compiling DequeModule RigidDeque+Append.swift
[126/223] Compiling DequeModule RigidDeque+Consumption.swift
[127/223] Compiling DequeModule RigidDeque+Container.swift
[128/223] Compiling DequeModule RigidDeque+Descriptions.swift
[129/223] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[130/223] Compiling OpenAPIRuntime URICodeCodingKey.swift
[131/223] Compiling OpenAPIRuntime URICoderConfiguration.swift
[132/223] Compiling OpenAPIRuntime URIEncodedNode.swift
[133/223] Compiling OpenAPIRuntime URIParsedTypes.swift
[134/223] Compiling OpenAPIRuntime URIDecoder.swift
[135/223] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[136/223] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[137/223] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[138/231] Emitting module OpenAPIKit30
[148/232] Compiling DequeModule Deque+Codable.swift
[149/232] Compiling DequeModule Deque+Collection.swift
[150/232] Compiling DequeModule Deque+CustomReflectable.swift
[151/232] Compiling DequeModule Deque+Descriptions.swift
[152/232] Compiling DequeModule Deque+Equatable.swift
[153/232] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[170/232] Compiling DequeModule Deque+Extras.swift
[171/232] Compiling DequeModule Deque+Hashable.swift
[172/232] Compiling DequeModule Deque+Testing.swift
[173/232] Compiling DequeModule Deque._Storage.swift
[174/232] Compiling DequeModule Deque._UnsafeHandle.swift
[175/232] Compiling DequeModule Deque.swift
[176/232] Emitting module OpenAPIRuntime
[176/232] Wrapping AST for OpenAPIKit30 for debugging
[178/232] Emitting module OpenAPIKit
[179/233] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[180/233] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[181/233] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[182/233] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[183/233] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[184/233] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[185/233] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[186/233] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[187/233] Compiling OpenAPIRuntime MultipartValidation.swift
[192/233] Compiling DequeModule UniqueDeque+Replacements.swift
[193/233] Compiling DequeModule UniqueDeque.swift
[194/233] Compiling DequeModule _DequeSlot.swift
[195/233] Compiling DequeModule _UnsafeDequeHandle.swift
[196/233] Compiling DequeModule _UnsafeDequeSegments.swift
[209/233] Wrapping AST for OpenAPIKit for debugging
[211/233] Emitting module Algorithms
[217/235] Wrapping AST for Algorithms for debugging
[219/235] Emitting module OpenAPIKitCompat
[220/236] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[221/236] Compiling OpenAPIRuntime URIEncoder.swift
[222/236] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[223/236] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[224/236] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[225/236] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[226/236] Compiling OpenAPIRuntime URIParser.swift
[227/236] Compiling OpenAPIRuntime URISerializer.swift
[230/237] Emitting module DequeModule
[230/238] Wrapping AST for OpenAPIKitCompat for debugging
[233/246] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[234/246] Compiling OpenAPIURLSession URLSession+Extensions.swift
[235/246] Compiling OpenAPIURLSession URLSessionTransport.swift
[236/246] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[237/246] Compiling OpenAPIURLSession Lock.swift
[238/246] Emitting module OpenAPIURLSession
[239/246] Compiling OpenAPIURLSession BufferedStream.swift
[241/247] Emitting module _OpenAPIGeneratorCore
[242/248] Wrapping AST for _OpenAPIGeneratorCore for debugging
[244/249] Emitting module swift_openapi_generator
[245/250] Wrapping AST for swift-openapi-generator for debugging
[246/250] Write Objects.LinkFileList
[247/250] 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/250] Running swift-openapi-generator
[250/364] Compiling LemmyKit LemmyApi+ResolveCommentReport.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 |
[251/364] Compiling LemmyKit LemmyApi+ResolveObject.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 |
[252/364] 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 |
[253/364] 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 |
[254/364] 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 |
[255/364] 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 |
[256/364] 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 |
[257/364] 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 |
[258/364] 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 |
[259/364] 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 |
[260/364] 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 |
[261/364] 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 |
[262/364] 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 |
[263/364] 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 |
[264/364] 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 |
[265/364] 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 |
[266/380] Compiling LemmyKit LemmyApi+GetModlog.swift
[267/380] Compiling LemmyKit LemmyApi+GetPersonDetails+id.swift
[268/380] Compiling LemmyKit LemmyApi+GetPersonDetails+username.swift
[269/380] Compiling LemmyKit LemmyApi+GetPersonMentions.swift
[270/380] Compiling LemmyKit LemmyApi+GetPost.swift
[271/380] Compiling LemmyKit LemmyApi+GetPosts+Community.swift
[272/380] Compiling LemmyKit LemmyApi+GetPosts+ListingType.swift
[273/380] Compiling LemmyKit LemmyApi+GetPosts.swift
[274/380] Compiling LemmyKit LemmyApi+GetPrivateMessages.swift
[275/380] Compiling LemmyKit LemmyApi+GetRegistrationApplication.swift
[276/380] Compiling LemmyKit LemmyApi+GetReplies.swift
[277/380] Compiling LemmyKit LemmyApi+GetReportCount.swift
[278/380] Compiling LemmyKit LemmyApi+GetSite.swift
[279/380] Compiling LemmyKit LemmyApi+GetSiteMetadata.swift
[280/380] Compiling LemmyKit LemmyApi+GetUnreadCount.swift
[281/380] Compiling LemmyKit LemmyApi+GetUnreadRegistrationApplicationCount.swift
[282/380] Compiling LemmyKit CommentSortType+Identifiable.swift
[283/380] Compiling LemmyKit CommentSortType+allCases.swift
[284/380] Compiling LemmyKit SortType+Identifiable.swift
[285/380] Compiling LemmyKit SortType+allCases.swift
[286/380] Compiling LemmyKit LemmyApi+AddAdmin.swift
[287/380] Compiling LemmyKit LemmyApi+AddModToCommunity.swift
[288/380] Compiling LemmyKit LemmyApi+ApproveRegistrationApplication.swift
[289/380] Compiling LemmyKit LemmyApi+BanFromCommunity.swift
[290/380] Compiling LemmyKit LemmyApi+BanPerson.swift
[291/380] Compiling LemmyKit LemmyApi+BlockCommunity.swift
[292/380] Compiling LemmyKit LemmyApi+BlockInstance.swift
[293/380] Compiling LemmyKit LemmyApi+BlockPerson.swift
[294/380] Compiling LemmyKit LemmyApi+ChangePassword.swift
[295/380] Compiling LemmyKit LemmyApi+CreateComment.swift
[296/380] Compiling LemmyKit LemmyApi+CreateCommentReport.swift
[297/380] Compiling LemmyKit LemmyApi+CreateCommunity.swift
[298/380] Compiling LemmyKit LemmyApi+CreateCustomEmoji.swift
[299/380] Compiling LemmyKit LemmyApi+HideCommunity.swift
[300/380] Compiling LemmyKit LemmyApi+HidePost.swift
[301/380] Compiling LemmyKit LemmyApi+ImportSettings.swift
[302/380] Compiling LemmyKit LemmyApi+LeaveAdmin.swift
[303/380] Compiling LemmyKit LemmyApi+LikeComment.swift
[304/380] Compiling LemmyKit LemmyApi+LikePost.swift
[305/380] Compiling LemmyKit LemmyApi+ListAllMedia.swift
[306/380] Compiling LemmyKit LemmyApi+ListCommentLikes.swift
[307/380] Compiling LemmyKit LemmyApi+ListCommentReports.swift
[308/380] Compiling LemmyKit LemmyApi+ListCommunities.swift
[309/380] Compiling LemmyKit LemmyApi+ListLogins.swift
[310/380] Compiling LemmyKit LemmyApi+ListMedia.swift
[311/380] Compiling LemmyKit LemmyApi+ListPostLikes.swift
[312/380] Compiling LemmyKit LemmyApi+ListPostReports.swift
[313/380] Compiling LemmyKit LemmyApi+ListPrivateMessageReports.swift
[314/380] Compiling LemmyKit LemmyApi+ListRegistrationApplications.swift
[315/380] Compiling LemmyKit LemmyApi+EditSite.swift
[316/380] Compiling LemmyKit LemmyApi+ExportSettings.swift
[317/380] Compiling LemmyKit LemmyApi+FeaturePost.swift
[318/380] Compiling LemmyKit LemmyApi+FollowCommunity.swift
[319/380] Compiling LemmyKit LemmyApi+GenerateTotpSecret.swift
[320/380] Compiling LemmyKit LemmyApi+GetBannedPersons.swift
[321/380] Compiling LemmyKit LemmyApi+GetCaptcha.swift
[322/380] Compiling LemmyKit LemmyApi+GetComment.swift
[323/380] Compiling LemmyKit LemmyApi+GetComments+Community.swift
[324/380] Compiling LemmyKit LemmyApi+GetComments+ListingType.swift
[325/380] Compiling LemmyKit LemmyApi+GetComments+Parent.swift
[326/380] Compiling LemmyKit LemmyApi+GetComments+Post.swift
[327/380] Compiling LemmyKit LemmyApi+GetComments.swift
[328/380] Compiling LemmyKit LemmyApi+GetCommunity.swift
[329/380] Compiling LemmyKit LemmyApi+GetFederatedInstances.swift
[330/380] Compiling LemmyKit LemmyApi+GetImage.swift
[331/380] Compiling LemmyKit LemmyApi+CreatePost.swift
[332/380] Compiling LemmyKit LemmyApi+CreatePostReport.swift
[333/380] Compiling LemmyKit LemmyApi+CreatePrivateMessage.swift
[334/380] Compiling LemmyKit LemmyApi+CreateSite.swift
[335/380] Compiling LemmyKit LemmyApi+DeleteAccount.swift
[336/380] Compiling LemmyKit LemmyApi+DeleteComment.swift
[337/380] Compiling LemmyKit LemmyApi+DeleteCommunity.swift
[338/380] Compiling LemmyKit LemmyApi+DeleteCustomEmoji.swift
[339/380] Compiling LemmyKit LemmyApi+DeleteImage.swift
[340/380] Compiling LemmyKit LemmyApi+DeletePost.swift
[341/380] Compiling LemmyKit LemmyApi+DeletePrivateMessage.swift
[342/380] Compiling LemmyKit LemmyApi+DistinguishComment.swift
[343/380] Compiling LemmyKit LemmyApi+EditComment.swift
[344/380] Compiling LemmyKit LemmyApi+EditCommunity.swift
[345/380] Compiling LemmyKit LemmyApi+EditCustomEmoji.swift
[346/380] Compiling LemmyKit LemmyApi+EditPost.swift
[347/380] Compiling LemmyKit LemmyApi+EditPrivateMessage.swift
[348/380] Compiling LemmyKit LemmyApi+LockPost.swift
[349/380] Compiling LemmyKit LemmyApi+Login.swift
[350/380] Compiling LemmyKit LemmyApi+Logout.swift
[351/380] Compiling LemmyKit LemmyApi+MarkAsRead.swift
[352/380] Compiling LemmyKit LemmyApi+MarkPostAsRead.swift
[353/380] Compiling LemmyKit LemmyApi+PasswordChangeAfterReset.swift
[354/380] Compiling LemmyKit LemmyApi+PasswordReset.swift
[355/380] Compiling LemmyKit LemmyApi+PurgeComment.swift
[356/380] Compiling LemmyKit LemmyApi+PurgeCommunity.swift
[357/380] Compiling LemmyKit LemmyApi+PurgePerson.swift
[358/380] Compiling LemmyKit LemmyApi+PurgePost.swift
[359/380] Compiling LemmyKit LemmyApi+Register.swift
[360/380] Compiling LemmyKit LemmyApi+RemoveComment.swift
[361/380] Compiling LemmyKit LemmyApi+RemoveCommunity.swift
[362/380] Compiling LemmyKit LemmyApi+RemovePost.swift
[363/380] Compiling LemmyKit LemmyApi+ReportPrivateMessage.swift
[364/380] Emitting module LemmyKit
[365/380] Compiling LemmyKit LemmyCredential.swift
[366/380] Compiling LemmyKit AuthorizationMiddleware.swift
[367/380] Compiling LemmyKit CommentPath.swift
[368/380] Compiling LemmyKit CommunityFilter.swift
[369/380] Compiling LemmyKit ContentFilter.swift
[370/380] Compiling LemmyKit Date+lemmyFormat.swift
[371/380] Compiling LemmyKit ImageFormat.swift
[372/380] Compiling LemmyKit LemmyDateTranscoder.swift
[373/380] Compiling LemmyKit LenientUrl.swift
[374/380] Compiling LemmyKit LikeStatus.swift
[375/380] Compiling LemmyKit MultipartFormData.swift
[376/380] Compiling LemmyKit URL+lenientString.swift
[377/380] Compiling LemmyKit UserAgentMiddleware.swift
[378/380] Compiling LemmyKit Types.swift
[379/380] Compiling LemmyKit Client.swift
[380/380] Compiling LemmyKit Server.swift
BUILD FAILURE 6.1 android