The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LemmyKit, reference main (93cc81), with Swift 6.2 for Android on 25 Jul 2026 12:48:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shadone/LemmyKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/shadone/LemmyKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 93cc816 docs: CLAUDE.md — parent-scoped comment fetch now bakes in a 50-item page limit
Submodule path 'Lemmy-OpenAPI-Spec': checked out 'e0b80a53371649316e239869918cd99321c71815'
Submodule 'Lemmy-OpenAPI-Spec' (https://github.com/shadone/Lemmy-OpenAPI-Spec) registered for path 'Lemmy-OpenAPI-Spec'
Cloning into '/host/spi-builder-workspace/Lemmy-OpenAPI-Spec'...
Cloned https://github.com/shadone/LemmyKit.git
Revision (git rev-parse @):
93cc816c9426ab553dadc90ddf0a4f898722efe7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/shadone/LemmyKit.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/shadone/LemmyKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:3f0849bce0d177c252f57ff0847fffe59d625aee973279c71a52a43c740d3c90
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/apple/swift-openapi-urlsession
Fetching https://github.com/apple/swift-openapi-generator
[1/1168] Fetching swift-openapi-urlsession
[1169/7908] Fetching swift-openapi-urlsession, swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.51s)
[1/17935] Fetching swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-urlsession from cache (0.77s)
Fetched https://github.com/apple/swift-openapi-generator from cache (0.77s)
Computing version for https://github.com/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.3.1 (1.68s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-http-types
[1/1225] Fetching swift-http-types
[1226/27658] Fetching swift-http-types, swift-collections
Fetched https://github.com/apple/swift-http-types from cache (1.03s)
Fetched https://github.com/apple/swift-collections from cache (1.04s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.0 (1.20s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.6.0 (0.15s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.23s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.13.0 (0.20s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
[1/11847] Fetching yams
[2/17940] Fetching yams, swift-algorithms
[1274/36155] Fetching yams, swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.67s)
[12017/17940] Fetching yams, swift-algorithms
[14980/179396] Fetching yams, swift-algorithms, openapikit
Fetched https://github.com/jpsim/Yams from cache (1.05s)
[23854/167549] Fetching swift-algorithms, openapikit
Fetched https://github.com/apple/swift-algorithms from cache (3.62s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (3.68s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.2.0 (3.84s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.85s)
Fetching https://github.com/apple/swift-numerics.git
[1/6441] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.61s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.13s)
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 6.2.0
Creating working copy for https://github.com/apple/swift-openapi-urlsession
Working copy of https://github.com/apple/swift-openapi-urlsession resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.6.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-openapi-generator
Working copy of https://github.com/apple/swift-openapi-generator resolved at 1.13.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
[0/32] Write sources
[11/32] Compiling _NumericsShims _NumericsShims.c
[12/32] Compiling writer.c
[13/32] Compiling reader.c
[14/32] Compiling parser.c
[15/32] Write swift-version--11D90AFD9DD3AB2.txt
[16/32] Compiling api.c
[17/32] Compiling emitter.c
[18/61] Compiling scanner.c
[20/98] Compiling RealModule RealFunctions.swift
[21/99] Compiling RealModule Real.swift
[22/99] Compiling RealModule RelaxedArithmetic.swift
[23/99] Compiling RealModule Float80+Real.swift
[24/99] Compiling Yams Tag.swift
[25/99] Compiling Yams YamlAnchorProviding.swift
[26/101] Compiling RealModule Float16+Real.swift
[27/101] Compiling Yams Node.Alias.swift
[28/101] Compiling Yams Node.Mapping.swift
[29/101] Compiling Yams Constructor.swift
[30/101] Compiling Yams Mark.swift
[31/101] Emitting module OpenAPIKitCore
[32/105] Emitting module RealModule
[33/105] Compiling Yams AliasDereferencingStrategy.swift
[34/105] Compiling Yams Anchor.swift
[35/106] Compiling Yams Node.swift
[36/106] Compiling Yams Resolver.swift
[37/106] Compiling Yams String+Yams.swift
[39/106] Wrapping AST for RealModule for debugging
[41/131] Compiling ArgumentParserToolInfo ToolInfo.swift
[42/131] Emitting module ArgumentParserToolInfo
[43/132] Wrapping AST for ArgumentParserToolInfo for debugging
[45/179] Compiling ArgumentParser ParentCommand.swift
[46/179] Compiling ArgumentParser AsyncParsableCommand.swift
[47/179] Compiling ArgumentParser CommandConfiguration.swift
[48/182] Compiling ArgumentParser CollectionExtensions.swift
[49/182] Compiling ArgumentParser Foundation.swift
[50/182] Compiling ArgumentParser Name.swift
[51/182] Compiling ArgumentParser Parsed.swift
[52/182] Compiling ArgumentParser HelpCommand.swift
[53/182] Compiling ArgumentParser HelpGenerator.swift
[54/182] Compiling ArgumentParser MessageInfo.swift
[55/182] Compiling ArgumentParser UsageGenerator.swift
[56/182] Compiling ArgumentParser ParsableCommand.swift
[57/182] Compiling ArgumentParser ArgumentDecoder.swift
[58/182] Compiling ArgumentParser ArgumentDefinition.swift
[59/182] Compiling ArgumentParser ArgumentSet.swift
[60/182] Compiling ArgumentParser CommandParser.swift
[61/182] Compiling ArgumentParser InputKey.swift
[62/182] Compiling ArgumentParser InputOrigin.swift
[63/182] Compiling ArgumentParser ArgumentVisibility.swift
[64/182] Compiling ArgumentParser CompletionKind.swift
[65/182] Compiling ArgumentParser Errors.swift
[66/182] Compiling ArgumentParser ArgumentDiscussion.swift
[67/182] Compiling ArgumentParser ArgumentHelp.swift
[68/182] Compiling ArgumentParser CompletionsGenerator.swift
[69/182] Compiling ArgumentParser FishCompletionsGenerator.swift
[70/182] Compiling ArgumentParser Option.swift
[71/182] Compiling ArgumentParser OptionGroup.swift
[72/182] Compiling ArgumentParser BashCompletionsGenerator.swift
[74/182] Compiling Algorithms Trim.swift
[75/182] Compiling Algorithms Unique.swift
[76/182] Compiling Algorithms Windows.swift
[77/182] Compiling ArgumentParser ParsableArguments.swift
[78/182] Compiling ArgumentParser Flag.swift
[79/182] Compiling ArgumentParser NameSpecification.swift
[91/182] Compiling ArgumentParser Argument.swift
[102/183] Emitting module Yams
[107/184] Compiling ArgumentParser ZshCompletionsGenerator.swift
[110/184] Wrapping AST for OpenAPIKitCore for debugging
[111/184] Wrapping AST for Yams for debugging
[113/325] Compiling OpenAPIKit PathDecodingError.swift
[114/325] Compiling OpenAPIKit ResponseDecodingError.swift
[115/325] Compiling OpenAPIKit Example.swift
[116/325] Compiling OpenAPIKit DereferencedContent.swift
[117/325] Compiling OpenAPIKit DereferencedContentEncoding.swift
[118/325] Compiling OpenAPIKit DereferencedContentPositionalEncoding.swift
[119/325] Compiling OpenAPIKit Discriminator.swift
[120/325] Compiling OpenAPIKit Components.swift
[121/325] Compiling OpenAPIKit Content.swift
[122/325] Compiling OpenAPIKit ContentEncoding.swift
[123/325] Compiling OpenAPIKit ContentPositionalEncoding.swift
[124/325] Compiling OpenAPIKit DereferencedParameter.swift
[125/325] Compiling OpenAPIKit DereferencedSchemaContext.swift
[126/325] Compiling OpenAPIKit Parameter.swift
[127/325] Compiling OpenAPIKit ParameterContext.swift
[128/325] Compiling OpenAPIKit ParameterContextLocation.swift
[129/325] Compiling OpenAPIKit ParameterSchemaContext.swift
[130/331] Compiling OpenAPIKit Callbacks.swift
[131/331] Compiling OpenAPIKit CodableVendorExtendable.swift
[132/331] Compiling OpenAPIKit Components+JSONReference.swift
[133/331] Compiling OpenAPIKit Components+Locatable.swift
[134/331] Compiling OpenAPIKit Link.swift
[135/331] Compiling OpenAPIKit OpenAPI.swift
[136/331] Compiling OpenAPIKit OpenAPIConditionalWarnings.swift
[137/331] Compiling OpenAPIKit DereferencedOperation.swift
[138/331] Compiling OpenAPIKit Operation.swift
[139/331] Compiling OpenAPIKit ResolvedEndpoint.swift
[140/331] Compiling OpenAPIKit ExternalDocumentation.swift
[141/331] Compiling OpenAPIKit ExternalLoader.swift
[142/331] Compiling OpenAPIKit DereferencedHeader.swift
[143/331] Compiling OpenAPIKit Header.swift
[144/331] Compiling OpenAPIKit JSONReference+URIResolution.swift
[145/331] Compiling OpenAPIKit JSONReference.swift
[146/331] Emitting module ArgumentParser
[147/331] Compiling OpenAPIKit JSONSchema+Combining.swift
[148/331] Compiling OpenAPIKit JSONSchema.swift
[149/331] Compiling OpenAPIKit JSONSchemaContext.swift
[150/331] Compiling OpenAPIKit SimplifiedJSONSchema.swift
[151/331] Compiling OpenAPIKit TypesAndFormats.swift
[152/331] Compiling OpenAPIKit DereferencedSecurityRequirement.swift
[153/331] Compiling OpenAPIKit OAuthFlows.swift
[154/331] Compiling OpenAPIKit SecurityScheme.swift
[155/331] Compiling OpenAPIKit Server.swift
[156/340] Compiling ArgumentParser AsyncCompletionsValidator.swift
[157/340] Compiling ArgumentParser CodingKeyValidator.swift
[158/340] Compiling ArgumentParser NonsenseFlagsValidator.swift
[159/340] Compiling ArgumentParser ParsableArgumentsValidation.swift
[160/340] Compiling ArgumentParser PositionalArgumentsValidator.swift
[161/340] Compiling ArgumentParser UniqueNamesValidator.swift
[162/340] Emitting module OpenAPIKit
[163/350] Emitting module Algorithms
[164/351] Wrapping AST for Algorithms for debugging
[166/351] Compiling OpenAPIKit Document.swift
[167/351] Compiling OpenAPIKit DocumentInfo.swift
[168/351] Compiling OpenAPIKit ResolvedDocument.swift
[169/351] Compiling OpenAPIKit Either+Convenience.swift
[170/351] Compiling OpenAPIKit Either+ExternallyDereferenceable.swift
[171/351] Compiling OpenAPIKit Either+LocallyDereferenceable.swift
[172/351] Compiling OpenAPIKit Either+Summarizable.swift
[173/351] Compiling OpenAPIKit Either+Validatable.swift
[174/351] Compiling OpenAPIKit DocumentDecodingError.swift
[175/351] Compiling OpenAPIKit OperationDecodingError.swift
[179/351] Compiling OpenAPIKit ExampleValue.swift
[185/351] Compiling OpenAPIKit DereferencedDocument.swift
[186/351] Compiling OpenAPIKit Document+URIResolution.swift
[200/352] Compiling OpenAPIKit30 Optional+ExternallyDereferenceable.swift
[201/352] Compiling OpenAPIKit30 OrderedDictionary+ExternallyDereferenceable.swift
[202/352] Compiling OpenAPIKit30 OrderedDictionry+LocallyDereferenceable.swift
[203/352] Compiling OpenAPIKit30 Validation+Builtins.swift
[204/352] Compiling OpenAPIKit30 Validation.swift
[204/352] Wrapping AST for ArgumentParser for debugging
[215/352] Emitting module OpenAPIKit30
[221/352] Compiling OpenAPIKit Optional+ExternallyDereferenceable.swift
[222/352] Compiling OpenAPIKit OrderedDictionary+ExternallyDereferenceable.swift
[223/352] Compiling OpenAPIKit OrderedDictionry+LocallyDereferenceable.swift
[224/352] Compiling OpenAPIKit ReferenceValidations.swift
[271/352] Compiling OpenAPIKit Validation+Builtins.swift
[272/352] Compiling OpenAPIKit Validation.swift
[273/352] Compiling OpenAPIKit Validator+Convenience.swift
[274/352] Compiling OpenAPIKit Validator.swift
[275/352] Compiling OpenAPIKit XML.swift
[276/352] Compiling OpenAPIKit _CoreReExport.swift
[290/352] Compiling OpenAPIKit DereferencedResponse.swift
[291/352] Compiling OpenAPIKit Response.swift
[292/352] Compiling OpenAPIKit RuntimeExpression.swift
[293/352] Compiling OpenAPIKit SchemaProtocols.swift
[294/352] Compiling OpenAPIKit SwiftPrimitiveTypes+OpenAPI.swift
[295/352] Compiling OpenAPIKit DereferencedJSONSchema.swift
[326/353] Wrapping AST for OpenAPIKit30 for debugging
[348/354] Wrapping AST for OpenAPIKit for debugging
[350/357] Compiling OpenAPIKitCompat Either+Map.swift
[351/357] Emitting module OpenAPIKitCompat
[352/357] Compiling OpenAPIKitCompat Compat30To31.swift
[353/358] Wrapping AST for OpenAPIKitCompat for debugging
[355/440] Compiling _OpenAPIGeneratorCore Config.swift
[356/440] Compiling _OpenAPIGeneratorCore Diagnostics.swift
[357/440] Compiling _OpenAPIGeneratorCore DiagnosticsCollectorProvider.swift
[358/440] Compiling _OpenAPIGeneratorCore Errors.swift
[359/440] Compiling _OpenAPIGeneratorCore Foundation.swift
[360/440] Compiling _OpenAPIGeneratorCore OpenAPIKit.swift
[361/440] Compiling _OpenAPIGeneratorCore String.swift
[362/440] Compiling _OpenAPIGeneratorCore SwiftStandardLibrary.swift
[363/440] Compiling _OpenAPIGeneratorCore FeatureFlags.swift
[364/440] Compiling _OpenAPIGeneratorCore GeneratorMode.swift
[365/440] Compiling _OpenAPIGeneratorCore GeneratorPipeline.swift
[366/440] Compiling _OpenAPIGeneratorCore GeneratorPipelineStage.swift
[367/440] Emitting module _OpenAPIGeneratorCore
[368/451] Compiling _OpenAPIGeneratorCore ReferenceStack.swift
[369/451] Compiling _OpenAPIGeneratorCore SafeNameGenerator.swift
[370/451] Compiling _OpenAPIGeneratorCore TypeAssigner.swift
[371/451] Compiling _OpenAPIGeneratorCore TypeLocation.swift
[372/451] Compiling _OpenAPIGeneratorCore TypeMatcher.swift
[373/451] Compiling _OpenAPIGeneratorCore TypeName.swift
[374/451] Compiling _OpenAPIGeneratorCore TypeUsage.swift
[375/451] Compiling _OpenAPIGeneratorCore isSchemaSupported.swift
[376/451] Compiling _OpenAPIGeneratorCore TypesFileTranslator.swift
[377/451] Compiling _OpenAPIGeneratorCore translateAPIProtocol.swift
[378/451] Compiling _OpenAPIGeneratorCore translateBoxedTypes.swift
[379/451] Compiling _OpenAPIGeneratorCore translateClientMethod.swift
[380/451] Compiling _OpenAPIGeneratorCore translateAllAnyOneOf.swift
[381/451] Compiling _OpenAPIGeneratorCore translateArray.swift
[382/451] Compiling _OpenAPIGeneratorCore translateCodable.swift
[383/451] Compiling _OpenAPIGeneratorCore translateObjectStruct.swift
[384/451] Compiling _OpenAPIGeneratorCore translateRawEnum.swift
[385/451] Compiling _OpenAPIGeneratorCore translateRawRepresentableEnum.swift
[386/451] Compiling _OpenAPIGeneratorCore translateSchema.swift
[387/451] Compiling _OpenAPIGeneratorCore translateStructBlueprint.swift
[388/451] Compiling _OpenAPIGeneratorCore translateTypealias.swift
[389/451] Compiling _OpenAPIGeneratorCore Annotations.swift
[390/451] Compiling _OpenAPIGeneratorCore CommentExtensions.swift
[391/451] Compiling _OpenAPIGeneratorCore Constants.swift
[392/451] Compiling _OpenAPIGeneratorCore DiscriminatorExtensions.swift
[393/451] Compiling _OpenAPIGeneratorCore SchemaOverrides.swift
[394/451] Compiling _OpenAPIGeneratorCore StructBlueprint.swift
[395/451] Compiling _OpenAPIGeneratorCore CodingStrategy.swift
[396/451] Compiling _OpenAPIGeneratorCore ContentInspector.swift
[397/451] Compiling _OpenAPIGeneratorCore ContentType.swift
[398/451] Compiling _OpenAPIGeneratorCore SchemaContent.swift
[399/451] Compiling _OpenAPIGeneratorCore FileTranslator+FeatureFlags.swift
[400/451] Compiling _OpenAPIGeneratorCore FileTranslator.swift
[401/451] Compiling _OpenAPIGeneratorCore MultipartAdditionalProperties.swift
[402/451] Compiling _OpenAPIGeneratorCore MultipartContent.swift
[403/451] Compiling _OpenAPIGeneratorCore translateComponentHeaders.swift
[404/451] Compiling _OpenAPIGeneratorCore translateComponentParameters.swift
[405/451] Compiling _OpenAPIGeneratorCore translateComponentRequestBodies.swift
[406/451] Compiling _OpenAPIGeneratorCore translateComponentResponses.swift
[407/451] Compiling _OpenAPIGeneratorCore translateComponents.swift
[408/451] Compiling _OpenAPIGeneratorCore translateOperations.swift
[409/451] Compiling _OpenAPIGeneratorCore translateSchemas.swift
[410/451] Compiling _OpenAPIGeneratorCore translateServers.swift
[411/451] Compiling _OpenAPIGeneratorCore translateServersVariables.swift
[412/451] Compiling _OpenAPIGeneratorCore TypeOverrides.swift
[413/451] Compiling _OpenAPIGeneratorCore YamlFileDiagnosticsCollector.swift
[414/451] Compiling _OpenAPIGeneratorCore ResponseKind.swift
[415/451] Compiling _OpenAPIGeneratorCore TypedResponse.swift
[416/451] Compiling _OpenAPIGeneratorCore TypedResponseHeader.swift
[417/451] Compiling _OpenAPIGeneratorCore acceptHeaderContentTypes.swift
[418/451] Compiling _OpenAPIGeneratorCore translateResponse.swift
[419/451] Compiling _OpenAPIGeneratorCore translateResponseHeader.swift
[420/451] Compiling _OpenAPIGeneratorCore translateResponseOutcome.swift
[421/451] Compiling _OpenAPIGeneratorCore ServerTranslator.swift
[422/451] Compiling _OpenAPIGeneratorCore translateServerMethod.swift
[423/451] Compiling _OpenAPIGeneratorCore TranslatorProtocol.swift
[424/451] Compiling _OpenAPIGeneratorCore Builtins.swift
[425/451] Compiling _OpenAPIGeneratorCore MultipartContentInspector.swift
[426/451] Compiling _OpenAPIGeneratorCore translateMultipart.swift
[427/451] Compiling _OpenAPIGeneratorCore MultiplexTranslator.swift
[428/451] Compiling _OpenAPIGeneratorCore OperationDescription.swift
[429/451] Compiling _OpenAPIGeneratorCore TypedParameter.swift
[430/451] Compiling _OpenAPIGeneratorCore translateParameter.swift
[431/451] Compiling _OpenAPIGeneratorCore DeclarationRecursionDetector.swift
[432/451] Compiling _OpenAPIGeneratorCore RecursionDetector.swift
[433/451] Compiling _OpenAPIGeneratorCore TypedRequestBody.swift
[434/451] Compiling _OpenAPIGeneratorCore translateRequestBody.swift
[435/451] Compiling _OpenAPIGeneratorCore HTTPStatusCodes.swift
[436/451] Compiling _OpenAPIGeneratorCore DocumentFilter.swift
[437/451] Compiling _OpenAPIGeneratorCore FilteredDocument.swift
[438/451] Compiling _OpenAPIGeneratorCore ParsedOpenAPIRepresentation.swift
[439/451] Compiling _OpenAPIGeneratorCore RenderedSwiftRepresentation.swift
[440/451] Compiling _OpenAPIGeneratorCore StructuredSwiftRepresentation.swift
[441/451] Compiling _OpenAPIGeneratorCore ParserProtocol.swift
[442/451] Compiling _OpenAPIGeneratorCore YamsParser.swift
[443/451] Compiling _OpenAPIGeneratorCore validateDoc.swift
[444/451] Compiling _OpenAPIGeneratorCore PlatformChecks.swift
[445/451] Compiling _OpenAPIGeneratorCore RendererProtocol.swift
[446/451] Compiling _OpenAPIGeneratorCore TextBasedRenderer.swift
[447/451] Compiling _OpenAPIGeneratorCore ClientTranslator.swift
[448/452] Wrapping AST for _OpenAPIGeneratorCore for debugging
[450/461] Compiling swift_openapi_generator PluginSource.swift
[451/462] Compiling swift_openapi_generator Tool.swift
[452/462] Compiling swift_openapi_generator UserConfig.swift
[453/462] Compiling swift_openapi_generator GenerateOptions+runGenerator.swift
[454/462] Compiling swift_openapi_generator Extensions.swift
[455/462] Compiling swift_openapi_generator FilterCommand.swift
[456/462] Compiling swift_openapi_generator GenerateOptions.swift
[457/462] Compiling swift_openapi_generator GenerateCommand.swift
[458/462] Emitting module swift_openapi_generator
[459/462] Compiling swift_openapi_generator runGenerator.swift
[460/463] Wrapping AST for swift-openapi-generator for debugging
[461/463] Write Objects.LinkFileList
[462/463] Linking swift-openapi-generator-tool
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/46] Write sources
[15/46] Compiling _NumericsShims _NumericsShims.c
[15/46] Write sources
[22/46] Compiling writer.c
[23/46] Compiling reader.c
[24/46] Write swift-version--11D90AFD9DD3AB2.txt
[25/46] Compiling parser.c
[26/46] Compiling api.c
[27/73] Wrapping AST for ArgumentParserToolInfo for debugging
[28/73] Compiling emitter.c
[29/73] Compiling scanner.c
[30/73] Wrapping AST for RealModule for debugging
[31/73] Wrapping AST for OpenAPIKitCore for debugging
[32/73] Wrapping AST for Algorithms for debugging
[33/73] Wrapping AST for Yams for debugging
[34/73] Wrapping AST for ArgumentParser for debugging
[35/73] Wrapping AST for OpenAPIKit for debugging
[36/73] Wrapping AST for OpenAPIKit30 for debugging
[37/73] Wrapping AST for OpenAPIKitCompat for debugging
[38/73] Wrapping AST for _OpenAPIGeneratorCore for debugging
[39/73] Wrapping AST for swift-openapi-generator for debugging
[40/73] Write Objects.LinkFileList
[41/73] Linking swift-openapi-generator-tool
[43/73] Emitting module HTTPTypes
[44/74] Compiling InternalCollectionsUtilities String+Padding.swift
[45/74] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[46/76] Compiling InternalCollectionsUtilities _SortedCollection.swift
[47/76] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[48/76] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[49/76] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[50/76] Compiling InternalCollectionsUtilities Span+Extras.swift
[51/76] Compiling InternalCollectionsUtilities Integer rank.swift
[52/76] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[53/76] Compiling InternalCollectionsUtilities UInt+reversed.swift
[54/76] Emitting module InternalCollectionsUtilities
[55/76] Compiling InternalCollectionsUtilities Debugging.swift
[56/76] Compiling InternalCollectionsUtilities Descriptions.swift
[57/76] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[58/76] Compiling HTTPTypes HTTPResponse.swift
[59/76] Compiling HTTPTypes NIOLock.swift
[60/76] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[61/76] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[62/76] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[63/76] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[64/76] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[65/76] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[66/77] Compiling HTTPTypes HTTPRequest.swift
[67/77] Compiling HTTPTypes ISOLatin1String.swift
[69/113] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[70/113] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[71/113] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[72/113] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[73/113] Compiling ContainersPreview BorrowingSequence+Algorithms.swift
[74/117] Compiling ContainersPreview Drain+Map.swift
[75/117] Compiling ContainersPreview Drain+Reduce.swift
[76/117] Compiling ContainersPreview Drain.swift
[77/117] Compiling ContainersPreview Producer+Collect.swift
[78/117] Compiling ContainersPreview Producer+Filter.swift
[79/117] Compiling ContainersPreview Producer+Map.swift
[80/117] Compiling ContainersPreview Producer+Reduce.swift
[81/117] Compiling ContainersPreview Producer.swift
[82/117] Compiling ContainersPreview InputSpan.swift
[83/117] Compiling ContainersPreview MutableRef.swift
[84/117] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[85/117] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[86/117] Compiling ContainersPreview BorrowingSequence.swift
[87/117] Compiling ContainersPreview BidirectionalContainer.swift
[88/117] Compiling ContainersPreview Container+Filter.swift
[89/117] Emitting module ContainersPreview
[90/117] Compiling ContainersPreview PermutableContainer.swift
[91/117] Compiling ContainersPreview RandomAccessContainer.swift
[92/117] Compiling ContainersPreview RangeExpression2.swift
[93/117] Compiling ContainersPreview RangeReplaceableContainer.swift
[94/117] Compiling ContainersPreview Strideable+Limits.swift
[95/117] Compiling ContainersPreview Container+SpanwiseZip.swift
[96/117] Compiling ContainersPreview Container.swift
[97/117] Compiling ContainersPreview ContainerIterator.swift
[98/117] Compiling ContainersPreview DynamicContainer.swift
[99/117] Compiling ContainersPreview MutableContainer.swift
[100/117] Compiling ContainersPreview OutputSpan+Extras.swift
[101/117] Compiling ContainersPreview TemporaryAllocation.swift
[102/117] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[103/117] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[104/117] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[105/117] Compiling ContainersPreview Ref.swift
[106/117] Compiling ContainersPreview Shared.swift
[107/117] Compiling ContainersPreview SpanIterator.swift
[108/117] Compiling ContainersPreview UniqueBox.swift
[110/159] Compiling DequeModule RigidDeque+Equatable.swift
[111/159] Compiling DequeModule RigidDeque+Experimental.swift
[112/159] Compiling DequeModule RigidDeque+Hashable.swift
[113/159] Compiling DequeModule RigidDeque+Initializers.swift
[114/159] Compiling DequeModule RigidDeque+Insertions.swift
[115/159] Compiling DequeModule RigidDeque+Prepend.swift
[116/164] Compiling DequeModule _DequeBuffer.swift
[117/164] Compiling DequeModule _DequeBufferHeader.swift
[118/164] Compiling DequeModule RigidDeque+Append.swift
[119/164] Compiling DequeModule RigidDeque+Consumption.swift
[120/164] Compiling DequeModule RigidDeque+Container.swift
[121/164] Compiling DequeModule RigidDeque+Descriptions.swift
[122/164] Compiling DequeModule RigidDeque+Removals.swift
[123/164] Compiling DequeModule RigidDeque+Replacements.swift
[124/164] Compiling DequeModule RigidDeque+Testing.swift
[125/164] Compiling DequeModule RigidDeque.swift
[126/164] Compiling DequeModule UniqueDeque+Append.swift
[127/164] Compiling DequeModule UniqueDeque+Consumption.swift
[128/164] Compiling DequeModule UniqueDeque+Container.swift
[129/164] Compiling DequeModule UniqueDeque+Deprecated.swift
[130/164] Compiling DequeModule UniqueDeque+Descriptions.swift
[131/164] Compiling DequeModule UniqueDeque+Equatable.swift
[132/164] Compiling DequeModule UniqueDeque+Experimental.swift
[133/164] Compiling DequeModule UniqueDeque+Hashable.swift
[134/164] Compiling DequeModule UniqueDeque+Initializers.swift
[135/164] Compiling DequeModule UniqueDeque+Insertions.swift
[136/164] Compiling DequeModule UniqueDeque+Prepend.swift
[137/164] Compiling DequeModule UniqueDeque+Removals.swift
[138/164] Compiling DequeModule Deque+Extras.swift
[139/164] Compiling DequeModule Deque+Hashable.swift
[140/164] Compiling DequeModule Deque+Testing.swift
[141/164] Compiling DequeModule Deque._Storage.swift
[142/164] Compiling DequeModule Deque._UnsafeHandle.swift
[143/164] Compiling DequeModule Deque.swift
[144/164] Compiling HTTPTypes HTTPParsedFields.swift
[145/164] Compiling HTTPTypes HTTPRequest+URL.swift
[146/164] Compiling DequeModule Deque+Codable.swift
[147/164] Compiling DequeModule Deque+Collection.swift
[148/164] Compiling DequeModule Deque+CustomReflectable.swift
[149/164] Compiling DequeModule Deque+Descriptions.swift
[150/164] Compiling DequeModule Deque+Equatable.swift
[151/164] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
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>Writing data to file Client.swift...
Writing data to file Types.swift...
Writing data to file Server.swift...
[151/164] Running swift-openapi-generator
[152/164] Write sources
[156/164] Compiling HTTPTypes HTTPFields.swift
[157/165] Emitting module DequeModule
[158/165] Compiling DequeModule UniqueDeque+Replacements.swift
[159/165] Compiling DequeModule UniqueDeque.swift
[160/165] Compiling DequeModule _DequeSlot.swift
[161/165] Compiling DequeModule _UnsafeDequeHandle.swift
[162/165] Compiling DequeModule _UnsafeDequeSegments.swift
Swift OpenAPI Generator is running with the following configuration:
- OpenAPI document path: /host/spi-builder-workspace/Sources/LemmyKitV4Generated/openapi.yaml
- Configuration path: /host/spi-builder-workspace/Sources/LemmyKitV4Generated/openapi-generator-config.yaml
- Generator modes: types, client
- Access modifier: package
- Naming strategy: defensive
- Name overrides: <none>
- Type overrides: <none>
- Feature flags: <none>
- Output file names: Types.swift, Client.swift
- Output directory: /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/LemmyKitV4Generated/destination/OpenAPIGenerator/GeneratedSources
- Diagnostics output path: <none - logs to stderr>
- Current directory: /host/spi-builder-workspace
- Plugin source: build
- Is dry run: false
- Additional imports: <none>
- Additional file comments: <none>Writing data to file Client.swift...
Writing data to file Types.swift...
Writing data to file Server.swift...
[164/230] Running swift-openapi-generator
[165/230] Write sources
[167/230] Emitting module OpenAPIRuntime
[168/238] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[169/238] Compiling OpenAPIRuntime URICodeCodingKey.swift
[170/238] Compiling OpenAPIRuntime URICoderConfiguration.swift
[171/238] Compiling OpenAPIRuntime URIEncodedNode.swift
[172/238] Compiling OpenAPIRuntime URIParsedTypes.swift
[173/238] Compiling OpenAPIRuntime URIDecoder.swift
[174/238] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[175/238] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[176/238] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[177/238] Compiling OpenAPIRuntime ErrorExtensions.swift
[178/238] Compiling OpenAPIRuntime FoundationExtensions.swift
[179/238] Compiling OpenAPIRuntime ParameterStyles.swift
[180/238] Compiling OpenAPIRuntime ServerVariable.swift
[181/238] Compiling OpenAPIRuntime URLExtensions.swift
[182/238] Compiling OpenAPIRuntime Deprecated.swift
[183/238] Compiling OpenAPIRuntime ClientError.swift
[184/238] Compiling OpenAPIRuntime CodingErrors.swift
[185/238] Compiling OpenAPIRuntime RuntimeError.swift
[186/238] Compiling OpenAPIRuntime UndocumentedPayload.swift
[187/238] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[188/238] Compiling OpenAPIRuntime CodableExtensions.swift
[189/238] Compiling OpenAPIRuntime Configuration.swift
[190/238] Compiling OpenAPIRuntime Converter+Client.swift
[191/238] Compiling OpenAPIRuntime Converter+Common.swift
[192/238] Compiling OpenAPIRuntime Converter+Server.swift
[193/238] Compiling OpenAPIRuntime Converter.swift
[194/238] Compiling OpenAPIRuntime CurrencyExtensions.swift
[195/238] Compiling OpenAPIRuntime ServerError.swift
[196/238] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[197/238] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[198/238] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[199/238] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[200/238] Compiling OpenAPIRuntime ServerSentEvents.swift
[201/238] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[202/238] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[203/238] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[204/238] Compiling OpenAPIRuntime ClientTransport.swift
[205/238] Compiling OpenAPIRuntime CurrencyTypes.swift
[206/238] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[207/238] Compiling OpenAPIRuntime HTTPBody.swift
[208/238] Compiling OpenAPIRuntime QuerySpaceNormalizingMiddleware.swift
[209/238] Compiling OpenAPIRuntime SendableMetatype.swift
[210/238] Compiling OpenAPIRuntime ServerTransport.swift
[211/238] Compiling OpenAPIRuntime UniversalClient.swift
[212/238] Compiling OpenAPIRuntime UniversalServer.swift
[213/238] Compiling OpenAPIRuntime Acceptable.swift
[214/238] Compiling OpenAPIRuntime Base64EncodedData.swift
[215/238] Compiling OpenAPIRuntime ByteUtilities.swift
[216/238] Compiling OpenAPIRuntime ContentDisposition.swift
[217/238] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[218/238] Compiling OpenAPIRuntime Lock.swift
[219/238] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[220/238] Compiling OpenAPIRuntime OpenAPIValue.swift
[221/238] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[222/238] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[223/238] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[224/238] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[225/238] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[226/238] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[227/238] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[228/238] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[229/238] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[230/238] Compiling OpenAPIRuntime MultipartValidation.swift
[231/238] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[232/238] Compiling OpenAPIRuntime URIEncoder.swift
[233/238] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[234/238] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[235/238] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[236/238] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[237/238] Compiling OpenAPIRuntime URIParser.swift
[238/238] Compiling OpenAPIRuntime URISerializer.swift
[240/246] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[241/246] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[242/246] Compiling OpenAPIURLSession URLSession+Extensions.swift
[243/246] Compiling OpenAPIURLSession URLSessionTransport.swift
[244/246] Compiling OpenAPIURLSession BufferedStream.swift
[245/246] Compiling OpenAPIURLSession Lock.swift
[246/246] Emitting module OpenAPIURLSession
[248/252] Compiling LemmyKitV4Generated Server.swift
[249/252] Emitting module LemmyKitV4Generated
[250/252] Compiling LemmyKitV4Generated Client.swift
[251/252] Compiling LemmyKitV4Generated Exports.swift
[252/252] Compiling LemmyKitV4Generated Types.swift
[254/419] Compiling LemmyKit PersonPiefedMapping.swift
[255/419] Compiling LemmyKit PersonV3Mapping.swift
[256/419] Compiling LemmyKit PersonV4Mapping.swift
[257/419] Compiling LemmyKit PersonViewPiefedMapping.swift
[258/419] Compiling LemmyKit PersonViewV3Mapping.swift
[259/419] Compiling LemmyKit PersonViewV4Mapping.swift
[260/419] Compiling LemmyKit PiefedDateParsing.swift
[261/419] Compiling LemmyKit PostCommentCombinedV4Mapping.swift
[262/419] Compiling LemmyKit PostPiefedMapping.swift
[263/419] Compiling LemmyKit PostV3Mapping.swift
[264/419] Compiling LemmyKit PostV4Mapping.swift
[265/419] Compiling LemmyKit PostViewPiefedMapping.swift
[266/419] Compiling LemmyKit PostViewV3Mapping.swift
[267/419] Compiling LemmyKit PostViewV4Mapping.swift
[268/419] Compiling LemmyKit PrivateMessageNotificationV3Mapping.swift
[269/419] Compiling LemmyKit PrivateMessagePiefedMapping.swift
[270/419] Compiling LemmyKit PrivateMessageViewV3Mapping.swift
[271/419] Compiling LemmyKit PrivateMessageViewV4Mapping.swift
[272/419] Compiling LemmyKit ResolvedObjectPiefedMapping.swift
[273/419] Compiling LemmyKit ResolvedObjectV3Mapping.swift
[274/419] Compiling LemmyKit ResolvedObjectV4Mapping.swift
[275/419] Compiling LemmyKit SearchResultsPiefedMapping.swift
[276/419] Compiling LemmyKit SearchResultsV3Mapping.swift
[277/419] Compiling LemmyKit SearchResultsV4Mapping.swift
[278/442] Compiling LemmyKit CommentPiefedMapping.swift
[279/442] Compiling LemmyKit CommentReplyNotificationV3Mapping.swift
[280/442] Compiling LemmyKit CommentV3Mapping.swift
[281/442] Compiling LemmyKit CommentV4Mapping.swift
[282/442] Compiling LemmyKit CommentViewPiefedMapping.swift
[283/442] Compiling LemmyKit CommentViewV3Mapping.swift
[284/442] Compiling LemmyKit CommentViewV4Mapping.swift
[285/442] Compiling LemmyKit CommunityActionsV4Mapping.swift
[286/442] Compiling LemmyKit CommunityPiefedMapping.swift
[287/442] Compiling LemmyKit CommunityV3Mapping.swift
[288/442] Compiling LemmyKit CommunityV4Mapping.swift
[289/442] Compiling LemmyKit CommunityViewPiefedMapping.swift
[290/442] Compiling LemmyKit CommunityViewV3Mapping.swift
[291/442] Compiling LemmyKit CommunityViewV4Mapping.swift
[292/442] Compiling LemmyKit FollowStateMapping.swift
[293/442] Compiling LemmyKit MyUserPiefedMapping.swift
[294/442] Compiling LemmyKit MyUserV3Mapping.swift
[295/442] Compiling LemmyKit MyUserV4Mapping.swift
[296/442] Compiling LemmyKit NotificationPiefedMapping.swift
[297/442] Compiling LemmyKit NotificationV4Mapping.swift
[298/442] Compiling LemmyKit PageMapping.swift
[299/442] Compiling LemmyKit PersonActionsV4Mapping.swift
[300/442] Compiling LemmyKit PersonDetailsPiefedMapping.swift
[301/442] Compiling LemmyKit PersonMentionNotificationV3Mapping.swift
[302/465] 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 |
[303/465] 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 |
[304/465] 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 |
[305/465] Compiling LemmyKit LemmyApi+SaveCommentNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
 52 |         )
 53 |
 54 |         var request = URLRequest(url: endpoint)
    |                       `- error: cannot find 'URLRequest' in scope
 55 |         request.httpMethod = "POST"
 56 |         request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |         let data: Data
 65 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 65 |         let response: URLResponse
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 68 |         } catch {
 69 |             throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |         }
 75 |
 76 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 77 |         case 200, 201:
 78 |             break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 80 |             throw LemmyApiError.unauthorized(message: nil)
 81 |         default:
 82 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |
 95 |         guard let image = uploadResponse.files.first else {
 96 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |         }
 98 |
[306/465] 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 |
[307/465] Compiling LemmyKit LemmyApi+SavePostNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
 52 |         )
 53 |
 54 |         var request = URLRequest(url: endpoint)
    |                       `- error: cannot find 'URLRequest' in scope
 55 |         request.httpMethod = "POST"
 56 |         request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |         let data: Data
 65 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 65 |         let response: URLResponse
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 68 |         } catch {
 69 |             throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |         }
 75 |
 76 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 77 |         case 200, 201:
 78 |             break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 80 |             throw LemmyApiError.unauthorized(message: nil)
 81 |         default:
 82 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |
 95 |         guard let image = uploadResponse.files.first else {
 96 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |         }
 98 |
[308/465] 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 |
[309/465] Compiling LemmyKit LemmyApi+SaveUserSettingsNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
 52 |         )
 53 |
 54 |         var request = URLRequest(url: endpoint)
    |                       `- error: cannot find 'URLRequest' in scope
 55 |         request.httpMethod = "POST"
 56 |         request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |         let data: Data
 65 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 65 |         let response: URLResponse
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 68 |         } catch {
 69 |             throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |         }
 75 |
 76 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 77 |         case 200, 201:
 78 |             break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 80 |             throw LemmyApiError.unauthorized(message: nil)
 81 |         default:
 82 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |
 95 |         guard let image = uploadResponse.files.first else {
 96 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |         }
 98 |
[310/465] 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 |
[311/465] Compiling LemmyKit LemmyApi+SearchNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
 52 |         )
 53 |
 54 |         var request = URLRequest(url: endpoint)
    |                       `- error: cannot find 'URLRequest' in scope
 55 |         request.httpMethod = "POST"
 56 |         request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |         let data: Data
 65 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 65 |         let response: URLResponse
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 68 |         } catch {
 69 |             throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |         }
 75 |
 76 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 77 |         case 200, 201:
 78 |             break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 80 |             throw LemmyApiError.unauthorized(message: nil)
 81 |         default:
 82 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |
 95 |         guard let image = uploadResponse.files.first else {
 96 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |         }
 98 |
[312/465] 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 |
[313/465] Compiling LemmyKit LemmyApi+UnreadCountsNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
 52 |         )
 53 |
 54 |         var request = URLRequest(url: endpoint)
    |                       `- error: cannot find 'URLRequest' in scope
 55 |         request.httpMethod = "POST"
 56 |         request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |         let data: Data
 65 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 65 |         let response: URLResponse
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 68 |         } catch {
 69 |             throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |         }
 75 |
 76 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 77 |         case 200, 201:
 78 |             break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 80 |             throw LemmyApiError.unauthorized(message: nil)
 81 |         default:
 82 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |
 95 |         guard let image = uploadResponse.files.first else {
 96 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |         }
 98 |
[314/465] 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 |
[315/465] 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 |
[316/465] Compiling LemmyKit LemmyApi+UploadImageNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
 52 |         )
 53 |
 54 |         var request = URLRequest(url: endpoint)
    |                       `- error: cannot find 'URLRequest' in scope
 55 |         request.httpMethod = "POST"
 56 |         request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |         let data: Data
 65 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 65 |         let response: URLResponse
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 68 |         } catch {
 69 |             throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |         }
 75 |
 76 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 77 |         case 200, 201:
 78 |             break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 80 |             throw LemmyApiError.unauthorized(message: nil)
 81 |         default:
 82 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |
 95 |         guard let image = uploadResponse.files.first else {
 96 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |         }
 98 |
[317/465] 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 |
[318/465] 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 |
[319/465] Compiling LemmyKit LemmyApi+VoteCommentNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
 52 |         )
 53 |
 54 |         var request = URLRequest(url: endpoint)
    |                       `- error: cannot find 'URLRequest' in scope
 55 |         request.httpMethod = "POST"
 56 |         request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |         let data: Data
 65 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 65 |         let response: URLResponse
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 68 |         } catch {
 69 |             throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |         }
 75 |
 76 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 77 |         case 200, 201:
 78 |             break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 80 |             throw LemmyApiError.unauthorized(message: nil)
 81 |         default:
 82 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |
 95 |         guard let image = uploadResponse.files.first else {
 96 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |         }
 98 |
[320/465] Compiling LemmyKit LemmyApi+VotePostNeutral.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
 52 |         )
 53 |
 54 |         var request = URLRequest(url: endpoint)
    |                       `- error: cannot find 'URLRequest' in scope
 55 |         request.httpMethod = "POST"
 56 |         request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |         let data: Data
 65 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 65 |         let response: URLResponse
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 68 |         } catch {
 69 |             throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |         }
 75 |
 76 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 77 |         case 200, 201:
 78 |             break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 80 |             throw LemmyApiError.unauthorized(message: nil)
 81 |         default:
 82 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |
 95 |         guard let image = uploadResponse.files.first else {
 96 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |         }
 98 |
[321/465] 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 |
[322/465] 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 |
[323/465] 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 |
[324/465] Compiling LemmyKit LemmyCredential.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
 52 |         )
 53 |
 54 |         var request = URLRequest(url: endpoint)
    |                       `- error: cannot find 'URLRequest' in scope
 55 |         request.httpMethod = "POST"
 56 |         request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |         let data: Data
 65 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 65 |         let response: URLResponse
 66 |         do {
 67 |             (data, response) = try await URLSession.shared.data(for: request)
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 68 |         } catch {
 69 |             throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |         }
 71 |
 72 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |             throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
 74 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |         }
 75 |
 76 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 77 |         case 200, 201:
 78 |             break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 80 |             throw LemmyApiError.unauthorized(message: nil)
 81 |         default:
 82 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |
 95 |         guard let image = uploadResponse.files.first else {
 96 |             throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |         }
 98 |
[325/488] Compiling LemmyKit LemmyApi+EditCommentNeutral.swift
[326/488] Compiling LemmyKit LemmyApi+EditCommunity.swift
[327/488] Compiling LemmyKit LemmyApi+EditCustomEmoji.swift
[328/488] Compiling LemmyKit LemmyApi+EditPost.swift
[329/488] Compiling LemmyKit LemmyApi+EditPostNeutral.swift
[330/488] Compiling LemmyKit LemmyApi+EditPrivateMessage.swift
[331/488] Compiling LemmyKit LemmyApi+EditSite.swift
[332/488] Compiling LemmyKit LemmyApi+ExportSettings.swift
[333/488] Compiling LemmyKit LemmyApi+FeaturePost.swift
[334/488] Compiling LemmyKit LemmyApi+FollowCommunity.swift
[335/488] Compiling LemmyKit LemmyApi+FollowCommunityNeutral.swift
[336/488] Compiling LemmyKit LemmyApi+GenerateTotpSecret.swift
[337/488] Compiling LemmyKit LemmyApi+GetBannedPersons.swift
[338/488] Compiling LemmyKit LemmyApi+GetCaptcha.swift
[339/488] Compiling LemmyKit LemmyApi+GetComment.swift
[340/488] Compiling LemmyKit LemmyApi+GetComments+Community.swift
[341/488] Compiling LemmyKit LemmyApi+GetComments+ListingType.swift
[342/488] Compiling LemmyKit LemmyApi+GetComments+Parent.swift
[343/488] Compiling LemmyKit LemmyApi+GetComments+Post.swift
[344/488] Compiling LemmyKit LemmyApi+GetComments.swift
[345/488] Compiling LemmyKit LemmyApi+GetCommentsNeutral.swift
[346/488] Compiling LemmyKit LemmyApi+GetCommunity.swift
[347/488] Compiling LemmyKit LemmyApi+GetCommunityNeutral.swift
[348/488] Compiling LemmyKit LemmyApi+GetFederatedInstances.swift
[349/488] Compiling LemmyKit LemmyApi+GetImage.swift
[350/488] Compiling LemmyKit LemmyApi+GetModlog.swift
[351/488] Compiling LemmyKit LemmyApi+GetMyUserNeutral.swift
[352/488] Compiling LemmyKit LemmyApi+GetPersonDetails+id.swift
[353/488] Compiling LemmyKit LemmyApi+GetPersonDetails+username.swift
[354/488] Compiling LemmyKit LemmyApi+GetPersonDetailsNeutral.swift
[355/488] Compiling LemmyKit LemmyApi+GetPersonMentions.swift
[356/488] Compiling LemmyKit LemmyApi+GetPost.swift
[357/488] Compiling LemmyKit LemmyApi+GetPostNeutral.swift
[358/488] Compiling LemmyKit LemmyApi+GetPosts+Community.swift
[359/488] Compiling LemmyKit LemmyApi+GetPosts+ListingType.swift
[360/488] Compiling LemmyKit LemmyApi+GetPosts.swift
[361/488] Compiling LemmyKit LemmyApi+GetPostsNeutral.swift
[362/488] Compiling LemmyKit LemmyApi+GetPrivateMessages.swift
[363/488] Compiling LemmyKit LemmyApi+GetPrivateMessagesNeutral.swift
[364/488] Compiling LemmyKit LemmyApi+GetRegistrationApplication.swift
[365/488] Compiling LemmyKit LemmyApi+GetReplies.swift
[366/488] Compiling LemmyKit LemmyApi+GetReportCount.swift
[367/488] Compiling LemmyKit LemmyApi+GetSite.swift
[368/488] Compiling LemmyKit LemmyApi+GetSiteAndMyUserNeutral.swift
[369/488] Compiling LemmyKit LemmyApi+GetSiteMetadata.swift
[370/488] Compiling LemmyKit LemmyApi+GetSiteNeutral.swift
[371/534] Compiling LemmyKit LemmyApi+Login.swift
[372/534] Compiling LemmyKit LemmyApi+LoginNeutral.swift
[373/534] Compiling LemmyKit LemmyApi+Logout.swift
[374/534] Compiling LemmyKit LemmyApi+MarkAsRead.swift
[375/534] Compiling LemmyKit LemmyApi+MarkNotificationNeutral.swift
[376/534] Compiling LemmyKit LemmyApi+MarkPostAsRead.swift
[377/534] Compiling LemmyKit LemmyApi+MarkPostAsReadNeutral.swift
[378/534] Compiling LemmyKit LemmyApi+PasswordChangeAfterReset.swift
[379/534] Compiling LemmyKit LemmyApi+PasswordReset.swift
[380/534] Compiling LemmyKit LemmyApi+ProfileImageNeutral.swift
[381/534] Compiling LemmyKit LemmyApi+PurgeComment.swift
[382/534] Compiling LemmyKit LemmyApi+PurgeCommunity.swift
[383/534] Compiling LemmyKit LemmyApi+PurgePerson.swift
[384/534] Compiling LemmyKit LemmyApi+PurgePost.swift
[385/534] Compiling LemmyKit LemmyApi+Register.swift
[386/534] Compiling LemmyKit LemmyApi+RegisterNeutral.swift
[387/534] Compiling LemmyKit LemmyApi+RemoveComment.swift
[388/534] Compiling LemmyKit LemmyApi+RemoveCommunity.swift
[389/534] Compiling LemmyKit LemmyApi+RemovePost.swift
[390/534] Compiling LemmyKit LemmyApi+ReportPrivateMessage.swift
[391/534] Compiling LemmyKit LemmyApi+ResolveCommentReport.swift
[392/534] Compiling LemmyKit LemmyApi+ResolveObject.swift
[393/534] Compiling LemmyKit LemmyApi+ResolveObjectNeutral.swift
[394/534] Compiling LemmyKit LemmyApi+GetUnreadCount.swift
[395/534] Compiling LemmyKit LemmyApi+GetUnreadRegistrationApplicationCount.swift
[396/534] Compiling LemmyKit LemmyApi+HideCommunity.swift
[397/534] Compiling LemmyKit LemmyApi+HidePost.swift
[398/534] Compiling LemmyKit LemmyApi+HidePostNeutral.swift
[399/534] Compiling LemmyKit LemmyApi+ImportSettings.swift
[400/534] Compiling LemmyKit LemmyApi+LeaveAdmin.swift
[401/534] Compiling LemmyKit LemmyApi+LikeComment.swift
[402/534] Compiling LemmyKit LemmyApi+LikePost.swift
[403/534] Compiling LemmyKit LemmyApi+ListAllMedia.swift
[404/534] Compiling LemmyKit LemmyApi+ListCommentLikes.swift
[405/534] Compiling LemmyKit LemmyApi+ListCommentReports.swift
[406/534] Compiling LemmyKit LemmyApi+ListCommunities.swift
[407/534] Compiling LemmyKit LemmyApi+ListCommunitiesNeutral.swift
[408/534] Compiling LemmyKit LemmyApi+ListLogins.swift
[409/534] Compiling LemmyKit LemmyApi+ListMedia.swift
[410/534] Compiling LemmyKit LemmyApi+ListNotificationsNeutral.swift
[411/534] Compiling LemmyKit LemmyApi+ListPersonContentNeutral.swift
[412/534] Compiling LemmyKit LemmyApi+ListPostLikes.swift
[413/534] Compiling LemmyKit LemmyApi+ListPostReports.swift
[414/534] Compiling LemmyKit LemmyApi+ListPrivateMessageReports.swift
[415/534] Compiling LemmyKit LemmyApi+ListRegistrationApplications.swift
[416/534] Compiling LemmyKit LemmyApi+LockPost.swift
[417/534] Compiling LemmyKit SiteInfoPiefedMapping.swift
[418/534] Compiling LemmyKit SiteInfoV3Mapping.swift
[419/534] Compiling LemmyKit SiteInfoV4Mapping.swift
[420/534] Compiling LemmyKit SortMapping.swift
[421/534] Compiling LemmyKit SortPiefedMapping.swift
[422/534] Compiling LemmyKit UnreadCountsPiefedMapping.swift
[423/534] Compiling LemmyKit V3ActionSentinel.swift
[424/534] Compiling LemmyKit V3IDConversion.swift
[425/534] Compiling LemmyKit V4DateParsing.swift
[426/534] Compiling LemmyKit ApiVersionProbe.swift
[427/534] Compiling LemmyKit CommentSortType+Identifiable.swift
[428/534] Compiling LemmyKit CommentSortType+allCases.swift
[429/534] Compiling LemmyKit SortType+Identifiable.swift
[430/534] Compiling LemmyKit SortType+allCases.swift
[431/534] Compiling LemmyKit LemmyApi+AccountFeedsNeutral.swift
[432/534] Compiling LemmyKit LemmyApi+AddAdmin.swift
[433/534] Compiling LemmyKit LemmyApi+AddModToCommunity.swift
[434/534] Compiling LemmyKit LemmyApi+ApproveRegistrationApplication.swift
[435/534] Compiling LemmyKit LemmyApi+BanFromCommunity.swift
[436/534] Compiling LemmyKit LemmyApi+BanPerson.swift
[437/534] Compiling LemmyKit LemmyApi+BlockCommunity.swift
[438/534] Compiling LemmyKit LemmyApi+BlockCommunityNeutral.swift
[439/534] Compiling LemmyKit LemmyApi+BlockInstance.swift
[440/534] Compiling LemmyKit LemmyApi+BlockPerson.swift
[441/534] Compiling LemmyKit LemmyApi+BlockPersonNeutral.swift
[442/534] Compiling LemmyKit LemmyApi+ChangePassword.swift
[443/534] Compiling LemmyKit LemmyApi+CreateComment.swift
[444/534] Compiling LemmyKit LemmyApi+CreateCommentNeutral.swift
[445/534] Compiling LemmyKit LemmyApi+CreateCommentReport.swift
[446/534] Compiling LemmyKit LemmyApi+CreateCommunity.swift
[447/534] Compiling LemmyKit LemmyApi+CreateCustomEmoji.swift
[448/534] Compiling LemmyKit LemmyApi+CreatePost.swift
[449/534] Compiling LemmyKit LemmyApi+CreatePostNeutral.swift
[450/534] Compiling LemmyKit LemmyApi+CreatePostReport.swift
[451/534] Compiling LemmyKit LemmyApi+CreatePrivateMessage.swift
[452/534] Compiling LemmyKit LemmyApi+CreatePrivateMessageNeutral.swift
[453/534] Compiling LemmyKit LemmyApi+CreateSite.swift
[454/534] Compiling LemmyKit LemmyApi+DeleteAccount.swift
[455/534] Compiling LemmyKit LemmyApi+DeleteComment.swift
[456/534] Compiling LemmyKit LemmyApi+DeleteCommentNeutral.swift
[457/534] Compiling LemmyKit LemmyApi+DeleteCommunity.swift
[458/534] Compiling LemmyKit LemmyApi+DeleteCustomEmoji.swift
[459/534] Compiling LemmyKit LemmyApi+DeleteImage.swift
[460/534] Compiling LemmyKit LemmyApi+DeletePost.swift
[461/534] Compiling LemmyKit LemmyApi+DeletePostNeutral.swift
[462/534] Compiling LemmyKit LemmyApi+DeletePrivateMessage.swift
[463/534] Compiling LemmyKit LemmyApi+DistinguishComment.swift
[464/534] Compiling LemmyKit LemmyApi+EditComment.swift
[465/534] Emitting module LemmyKit
[466/534] Compiling LemmyKit ApiVersion.swift
[467/534] Compiling LemmyKit Comment.swift
[468/534] Compiling LemmyKit CommentActions.swift
[469/534] Compiling LemmyKit CommentSort.swift
[470/534] Compiling LemmyKit CommentView.swift
[471/534] Compiling LemmyKit Community.swift
[472/534] Compiling LemmyKit CommunityActions.swift
[473/534] Compiling LemmyKit CommunityView.swift
[474/534] Compiling LemmyKit Cursor.swift
[475/534] Compiling LemmyKit FollowState.swift
[476/534] Compiling LemmyKit MyUser.swift
[477/534] Compiling LemmyKit NotificationData.swift
[478/534] Compiling LemmyKit NotificationEntry.swift
[479/534] Compiling LemmyKit NotificationKind.swift
[480/534] Compiling LemmyKit NotificationView.swift
[481/534] Compiling LemmyKit Page.swift
[482/534] Compiling LemmyKit Person.swift
[483/534] Compiling LemmyKit PersonActions.swift
[484/534] Compiling LemmyKit PersonDetails.swift
[485/534] Compiling LemmyKit PersonView.swift
[486/534] Compiling LemmyKit Post.swift
[487/534] Compiling LemmyKit PostActions.swift
[488/534] Compiling LemmyKit PostDetail.swift
[489/534] Compiling LemmyKit PostOrComment.swift
[490/534] Compiling LemmyKit PostSort.swift
[491/534] Compiling LemmyKit PostView.swift
[492/534] Compiling LemmyKit PrivateMessage.swift
[493/534] Compiling LemmyKit PrivateMessageListItem.swift
[494/534] Compiling LemmyKit PrivateMessageView.swift
[495/534] Compiling LemmyKit ResolvedObject.swift
[496/534] Compiling LemmyKit SearchResults.swift
[497/534] Compiling LemmyKit SearchType.swift
[498/534] Compiling LemmyKit Site.swift
[499/534] Compiling LemmyKit SiteInfo.swift
[500/534] Compiling LemmyKit SiteWithMyUser.swift
[501/534] Compiling LemmyKit TimeRange.swift
[502/534] Compiling LemmyKit UnreadCounts.swift
[503/534] Compiling LemmyKit UploadedImage.swift
[504/534] Compiling LemmyKit VoteDirection.swift
[505/534] Compiling LemmyKit NeutralVocabulary.swift
[506/534] Compiling LemmyKit PiefedAuthEntities.swift
[507/534] Compiling LemmyKit PiefedClient+Actions.swift
[508/534] Compiling LemmyKit PiefedClient+Auth.swift
[509/534] Compiling LemmyKit PiefedClient+Comments.swift
[510/534] Compiling LemmyKit PiefedClient+Inbox.swift
[511/534] Compiling LemmyKit PiefedClient+Posts.swift
[512/534] Compiling LemmyKit PiefedClient+PrivateMessages.swift
[513/534] Compiling LemmyKit PiefedClient.swift
[514/534] Compiling LemmyKit PiefedEntities.swift
[515/534] Compiling LemmyKit PiefedError.swift
[516/534] Compiling LemmyKit PiefedInboxEntities.swift
[517/534] Compiling LemmyKit PiefedRequests.swift
[518/534] Compiling LemmyKit PiefedViews.swift
[519/534] Compiling LemmyKit PiefedWriteResponses.swift
[520/534] Compiling LemmyKit AuthorizationMiddleware.swift
[521/534] Compiling LemmyKit CommentPath.swift
[522/534] Compiling LemmyKit CommunityFilter.swift
[523/534] Compiling LemmyKit ContentFilter.swift
[524/534] Compiling LemmyKit Date+lemmyFormat.swift
[525/534] Compiling LemmyKit ImageFormat.swift
[526/534] Compiling LemmyKit LemmyDateTranscoder.swift
[527/534] Compiling LemmyKit LenientUrl.swift
[528/534] Compiling LemmyKit LikeStatus.swift
[529/534] Compiling LemmyKit MultipartFormData.swift
[530/534] Compiling LemmyKit URL+lenientString.swift
[531/534] Compiling LemmyKit UserAgentMiddleware.swift
[532/534] Compiling LemmyKit Types.swift
[533/534] Compiling LemmyKit Client.swift
[534/534] Compiling LemmyKit Server.swift
BUILD FAILURE 6.2 android