Build Information
Failed to build LemmyKit, reference 0.5.1 (15270b), with Swift 6.3 for Linux on 14 Jul 2026 19:05:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: e8bafa5c5d5b3cc8a20258ddf060ad6c89f46bf9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shadone/LemmyKit.git
Reference: 0.5.1
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
* tag 0.5.1 -> FETCH_HEAD
HEAD is now at 15270b1 docs: changelog for 0.5.1
Submodule path 'Lemmy-OpenAPI-Spec': checked out '3b7fe7ef1f5001160e69a0197130e846b25a7695'
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 @):
15270b1be05705d211b66b8c617c025e9d51aea4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/shadone/LemmyKit.git at 0.5.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/shadone/LemmyKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:518d581a7f3cc0f988d8921e0dce92c3361f942cd4cc7d944cb46f8707e06c63
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/apple/swift-openapi-generator
Fetching https://github.com/apple/swift-openapi-urlsession
[1/1168] Fetching swift-openapi-urlsession
[959/7884] Fetching swift-openapi-urlsession, swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-urlsession from cache (0.43s)
[2888/6716] Fetching swift-openapi-runtime
[6717/24567] Fetching swift-openapi-runtime, swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.89s)
Fetched https://github.com/apple/swift-openapi-generator from cache (0.89s)
Computing version for https://github.com/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.3.1 (1.85s)
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-collections
[1/1219] Fetching swift-http-types
[1220/27207] Fetching swift-http-types, swift-collections
Fetched https://github.com/apple/swift-http-types from cache (0.99s)
Fetched https://github.com/apple/swift-collections from cache (1.00s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.0 (1.17s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.6.0 (0.18s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.26s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.13.0 (0.21s)
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-argument-parser
[1/11847] Fetching yams
[2/29871] Fetching yams, swift-argument-parser
[1078/35947] Fetching yams, swift-argument-parser, swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (1.19s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.19s)
Fetched https://github.com/jpsim/Yams from cache (1.21s)
[1/161436] Fetching openapikit
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (7.41s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.2.0 (7.95s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.91s)
Fetching https://github.com/apple/swift-numerics.git
[1/6441] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.53s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.70s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.19s)
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
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/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-collections
Working copy of https://github.com/apple/swift-collections 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/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-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-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-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
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
[0/32] Write sources
[8/32] Compiling _NumericsShims _NumericsShims.c
[9/32] Write sources
[10/32] Write swift-version-24593BA9C3E375BF.txt
[12/32] Write sources
[13/32] Compiling reader.c
[14/32] Compiling writer.c
[15/32] Compiling emitter.c
[16/51] Compiling api.c
[17/66] Compiling parser.c
[18/78] Compiling scanner.c
[20/98] Emitting module Yams
[21/100] Emitting module OpenAPIKitCore
[22/104] Compiling Yams Constructor.swift
[23/104] Compiling Yams Decoder.swift
[24/105] Compiling Yams AliasDereferencingStrategy.swift
[25/105] Compiling Yams Anchor.swift
[26/105] Emitting module RealModule
[27/105] Compiling Yams YamlError.swift
[28/105] Compiling Yams YamlTagProviding.swift
[29/105] Compiling OpenAPIKitCore ResponseStatusCode.swift
[30/105] Compiling OpenAPIKitCore SecurityScheme.swift
[31/105] Compiling Yams Tag.swift
[32/105] Compiling Yams YamlAnchorProviding.swift
[33/105] Compiling Yams Encoder.swift
[36/105] Compiling Yams Parser.swift
[37/105] Compiling Yams RedundancyAliasingStrategy.swift
[38/105] Compiling RealModule RelaxedArithmetic.swift
[39/105] Compiling RealModule Float16+Real.swift
[40/105] Compiling Yams Emitter.swift
[42/105] Compiling RealModule Real.swift
[43/105] Compiling RealModule RealFunctions.swift
[44/105] Compiling RealModule Float80+Real.swift
[45/131] Wrapping AST for RealModule for debugging
[47/131] Compiling Algorithms Split.swift
[48/131] Compiling Algorithms Stride.swift
[49/131] Compiling Algorithms Suffix.swift
[50/134] Compiling ArgumentParserToolInfo ToolInfo.swift
[51/134] Emitting module ArgumentParserToolInfo
[52/135] Wrapping AST for ArgumentParserToolInfo for debugging
[54/182] Compiling ArgumentParser ArgumentDefinition.swift
[55/182] Compiling ArgumentParser ArgumentSet.swift
[56/182] Compiling ArgumentParser CommandParser.swift
[57/182] Compiling ArgumentParser InputKey.swift
[58/182] Compiling ArgumentParser InputOrigin.swift
[59/182] Compiling ArgumentParser ParentCommand.swift
[60/182] Compiling ArgumentParser AsyncParsableCommand.swift
[61/182] Compiling ArgumentParser CommandConfiguration.swift
[62/182] Compiling ArgumentParser CommandGroup.swift
[63/182] Compiling ArgumentParser EnumerableFlag.swift
[64/182] Compiling ArgumentParser Name.swift
[65/182] Compiling ArgumentParser Parsed.swift
[66/182] Compiling ArgumentParser ParsedValues.swift
[67/182] Compiling ArgumentParser ParserError.swift
[68/182] Compiling ArgumentParser SplitArguments.swift
[69/182] Compiling ArgumentParser DumpHelpGenerator.swift
[70/182] Compiling ArgumentParser HelpCommand.swift
[71/182] Compiling ArgumentParser HelpGenerator.swift
[72/182] Compiling ArgumentParser ExpressibleByArgument.swift
[73/182] Compiling ArgumentParser ParsableArguments.swift
[77/182] Compiling ArgumentParser ZshCompletionsGenerator.swift
[78/182] Compiling ArgumentParser Argument.swift
[79/182] Compiling ArgumentParser ArgumentDiscussion.swift
[80/182] Compiling ArgumentParser ArgumentHelp.swift
[81/182] Compiling ArgumentParser ArgumentVisibility.swift
[82/182] Compiling ArgumentParser CompletionKind.swift
[83/182] Compiling ArgumentParser Errors.swift
[84/182] Compiling ArgumentParser Flag.swift
[85/182] Compiling ArgumentParser NameSpecification.swift
[102/183] Compiling ArgumentParser Option.swift
[105/183] Compiling ArgumentParser CompletionsGenerator.swift
[106/183] Compiling ArgumentParser FishCompletionsGenerator.swift
[110/184] Wrapping AST for OpenAPIKitCore for debugging
[112/325] Wrapping AST for Yams for debugging
[114/325] Compiling OpenAPIKit DereferencedContent.swift
[115/325] Compiling OpenAPIKit DereferencedContentEncoding.swift
[116/325] Compiling OpenAPIKit DereferencedContentPositionalEncoding.swift
[117/325] Compiling OpenAPIKit Document.swift
[118/325] Compiling OpenAPIKit DocumentInfo.swift
[119/325] Compiling OpenAPIKit ResolvedDocument.swift
[120/325] Compiling OpenAPIKit Either+Convenience.swift
[121/325] Compiling OpenAPIKit Either+ExternallyDereferenceable.swift
[122/325] Compiling OpenAPIKit Either+LocallyDereferenceable.swift
[123/325] Compiling OpenAPIKit Either+Summarizable.swift
[124/331] Compiling OpenAPIKit Components.swift
[125/331] Compiling OpenAPIKit Content.swift
[126/331] Compiling OpenAPIKit ContentEncoding.swift
[127/331] Compiling OpenAPIKit ContentPositionalEncoding.swift
[132/331] Compiling OpenAPIKit Either+Validatable.swift
[133/331] Compiling OpenAPIKit DocumentDecodingError.swift
[134/331] Compiling OpenAPIKit OperationDecodingError.swift
[135/331] Compiling OpenAPIKit ExternalDocumentation.swift
[136/331] Compiling OpenAPIKit ExternalLoader.swift
[137/331] Compiling OpenAPIKit DereferencedHeader.swift
[138/331] Compiling OpenAPIKit Header.swift
[139/331] Compiling OpenAPIKit JSONReference+URIResolution.swift
[140/331] Compiling OpenAPIKit JSONReference.swift
[141/331] Compiling OpenAPIKit Callbacks.swift
[142/331] Compiling OpenAPIKit CodableVendorExtendable.swift
[143/331] Compiling OpenAPIKit Components+JSONReference.swift
[144/331] Compiling OpenAPIKit Components+Locatable.swift
[148/331] Compiling OpenAPIKit DereferencedParameter.swift
[149/331] Compiling OpenAPIKit DereferencedSchemaContext.swift
[150/331] Compiling OpenAPIKit DereferencedResponse.swift
[151/331] Compiling OpenAPIKit Response.swift
[152/331] Compiling OpenAPIKit RuntimeExpression.swift
[153/331] Compiling OpenAPIKit SchemaProtocols.swift
[154/331] Compiling OpenAPIKit Link.swift
[155/331] Compiling OpenAPIKit OpenAPI.swift
[156/331] Compiling OpenAPIKit OpenAPIConditionalWarnings.swift
[157/331] Compiling OpenAPIKit DereferencedOperation.swift
[158/331] Compiling OpenAPIKit Operation.swift
[159/331] Compiling OpenAPIKit ResolvedEndpoint.swift
[160/331] Compiling OpenAPIKit PathItem.swift
[161/331] Compiling OpenAPIKit ResolvedRoute.swift
[162/331] Compiling OpenAPIKit DereferencedRequest.swift
[163/331] Compiling OpenAPIKit Request.swift
[164/331] Compiling OpenAPIKit TypesAndFormats.swift
[165/331] Compiling OpenAPIKit DereferencedSecurityRequirement.swift
[166/331] Compiling OpenAPIKit OAuthFlows.swift
[167/331] Compiling OpenAPIKit SecurityScheme.swift
[168/331] Compiling OpenAPIKit Server.swift
[169/340] Emitting module ArgumentParser
[174/340] Compiling OpenAPIKit Discriminator.swift
[175/340] Compiling OpenAPIKit DereferencedDocument.swift
[176/340] Compiling OpenAPIKit Document+URIResolution.swift
[177/340] Emitting module Algorithms
[179/341] Compiling ArgumentParser AsyncCompletionsValidator.swift
[180/341] Compiling ArgumentParser CodingKeyValidator.swift
[181/341] Compiling ArgumentParser NonsenseFlagsValidator.swift
[182/341] Compiling ArgumentParser ParsableArgumentsValidation.swift
[183/341] Compiling ArgumentParser PositionalArgumentsValidator.swift
[184/341] Compiling ArgumentParser UniqueNamesValidator.swift
[184/341] Wrapping AST for Algorithms for debugging
[186/341] Emitting module OpenAPIKit30
[187/341] Emitting module OpenAPIKit
[211/351] Compiling OpenAPIKit PathDecodingError.swift
[212/351] Compiling OpenAPIKit ResponseDecodingError.swift
[213/351] Compiling OpenAPIKit Example.swift
[214/351] Compiling OpenAPIKit ExampleValue.swift
[215/352] Wrapping AST for ArgumentParser for debugging
[246/352] Compiling OpenAPIKit30 Optional+ExternallyDereferenceable.swift
[247/352] Compiling OpenAPIKit30 OrderedDictionary+ExternallyDereferenceable.swift
[248/352] Compiling OpenAPIKit30 OrderedDictionry+LocallyDereferenceable.swift
[249/352] Compiling OpenAPIKit30 Validation+Builtins.swift
[250/352] Compiling OpenAPIKit30 Validation.swift
[251/352] Compiling OpenAPIKit Optional+ExternallyDereferenceable.swift
[252/352] Compiling OpenAPIKit OrderedDictionary+ExternallyDereferenceable.swift
[253/352] Compiling OpenAPIKit OrderedDictionry+LocallyDereferenceable.swift
[254/352] Compiling OpenAPIKit ReferenceValidations.swift
[301/352] Compiling OpenAPIKit Validation+Builtins.swift
[302/352] Compiling OpenAPIKit Validation.swift
[303/352] Compiling OpenAPIKit Validator+Convenience.swift
[304/352] Compiling OpenAPIKit Validator.swift
[305/352] Compiling OpenAPIKit XML.swift
[306/352] Compiling OpenAPIKit _CoreReExport.swift
[317/352] Compiling OpenAPIKit Parameter.swift
[318/352] Compiling OpenAPIKit ParameterContext.swift
[319/352] Compiling OpenAPIKit ParameterContextLocation.swift
[320/352] Compiling OpenAPIKit ParameterSchemaContext.swift
[321/352] Compiling OpenAPIKit ParameterSchemaContextStyle.swift
[322/352] Compiling OpenAPIKit DereferencedPathItem.swift
[336/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/451] Emitting module _OpenAPIGeneratorCore
[368/451] Compiling _OpenAPIGeneratorCore ResponseKind.swift
[369/451] Compiling _OpenAPIGeneratorCore TypedResponse.swift
[370/451] Compiling _OpenAPIGeneratorCore TypedResponseHeader.swift
[371/451] Compiling _OpenAPIGeneratorCore acceptHeaderContentTypes.swift
[372/451] Compiling _OpenAPIGeneratorCore translateResponse.swift
[373/451] Compiling _OpenAPIGeneratorCore translateResponseHeader.swift
[374/451] Compiling _OpenAPIGeneratorCore translateResponseOutcome.swift
[375/451] Compiling _OpenAPIGeneratorCore ServerTranslator.swift
[376/451] Compiling _OpenAPIGeneratorCore translateServerMethod.swift
[377/451] Compiling _OpenAPIGeneratorCore TranslatorProtocol.swift
[378/451] Compiling _OpenAPIGeneratorCore Builtins.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 ReferenceStack.swift
[404/451] Compiling _OpenAPIGeneratorCore SafeNameGenerator.swift
[405/451] Compiling _OpenAPIGeneratorCore TypeAssigner.swift
[406/451] Compiling _OpenAPIGeneratorCore TypeLocation.swift
[407/451] Compiling _OpenAPIGeneratorCore TypeMatcher.swift
[408/451] Compiling _OpenAPIGeneratorCore TypeName.swift
[409/451] Compiling _OpenAPIGeneratorCore TypeUsage.swift
[410/451] Compiling _OpenAPIGeneratorCore isSchemaSupported.swift
[411/451] Compiling _OpenAPIGeneratorCore TypesFileTranslator.swift
[412/451] Compiling _OpenAPIGeneratorCore translateAPIProtocol.swift
[413/451] Compiling _OpenAPIGeneratorCore translateBoxedTypes.swift
[414/451] Compiling _OpenAPIGeneratorCore translateComponentHeaders.swift
[415/451] Compiling _OpenAPIGeneratorCore translateComponentParameters.swift
[416/451] Compiling _OpenAPIGeneratorCore translateComponentRequestBodies.swift
[417/451] Compiling _OpenAPIGeneratorCore translateComponentResponses.swift
[418/451] Compiling _OpenAPIGeneratorCore translateComponents.swift
[419/451] Compiling _OpenAPIGeneratorCore translateOperations.swift
[420/451] Compiling _OpenAPIGeneratorCore translateSchemas.swift
[421/451] Compiling _OpenAPIGeneratorCore translateServers.swift
[422/451] Compiling _OpenAPIGeneratorCore translateServersVariables.swift
[423/451] Compiling _OpenAPIGeneratorCore TypeOverrides.swift
[424/451] Compiling _OpenAPIGeneratorCore YamlFileDiagnosticsCollector.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 Tool.swift
[451/462] Compiling swift_openapi_generator UserConfig.swift
[452/462] Compiling swift_openapi_generator runGenerator.swift
[453/462] Compiling swift_openapi_generator PluginSource.swift
[454/462] Compiling swift_openapi_generator GenerateCommand.swift
[455/462] Emitting module swift_openapi_generator
[456/462] Compiling swift_openapi_generator GenerateOptions+runGenerator.swift
[457/462] Compiling swift_openapi_generator Extensions.swift
[458/462] Compiling swift_openapi_generator FilterCommand.swift
[459/462] Compiling swift_openapi_generator GenerateOptions.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/44] Write sources
[18/44] Compiling _NumericsShims _NumericsShims.c
[19/44] Write sources
[22/44] Write swift-version-24593BA9C3E375BF.txt
[23/44] Compiling writer.c
[24/44] Compiling reader.c
[25/44] Compiling parser.c
[26/50] Compiling emitter.c
[27/71] Wrapping AST for RealModule for debugging
[28/71] Compiling api.c
[29/71] Wrapping AST for OpenAPIKitCore for debugging
[30/71] Compiling scanner.c
[31/71] Wrapping AST for ArgumentParserToolInfo for debugging
[33/71] Compiling InternalCollectionsUtilities Debugging.swift
[34/71] Compiling InternalCollectionsUtilities Descriptions.swift
[35/71] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[36/73] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[37/73] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[38/73] Compiling InternalCollectionsUtilities _SortedCollection.swift
[39/73] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[39/73] Wrapping AST for Algorithms for debugging
[40/73] Wrapping AST for Yams for debugging
[41/73] Wrapping AST for ArgumentParser for debugging
[43/73] Compiling InternalCollectionsUtilities String+Padding.swift
[44/73] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[45/73] Compiling InternalCollectionsUtilities Integer rank.swift
[46/73] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[47/73] Compiling InternalCollectionsUtilities UInt+reversed.swift
[47/73] Wrapping AST for OpenAPIKit30 for debugging
[49/73] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[50/73] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[51/73] Compiling InternalCollectionsUtilities Span+Extras.swift
[51/73] Wrapping AST for OpenAPIKit for debugging
[52/73] Wrapping AST for OpenAPIKitCompat for debugging
[54/73] Emitting module InternalCollectionsUtilities
[55/73] Compiling HTTPTypes ISOLatin1String.swift
[56/73] Compiling HTTPTypes HTTPRequest.swift
[57/73] Compiling HTTPTypes HTTPRequest+URL.swift
[58/73] Compiling HTTPTypes HTTPParsedFields.swift
[59/73] Compiling HTTPTypes HTTPResponse.swift
[60/74] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[61/74] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[62/74] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[63/74] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[63/75] Wrapping AST for _OpenAPIGeneratorCore for debugging
[66/111] Compiling HTTPTypes NIOLock.swift
[67/111] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[68/111] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[69/111] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[70/111] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[71/111] Compiling ContainersPreview BorrowingSequence+Algorithms.swift
[72/111] Compiling ContainersPreview Drain+Map.swift
[73/111] Compiling ContainersPreview Drain+Reduce.swift
[74/111] Compiling ContainersPreview Drain.swift
[75/111] Compiling ContainersPreview Producer+Collect.swift
[76/111] Compiling ContainersPreview Producer+Filter.swift
[76/112] Wrapping AST for swift-openapi-generator for debugging
[77/115] Write Objects.LinkFileList
[79/115] Compiling ContainersPreview Producer+Map.swift
[80/115] Compiling ContainersPreview Producer+Reduce.swift
[81/115] Compiling ContainersPreview Producer.swift
[82/115] Compiling ContainersPreview InputSpan.swift
[83/115] Compiling ContainersPreview MutableRef.swift
[84/115] Compiling ContainersPreview Container+SpanwiseZip.swift
[85/115] Compiling ContainersPreview Container.swift
[86/115] Compiling ContainersPreview ContainerIterator.swift
[87/115] Compiling ContainersPreview DynamicContainer.swift
[88/115] Compiling ContainersPreview MutableContainer.swift
[89/115] Compiling ContainersPreview PermutableContainer.swift
[90/115] Compiling ContainersPreview RandomAccessContainer.swift
[91/115] Compiling ContainersPreview RangeExpression2.swift
[92/115] Compiling ContainersPreview RangeReplaceableContainer.swift
[93/115] Compiling ContainersPreview Strideable+Limits.swift
[94/115] Compiling ContainersPreview Ref.swift
[95/115] Compiling ContainersPreview Shared.swift
[96/115] Compiling ContainersPreview SpanIterator.swift
[97/115] Compiling ContainersPreview UniqueBox.swift
[98/115] Emitting module ContainersPreview
[99/115] Compiling ContainersPreview OutputSpan+Extras.swift
[100/115] Compiling ContainersPreview TemporaryAllocation.swift
[101/115] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[102/115] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[103/115] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[104/115] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[105/115] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[106/115] Compiling ContainersPreview BorrowingSequence.swift
[107/115] Compiling ContainersPreview BidirectionalContainer.swift
[108/115] Compiling ContainersPreview Container+Filter.swift
[110/157] Compiling DequeModule _DequeBuffer.swift
[111/157] Compiling DequeModule _DequeBufferHeader.swift
[112/157] Compiling DequeModule RigidDeque+Append.swift
[113/157] Compiling DequeModule RigidDeque+Consumption.swift
[114/157] Compiling DequeModule RigidDeque+Container.swift
[115/157] Compiling DequeModule RigidDeque+Descriptions.swift
[116/162] Compiling DequeModule UniqueDeque+Container.swift
[117/162] Compiling DequeModule UniqueDeque+Deprecated.swift
[118/162] Compiling DequeModule UniqueDeque+Descriptions.swift
[119/162] Compiling DequeModule UniqueDeque+Equatable.swift
[120/162] Compiling DequeModule UniqueDeque+Experimental.swift
[121/162] Compiling DequeModule RigidDeque+Removals.swift
[122/162] Compiling DequeModule RigidDeque+Replacements.swift
[123/162] Compiling DequeModule RigidDeque+Testing.swift
[124/162] Compiling DequeModule RigidDeque.swift
[125/162] Compiling DequeModule UniqueDeque+Append.swift
[126/162] Compiling DequeModule UniqueDeque+Consumption.swift
[127/162] Compiling DequeModule UniqueDeque+Hashable.swift
[128/162] Compiling DequeModule UniqueDeque+Initializers.swift
[129/162] Compiling DequeModule UniqueDeque+Insertions.swift
[130/162] Compiling DequeModule UniqueDeque+Prepend.swift
[131/162] Compiling DequeModule UniqueDeque+Removals.swift
[131/162] Linking swift-openapi-generator-tool
[133/162] Emitting module HTTPTypes
[134/162] Compiling HTTPTypes HTTPFields.swift
[138/163] Compiling DequeModule Deque+Extras.swift
[139/163] Compiling DequeModule Deque+Hashable.swift
[140/163] Compiling DequeModule Deque+Testing.swift
[141/163] Compiling DequeModule Deque._Storage.swift
[142/163] Compiling DequeModule Deque._UnsafeHandle.swift
[143/163] Compiling DequeModule Deque.swift
[144/163] Compiling DequeModule RigidDeque+Equatable.swift
[145/163] Compiling DequeModule RigidDeque+Experimental.swift
[146/163] Compiling DequeModule RigidDeque+Hashable.swift
[147/163] Compiling DequeModule RigidDeque+Initializers.swift
[148/163] Compiling DequeModule RigidDeque+Insertions.swift
[149/163] Compiling DequeModule RigidDeque+Prepend.swift
[150/163] Compiling DequeModule Deque+Codable.swift
[151/163] Compiling DequeModule Deque+Collection.swift
[152/163] Compiling DequeModule Deque+CustomReflectable.swift
[153/163] Compiling DequeModule Deque+Descriptions.swift
[154/163] Compiling DequeModule Deque+Equatable.swift
[155/163] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[156/227] Emitting module DequeModule
[157/227] Emitting module OpenAPIRuntime
[158/227] Compiling OpenAPIRuntime ClientTransport.swift
[159/227] Compiling OpenAPIRuntime CurrencyTypes.swift
[160/227] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[161/227] Compiling OpenAPIRuntime HTTPBody.swift
[162/227] Compiling OpenAPIRuntime QuerySpaceNormalizingMiddleware.swift
[163/227] Compiling OpenAPIRuntime SendableMetatype.swift
[164/227] Compiling OpenAPIRuntime ServerTransport.swift
[165/227] Compiling OpenAPIRuntime UniversalClient.swift
[166/227] Compiling OpenAPIRuntime UniversalServer.swift
[172/236] Compiling OpenAPIRuntime UndocumentedPayload.swift
[173/236] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[174/236] Compiling OpenAPIRuntime CodableExtensions.swift
[175/236] Compiling OpenAPIRuntime Configuration.swift
[176/236] Compiling OpenAPIRuntime Converter+Client.swift
[177/236] Compiling OpenAPIRuntime Converter+Common.swift
[178/236] Compiling OpenAPIRuntime Converter+Server.swift
[179/236] Compiling OpenAPIRuntime Converter.swift
[180/236] Compiling OpenAPIRuntime CurrencyExtensions.swift
[182/236] Compiling OpenAPIRuntime Acceptable.swift
[183/236] Compiling OpenAPIRuntime Base64EncodedData.swift
[184/236] Compiling OpenAPIRuntime ByteUtilities.swift
[185/236] Compiling OpenAPIRuntime ContentDisposition.swift
[186/236] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[187/236] Compiling OpenAPIRuntime Lock.swift
[188/236] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[189/236] Compiling OpenAPIRuntime OpenAPIValue.swift
[190/236] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[191/236] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[192/236] Compiling OpenAPIRuntime URICodeCodingKey.swift
[193/236] Compiling OpenAPIRuntime URICoderConfiguration.swift
[194/236] Compiling OpenAPIRuntime URIEncodedNode.swift
[195/236] Compiling OpenAPIRuntime URIParsedTypes.swift
[196/236] Compiling OpenAPIRuntime URIDecoder.swift
[197/236] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[198/236] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[199/236] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[200/236] Compiling OpenAPIRuntime ServerError.swift
[201/236] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[202/236] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[203/236] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[204/236] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[205/236] Compiling OpenAPIRuntime ServerSentEvents.swift
[206/236] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[207/236] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[208/236] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[209/236] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[210/236] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[211/236] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[212/236] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[213/236] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[214/236] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[215/236] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[216/236] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[217/236] Compiling OpenAPIRuntime MultipartValidation.swift
[218/236] Compiling OpenAPIRuntime ErrorExtensions.swift
[219/236] Compiling OpenAPIRuntime FoundationExtensions.swift
[220/236] Compiling OpenAPIRuntime ParameterStyles.swift
[221/236] Compiling OpenAPIRuntime ServerVariable.swift
[222/236] Compiling OpenAPIRuntime URLExtensions.swift
[223/236] Compiling OpenAPIRuntime Deprecated.swift
[224/236] Compiling OpenAPIRuntime ClientError.swift
[225/236] Compiling OpenAPIRuntime CodingErrors.swift
[226/236] Compiling OpenAPIRuntime RuntimeError.swift
[227/236] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[228/236] Compiling OpenAPIRuntime URIEncoder.swift
[229/236] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[230/236] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[231/236] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[232/236] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[233/236] Compiling OpenAPIRuntime URIParser.swift
[234/236] Compiling OpenAPIRuntime URISerializer.swift
[236/244] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[237/244] Compiling OpenAPIURLSession Lock.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...
[237/244] Running swift-openapi-generator
[238/244] Write sources
[240/244] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[241/244] Compiling OpenAPIURLSession URLSessionTransport.swift
[242/244] Compiling OpenAPIURLSession URLSession+Extensions.swift
[243/244] Emitting module OpenAPIURLSession
[244/244] Compiling OpenAPIURLSession BufferedStream.swift
[246/360] Compiling LemmyKit LemmyApi+ResolveCommentReport.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[247/360] Compiling LemmyKit LemmyApi+ResolveObject.swift
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:54:23: error: cannot find 'URLRequest' in scope
52 | )
53 |
54 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
55 | request.httpMethod = "POST"
56 | request.setValue("Bearer \(jwt)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let data: Data
65 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:67:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
65 | let response: URLResponse
66 | do {
67 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
68 | } catch {
69 | throw LemmyApiError.network(error)
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:72:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
72 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | throw LemmyApiError.unknownServerError(httpStatusCode: -1, error: nil)
74 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:76:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
74 | }
75 |
76 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
77 | case 200, 201:
78 | break
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
80 | throw LemmyApiError.unauthorized(message: nil)
81 | default:
82 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | }
84 |
/host/spi-builder-workspace/Sources/LemmyKit/LemmyApi+UploadImage.swift:96:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | guard let image = uploadResponse.files.first else {
96 | throw LemmyApiError.unknownServerError(httpStatusCode: httpResponse.statusCode, error: nil)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | }
98 |
[248/360] 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 |
[249/360] 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 |
[250/360] 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 |
[251/360] 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 |
[252/360] 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 |
[253/360] 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 |
[254/360] 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 |
[255/360] 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 |
[256/360] 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 |
[257/360] 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 |
[258/360] 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 |
[259/360] 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 |
[260/360] 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 |
[261/360] 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 |
[262/376] Compiling LemmyKit LemmyApi+EditSite.swift
[263/376] Compiling LemmyKit LemmyApi+ExportSettings.swift
[264/376] Compiling LemmyKit LemmyApi+FeaturePost.swift
[265/376] Compiling LemmyKit LemmyApi+FollowCommunity.swift
[266/376] Compiling LemmyKit LemmyApi+GenerateTotpSecret.swift
[267/376] Compiling LemmyKit LemmyApi+GetBannedPersons.swift
[268/376] Compiling LemmyKit LemmyApi+GetCaptcha.swift
[269/376] Compiling LemmyKit LemmyApi+GetComment.swift
[270/376] Compiling LemmyKit LemmyApi+GetComments+Community.swift
[271/376] Compiling LemmyKit LemmyApi+GetComments+ListingType.swift
[272/376] Compiling LemmyKit LemmyApi+GetComments+Parent.swift
[273/376] Compiling LemmyKit LemmyApi+GetComments+Post.swift
[274/376] Compiling LemmyKit LemmyApi+GetComments.swift
[275/376] Compiling LemmyKit LemmyApi+GetCommunity.swift
[276/376] Compiling LemmyKit LemmyApi+GetFederatedInstances.swift
[277/376] Compiling LemmyKit LemmyApi+GetImage.swift
[278/376] Compiling LemmyKit LemmyApi+GetModlog.swift
[279/376] Compiling LemmyKit LemmyApi+GetPersonDetails+id.swift
[280/376] Compiling LemmyKit LemmyApi+GetPersonDetails+username.swift
[281/376] Compiling LemmyKit LemmyApi+GetPersonMentions.swift
[282/376] Compiling LemmyKit LemmyApi+GetPost.swift
[283/376] Compiling LemmyKit LemmyApi+GetPosts+Community.swift
[284/376] Compiling LemmyKit LemmyApi+GetPosts+ListingType.swift
[285/376] Compiling LemmyKit LemmyApi+GetPosts.swift
[286/376] Compiling LemmyKit LemmyApi+GetPrivateMessages.swift
[287/376] Compiling LemmyKit LemmyApi+GetRegistrationApplication.swift
[288/376] Compiling LemmyKit LemmyApi+GetReplies.swift
[289/376] Compiling LemmyKit LemmyApi+GetReportCount.swift
[290/376] Compiling LemmyKit LemmyApi+GetSite.swift
[291/376] Compiling LemmyKit LemmyApi+GetSiteMetadata.swift
[292/376] Compiling LemmyKit LemmyApi+GetUnreadCount.swift
[293/376] Compiling LemmyKit LemmyApi+GetUnreadRegistrationApplicationCount.swift
[294/376] Compiling LemmyKit CommentSortType+Identifiable.swift
[295/376] Compiling LemmyKit CommentSortType+allCases.swift
[296/376] Compiling LemmyKit SortType+Identifiable.swift
[297/376] Compiling LemmyKit SortType+allCases.swift
[298/376] Compiling LemmyKit LemmyApi+AddAdmin.swift
[299/376] Compiling LemmyKit LemmyApi+AddModToCommunity.swift
[300/376] Compiling LemmyKit LemmyApi+ApproveRegistrationApplication.swift
[301/376] Compiling LemmyKit LemmyApi+BanFromCommunity.swift
[302/376] Compiling LemmyKit LemmyApi+BanPerson.swift
[303/376] Compiling LemmyKit LemmyApi+BlockCommunity.swift
[304/376] Compiling LemmyKit LemmyApi+BlockInstance.swift
[305/376] Compiling LemmyKit LemmyApi+BlockPerson.swift
[306/376] Compiling LemmyKit LemmyApi+ChangePassword.swift
[307/376] Compiling LemmyKit LemmyApi+CreateComment.swift
[308/376] Compiling LemmyKit LemmyApi+CreateCommentReport.swift
[309/376] Compiling LemmyKit LemmyApi+CreateCommunity.swift
[310/376] Compiling LemmyKit LemmyApi+CreateCustomEmoji.swift
[311/376] Compiling LemmyKit LemmyApi+HideCommunity.swift
[312/376] Compiling LemmyKit LemmyApi+HidePost.swift
[313/376] Compiling LemmyKit LemmyApi+ImportSettings.swift
[314/376] Compiling LemmyKit LemmyApi+LeaveAdmin.swift
[315/376] Compiling LemmyKit LemmyApi+LikeComment.swift
[316/376] Compiling LemmyKit LemmyApi+LikePost.swift
[317/376] Compiling LemmyKit LemmyApi+ListAllMedia.swift
[318/376] Compiling LemmyKit LemmyApi+ListCommentLikes.swift
[319/376] Compiling LemmyKit LemmyApi+ListCommentReports.swift
[320/376] Compiling LemmyKit LemmyApi+ListCommunities.swift
[321/376] Compiling LemmyKit LemmyApi+ListLogins.swift
[322/376] Compiling LemmyKit LemmyApi+ListMedia.swift
[323/376] Compiling LemmyKit LemmyApi+ListPostLikes.swift
[324/376] Compiling LemmyKit LemmyApi+ListPostReports.swift
[325/376] Compiling LemmyKit LemmyApi+ListPrivateMessageReports.swift
[326/376] Compiling LemmyKit LemmyApi+ListRegistrationApplications.swift
[327/376] Compiling LemmyKit LemmyApi+LockPost.swift
[328/376] Compiling LemmyKit LemmyApi+Login.swift
[329/376] Compiling LemmyKit LemmyApi+Logout.swift
[330/376] Compiling LemmyKit LemmyApi+MarkAsRead.swift
[331/376] Compiling LemmyKit LemmyApi+MarkPostAsRead.swift
[332/376] Compiling LemmyKit LemmyApi+PasswordChangeAfterReset.swift
[333/376] Compiling LemmyKit LemmyApi+PasswordReset.swift
[334/376] Compiling LemmyKit LemmyApi+PurgeComment.swift
[335/376] Compiling LemmyKit LemmyApi+PurgeCommunity.swift
[336/376] Compiling LemmyKit LemmyApi+PurgePerson.swift
[337/376] Compiling LemmyKit LemmyApi+PurgePost.swift
[338/376] Compiling LemmyKit LemmyApi+Register.swift
[339/376] Compiling LemmyKit LemmyApi+RemoveComment.swift
[340/376] Compiling LemmyKit LemmyApi+RemoveCommunity.swift
[341/376] Compiling LemmyKit LemmyApi+RemovePost.swift
[342/376] Compiling LemmyKit LemmyApi+ReportPrivateMessage.swift
[343/376] Compiling LemmyKit LemmyApi+CreatePost.swift
[344/376] Compiling LemmyKit LemmyApi+CreatePostReport.swift
[345/376] Compiling LemmyKit LemmyApi+CreatePrivateMessage.swift
[346/376] Compiling LemmyKit LemmyApi+CreateSite.swift
[347/376] Compiling LemmyKit LemmyApi+DeleteAccount.swift
[348/376] Compiling LemmyKit LemmyApi+DeleteComment.swift
[349/376] Compiling LemmyKit LemmyApi+DeleteCommunity.swift
[350/376] Compiling LemmyKit LemmyApi+DeleteCustomEmoji.swift
[351/376] Compiling LemmyKit LemmyApi+DeleteImage.swift
[352/376] Compiling LemmyKit LemmyApi+DeletePost.swift
[353/376] Compiling LemmyKit LemmyApi+DeletePrivateMessage.swift
[354/376] Compiling LemmyKit LemmyApi+DistinguishComment.swift
[355/376] Compiling LemmyKit LemmyApi+EditComment.swift
[356/376] Compiling LemmyKit LemmyApi+EditCommunity.swift
[357/376] Compiling LemmyKit LemmyApi+EditCustomEmoji.swift
[358/376] Compiling LemmyKit LemmyApi+EditPost.swift
[359/376] Compiling LemmyKit LemmyApi+EditPrivateMessage.swift
[360/376] Emitting module LemmyKit
[361/376] Compiling LemmyKit LemmyCredential.swift
[362/376] Compiling LemmyKit AuthorizationMiddleware.swift
[363/376] Compiling LemmyKit CommentPath.swift
[364/376] Compiling LemmyKit CommunityFilter.swift
[365/376] Compiling LemmyKit ContentFilter.swift
[366/376] Compiling LemmyKit Date+lemmyFormat.swift
[367/376] Compiling LemmyKit ImageFormat.swift
[368/376] Compiling LemmyKit LemmyDateTranscoder.swift
[369/376] Compiling LemmyKit LenientUrl.swift
[370/376] Compiling LemmyKit LikeStatus.swift
[371/376] Compiling LemmyKit MultipartFormData.swift
[372/376] Compiling LemmyKit URL+lenientString.swift
[373/376] Compiling LemmyKit UserAgentMiddleware.swift
[374/376] Compiling LemmyKit Client.swift
[375/376] Compiling LemmyKit Server.swift
[376/376] Compiling LemmyKit Types.swift
BUILD FAILURE 6.3 linux