Build Information
Failed to build LemmyKit, reference 0.5.1 (15270b), with Swift 6.2 for Linux on 14 Jul 2026 19:02:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-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.2
Building package at path: $PWD
https://github.com/shadone/LemmyKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:146297aca0eb7f3e338453cbf4c0aa72424647d7d0d3f35fda2f7ef7698dd3aa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-openapi-generator
Fetching https://github.com/apple/swift-openapi-urlsession
Fetching https://github.com/apple/swift-openapi-runtime
[1/1168] Fetching swift-openapi-urlsession
[1169/7884] Fetching swift-openapi-urlsession, swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-urlsession from cache (0.42s)
[202/6716] Fetching swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.54s)
[1/17851] Fetching swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-generator from cache (0.97s)
Computing version for https://github.com/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.3.1 (1.96s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-http-types
[1/1219] Fetching swift-http-types
[1220/27207] Fetching swift-http-types, swift-collections
Fetched https://github.com/apple/swift-http-types from cache (1.16s)
Fetched https://github.com/apple/swift-collections from cache (1.17s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.0 (1.34s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.6.0 (0.16s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.24s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.13.0 (0.22s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/jpsim/Yams
[1/6076] Fetching swift-algorithms
[548/24100] Fetching swift-algorithms, swift-argument-parser
[4494/35947] Fetching swift-algorithms, swift-argument-parser, yams
Fetched https://github.com/jpsim/Yams from cache (1.00s)
[1/161436] Fetching openapikit
Fetched https://github.com/apple/swift-algorithms from cache (4.64s)
Fetched https://github.com/apple/swift-argument-parser from cache (4.64s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (4.70s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.2.0 (4.88s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.92s)
Fetching https://github.com/apple/swift-numerics.git
[1/6441] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.88s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.02s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.14s)
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.2
Creating working copy for https://github.com/apple/swift-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-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-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.6.0
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 6.2.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.6.0
[0/32] Write sources
[8/32] Compiling _NumericsShims _NumericsShims.c
[8/32] Write sources
[12/32] Compiling writer.c
[13/32] Compiling parser.c
[14/32] Compiling reader.c
[15/32] Compiling api.c
[16/32] Compiling emitter.c
[17/32] Compiling scanner.c
[18/32] Write swift-version-24593BA9C3E375BF.txt
[20/98] Emitting module RealModule
[21/99] Compiling RealModule RelaxedArithmetic.swift
[22/99] Compiling OpenAPIKitCore AnyCodable.swift
[23/99] Compiling OpenAPIKitCore Either+Codable.swift
[24/101] Compiling RealModule Float80+Real.swift
[25/101] Compiling RealModule RealFunctions.swift
[26/101] Compiling RealModule Real.swift
[27/101] Compiling OpenAPIKitCore DiggingError.swift
[28/101] Compiling OpenAPIKitCore EitherDecodeNoTypesMatchedErrorExtensions.swift
[29/101] Compiling RealModule Float16+Real.swift
[30/101] Compiling OpenAPIKitCore GenericError.swift
[31/101] Compiling OpenAPIKitCore OpenAPIDecodingErrors.swift
[32/101] Compiling OpenAPIKitCore CodingPathError.swift
[33/101] Compiling OpenAPIKitCore DecodingErrorExtensions.swift
[34/102] Wrapping AST for RealModule for debugging
[36/127] Compiling ArgumentParserToolInfo ToolInfo.swift
[37/127] Emitting module ArgumentParserToolInfo
[38/149] Wrapping AST for ArgumentParserToolInfo for debugging
[40/175] Compiling ArgumentParser ParentCommand.swift
[41/175] Compiling ArgumentParser AsyncParsableCommand.swift
[42/175] Compiling ArgumentParser CommandConfiguration.swift
[43/175] Compiling ArgumentParser CommandGroup.swift
[44/175] Compiling ArgumentParser EnumerableFlag.swift
[45/175] Compiling ArgumentParser ExpressibleByArgument.swift
[46/175] Compiling ArgumentParser ParsableArguments.swift
[47/175] Compiling ArgumentParser ArgumentVisibility.swift
[48/175] Compiling ArgumentParser CompletionKind.swift
[49/175] Compiling ArgumentParser Errors.swift
[50/179] Compiling ArgumentParser CompletionsGenerator.swift
[51/179] Compiling ArgumentParser FishCompletionsGenerator.swift
[52/179] Compiling ArgumentParser ZshCompletionsGenerator.swift
[53/179] Compiling ArgumentParser Argument.swift
[54/179] Compiling ArgumentParser StringExtensions.swift
[55/179] Compiling ArgumentParser SwiftExtensions.swift
[56/179] Compiling ArgumentParser Tree.swift
[57/179] Compiling ArgumentParser BashCompletionsGenerator.swift
[58/179] Compiling ArgumentParser InputOrigin.swift
[59/179] Compiling ArgumentParser Mutex.swift
[60/179] Compiling ArgumentParser Platform.swift
[61/179] Compiling ArgumentParser SequenceExtensions.swift
[62/179] Compiling ArgumentParser ArgumentDecoder.swift
[63/179] Compiling ArgumentParser ArgumentDefinition.swift
[64/179] Compiling ArgumentParser ArgumentSet.swift
[65/179] Compiling ArgumentParser CommandParser.swift
[66/179] Compiling ArgumentParser InputKey.swift
[67/179] Compiling OpenAPIKitCore Optional+Zip.swift
[68/179] Compiling OpenAPIKitCore Result+Value.swift
[69/179] Compiling OpenAPIKitCore URL+Resolution.swift
[70/179] Compiling OpenAPIKitCore Validatable.swift
[73/179] Compiling ArgumentParser Flag.swift
[74/179] Compiling ArgumentParser NameSpecification.swift
[75/179] Compiling ArgumentParser Option.swift
[76/179] Compiling ArgumentParser OptionGroup.swift
[77/179] Compiling ArgumentParser ParsableCommand.swift
[78/179] Emitting module OpenAPIKitCore
[97/180] Emitting module Yams
[97/180] Wrapping AST for OpenAPIKitCore for debugging
[99/322] Wrapping AST for Yams for debugging
[101/322] Compiling OpenAPIKit DereferencedDocument.swift
[102/322] Compiling OpenAPIKit Document+URIResolution.swift
[103/322] Compiling OpenAPIKit Document.swift
[104/325] Compiling OpenAPIKit Either+Validatable.swift
[105/325] Compiling OpenAPIKit DocumentDecodingError.swift
[106/325] Compiling OpenAPIKit OperationDecodingError.swift
[110/325] Compiling Algorithms Trim.swift
[111/325] Compiling Algorithms Unique.swift
[112/325] Compiling Algorithms Windows.swift
[113/331] Compiling OpenAPIKit DocumentInfo.swift
[114/331] Compiling OpenAPIKit ResolvedDocument.swift
[115/331] Compiling OpenAPIKit Either+Convenience.swift
[116/331] Compiling OpenAPIKit Either+ExternallyDereferenceable.swift
[117/331] Compiling OpenAPIKit Either+LocallyDereferenceable.swift
[118/331] Compiling OpenAPIKit Either+Summarizable.swift
[122/331] Compiling OpenAPIKit Components.swift
[123/331] Compiling OpenAPIKit Content.swift
[124/331] Compiling OpenAPIKit ContentEncoding.swift
[125/331] Compiling OpenAPIKit ContentPositionalEncoding.swift
[126/331] Compiling OpenAPIKit DereferencedContent.swift
[127/331] Compiling OpenAPIKit DereferencedContentEncoding.swift
[128/331] Compiling OpenAPIKit DereferencedContentPositionalEncoding.swift
[129/331] Compiling OpenAPIKit Discriminator.swift
[130/331] Compiling OpenAPIKit Callbacks.swift
[131/331] Compiling OpenAPIKit CodableVendorExtendable.swift
[132/331] Compiling OpenAPIKit Components+JSONReference.swift
[133/331] Compiling OpenAPIKit Components+Locatable.swift
[134/331] Compiling OpenAPIKit Link.swift
[135/331] Compiling OpenAPIKit OpenAPI.swift
[136/331] Compiling OpenAPIKit OpenAPIConditionalWarnings.swift
[137/331] Compiling OpenAPIKit DereferencedOperation.swift
[138/331] Compiling OpenAPIKit Operation.swift
[139/331] Compiling OpenAPIKit ResolvedEndpoint.swift
[140/331] Compiling OpenAPIKit DereferencedParameter.swift
[141/331] Compiling OpenAPIKit DereferencedSchemaContext.swift
[142/331] Compiling OpenAPIKit DereferencedResponse.swift
[143/331] Compiling OpenAPIKit Response.swift
[144/331] Compiling OpenAPIKit RuntimeExpression.swift
[145/331] Compiling OpenAPIKit SchemaProtocols.swift
[146/331] Compiling OpenAPIKit PathItem.swift
[147/331] Compiling OpenAPIKit ResolvedRoute.swift
[148/331] Compiling OpenAPIKit DereferencedRequest.swift
[149/331] Compiling OpenAPIKit Request.swift
[150/331] Compiling OpenAPIKit TypesAndFormats.swift
[151/331] Compiling OpenAPIKit DereferencedSecurityRequirement.swift
[152/331] Compiling OpenAPIKit OAuthFlows.swift
[153/331] Compiling OpenAPIKit SecurityScheme.swift
[154/331] Compiling OpenAPIKit Server.swift
[155/340] Compiling ArgumentParser AsyncCompletionsValidator.swift
[156/340] Compiling ArgumentParser CodingKeyValidator.swift
[157/340] Compiling ArgumentParser NonsenseFlagsValidator.swift
[158/340] Compiling ArgumentParser ParsableArgumentsValidation.swift
[159/340] Compiling ArgumentParser PositionalArgumentsValidator.swift
[160/340] Compiling ArgumentParser UniqueNamesValidator.swift
[161/340] Emitting module Algorithms
[162/341] Emitting module ArgumentParser
[170/341] Compiling OpenAPIKit ExampleValue.swift
[171/341] Compiling OpenAPIKit ExternalDocumentation.swift
[172/341] Compiling OpenAPIKit ExternalLoader.swift
[173/341] Compiling OpenAPIKit DereferencedHeader.swift
[174/341] Compiling OpenAPIKit Header.swift
[175/341] Compiling OpenAPIKit JSONReference+URIResolution.swift
[176/341] Compiling OpenAPIKit JSONReference.swift
[197/341] Compiling OpenAPIKit30 Optional+ExternallyDereferenceable.swift
[198/341] Compiling OpenAPIKit30 OrderedDictionary+ExternallyDereferenceable.swift
[199/341] Compiling OpenAPIKit30 OrderedDictionry+LocallyDereferenceable.swift
[200/341] Compiling OpenAPIKit30 Validation+Builtins.swift
[201/341] Compiling OpenAPIKit30 Validation.swift
[202/352] Wrapping AST for Algorithms for debugging
[203/352] Wrapping AST for ArgumentParser for debugging
[215/352] Emitting module OpenAPIKit30
[262/352] Compiling OpenAPIKit Optional+ExternallyDereferenceable.swift
[263/352] Compiling OpenAPIKit OrderedDictionary+ExternallyDereferenceable.swift
[264/352] Compiling OpenAPIKit OrderedDictionry+LocallyDereferenceable.swift
[265/352] Compiling OpenAPIKit ReferenceValidations.swift
[266/352] Emitting module OpenAPIKit
[302/352] Compiling OpenAPIKit Validation+Builtins.swift
[303/352] Compiling OpenAPIKit Validation.swift
[304/352] Compiling OpenAPIKit Validator+Convenience.swift
[305/352] Compiling OpenAPIKit Validator.swift
[306/352] Compiling OpenAPIKit XML.swift
[307/352] Compiling OpenAPIKit _CoreReExport.swift
[311/352] Compiling OpenAPIKit Parameter.swift
[312/352] Compiling OpenAPIKit ParameterContext.swift
[313/352] Compiling OpenAPIKit ParameterContextLocation.swift
[314/352] Compiling OpenAPIKit ParameterSchemaContext.swift
[315/352] Compiling OpenAPIKit ParameterSchemaContextStyle.swift
[316/352] Compiling OpenAPIKit DereferencedPathItem.swift
[326/353] Wrapping AST for OpenAPIKit30 for debugging
[348/354] Wrapping AST for OpenAPIKit for debugging
[350/357] Compiling OpenAPIKitCompat Either+Map.swift
[351/357] Emitting module OpenAPIKitCompat
[352/357] Compiling OpenAPIKitCompat Compat30To31.swift
[353/358] Wrapping AST for OpenAPIKitCompat for debugging
[355/440] Compiling _OpenAPIGeneratorCore ResponseKind.swift
[356/440] Compiling _OpenAPIGeneratorCore TypedResponse.swift
[357/440] Compiling _OpenAPIGeneratorCore TypedResponseHeader.swift
[358/440] Compiling _OpenAPIGeneratorCore acceptHeaderContentTypes.swift
[359/440] Compiling _OpenAPIGeneratorCore translateResponse.swift
[360/440] Compiling _OpenAPIGeneratorCore translateResponseHeader.swift
[361/440] Compiling _OpenAPIGeneratorCore translateResponseOutcome.swift
[362/440] Compiling _OpenAPIGeneratorCore ServerTranslator.swift
[363/440] Compiling _OpenAPIGeneratorCore translateServerMethod.swift
[364/440] Compiling _OpenAPIGeneratorCore TranslatorProtocol.swift
[365/440] Compiling _OpenAPIGeneratorCore Builtins.swift
[366/451] Compiling _OpenAPIGeneratorCore ReferenceStack.swift
[367/451] Compiling _OpenAPIGeneratorCore SafeNameGenerator.swift
[368/451] Compiling _OpenAPIGeneratorCore TypeAssigner.swift
[369/451] Compiling _OpenAPIGeneratorCore TypeLocation.swift
[370/451] Compiling _OpenAPIGeneratorCore TypeMatcher.swift
[371/451] Compiling _OpenAPIGeneratorCore TypeName.swift
[372/451] Compiling _OpenAPIGeneratorCore TypeUsage.swift
[373/451] Compiling _OpenAPIGeneratorCore isSchemaSupported.swift
[374/451] Compiling _OpenAPIGeneratorCore TypesFileTranslator.swift
[375/451] Compiling _OpenAPIGeneratorCore translateAPIProtocol.swift
[376/451] Compiling _OpenAPIGeneratorCore translateBoxedTypes.swift
[377/451] Compiling _OpenAPIGeneratorCore translateComponentHeaders.swift
[378/451] Compiling _OpenAPIGeneratorCore translateComponentParameters.swift
[379/451] Compiling _OpenAPIGeneratorCore translateComponentRequestBodies.swift
[380/451] Compiling _OpenAPIGeneratorCore translateComponentResponses.swift
[381/451] Compiling _OpenAPIGeneratorCore translateComponents.swift
[382/451] Compiling _OpenAPIGeneratorCore translateOperations.swift
[383/451] Compiling _OpenAPIGeneratorCore translateSchemas.swift
[384/451] Compiling _OpenAPIGeneratorCore translateServers.swift
[385/451] Compiling _OpenAPIGeneratorCore translateServersVariables.swift
[386/451] Compiling _OpenAPIGeneratorCore TypeOverrides.swift
[387/451] Compiling _OpenAPIGeneratorCore YamlFileDiagnosticsCollector.swift
[388/451] Compiling _OpenAPIGeneratorCore MultipartContentInspector.swift
[389/451] Compiling _OpenAPIGeneratorCore translateMultipart.swift
[390/451] Compiling _OpenAPIGeneratorCore MultiplexTranslator.swift
[391/451] Compiling _OpenAPIGeneratorCore OperationDescription.swift
[392/451] Compiling _OpenAPIGeneratorCore TypedParameter.swift
[393/451] Compiling _OpenAPIGeneratorCore translateParameter.swift
[394/451] Compiling _OpenAPIGeneratorCore DeclarationRecursionDetector.swift
[395/451] Compiling _OpenAPIGeneratorCore RecursionDetector.swift
[396/451] Compiling _OpenAPIGeneratorCore TypedRequestBody.swift
[397/451] Compiling _OpenAPIGeneratorCore translateRequestBody.swift
[398/451] Compiling _OpenAPIGeneratorCore HTTPStatusCodes.swift
[399/451] Compiling _OpenAPIGeneratorCore Constants.swift
[400/451] Compiling _OpenAPIGeneratorCore DiscriminatorExtensions.swift
[401/451] Compiling _OpenAPIGeneratorCore SchemaOverrides.swift
[402/451] Compiling _OpenAPIGeneratorCore StructBlueprint.swift
[403/451] Compiling _OpenAPIGeneratorCore CodingStrategy.swift
[404/451] Compiling _OpenAPIGeneratorCore ContentInspector.swift
[405/451] Compiling _OpenAPIGeneratorCore ContentType.swift
[406/451] Compiling _OpenAPIGeneratorCore SchemaContent.swift
[407/451] Compiling _OpenAPIGeneratorCore FileTranslator+FeatureFlags.swift
[408/451] Compiling _OpenAPIGeneratorCore FileTranslator.swift
[409/451] Compiling _OpenAPIGeneratorCore MultipartAdditionalProperties.swift
[410/451] Compiling _OpenAPIGeneratorCore MultipartContent.swift
[411/451] Emitting module _OpenAPIGeneratorCore
[412/451] Compiling _OpenAPIGeneratorCore DocumentFilter.swift
[413/451] Compiling _OpenAPIGeneratorCore FilteredDocument.swift
[414/451] Compiling _OpenAPIGeneratorCore ParsedOpenAPIRepresentation.swift
[415/451] Compiling _OpenAPIGeneratorCore RenderedSwiftRepresentation.swift
[416/451] Compiling _OpenAPIGeneratorCore StructuredSwiftRepresentation.swift
[417/451] Compiling _OpenAPIGeneratorCore ParserProtocol.swift
[418/451] Compiling _OpenAPIGeneratorCore YamsParser.swift
[419/451] Compiling _OpenAPIGeneratorCore validateDoc.swift
[420/451] Compiling _OpenAPIGeneratorCore PlatformChecks.swift
[421/451] Compiling _OpenAPIGeneratorCore RendererProtocol.swift
[422/451] Compiling _OpenAPIGeneratorCore TextBasedRenderer.swift
[423/451] Compiling _OpenAPIGeneratorCore ClientTranslator.swift
[424/451] Compiling _OpenAPIGeneratorCore Config.swift
[425/451] Compiling _OpenAPIGeneratorCore Diagnostics.swift
[426/451] Compiling _OpenAPIGeneratorCore DiagnosticsCollectorProvider.swift
[427/451] Compiling _OpenAPIGeneratorCore Errors.swift
[428/451] Compiling _OpenAPIGeneratorCore Foundation.swift
[429/451] Compiling _OpenAPIGeneratorCore OpenAPIKit.swift
[430/451] Compiling _OpenAPIGeneratorCore String.swift
[431/451] Compiling _OpenAPIGeneratorCore SwiftStandardLibrary.swift
[432/451] Compiling _OpenAPIGeneratorCore FeatureFlags.swift
[433/451] Compiling _OpenAPIGeneratorCore GeneratorMode.swift
[434/451] Compiling _OpenAPIGeneratorCore GeneratorPipeline.swift
[435/451] Compiling _OpenAPIGeneratorCore GeneratorPipelineStage.swift
[436/451] Compiling _OpenAPIGeneratorCore translateClientMethod.swift
[437/451] Compiling _OpenAPIGeneratorCore translateAllAnyOneOf.swift
[438/451] Compiling _OpenAPIGeneratorCore translateArray.swift
[439/451] Compiling _OpenAPIGeneratorCore translateCodable.swift
[440/451] Compiling _OpenAPIGeneratorCore translateObjectStruct.swift
[441/451] Compiling _OpenAPIGeneratorCore translateRawEnum.swift
[442/451] Compiling _OpenAPIGeneratorCore translateRawRepresentableEnum.swift
[443/451] Compiling _OpenAPIGeneratorCore translateSchema.swift
[444/451] Compiling _OpenAPIGeneratorCore translateStructBlueprint.swift
[445/451] Compiling _OpenAPIGeneratorCore translateTypealias.swift
[446/451] Compiling _OpenAPIGeneratorCore Annotations.swift
[447/451] Compiling _OpenAPIGeneratorCore CommentExtensions.swift
[448/452] Wrapping AST for _OpenAPIGeneratorCore for debugging
[450/461] Compiling swift_openapi_generator Tool.swift
[451/461] Compiling swift_openapi_generator PluginSource.swift
[452/462] Compiling swift_openapi_generator UserConfig.swift
[453/462] Compiling swift_openapi_generator Extensions.swift
[454/462] Compiling swift_openapi_generator FilterCommand.swift
[455/462] Emitting module swift_openapi_generator
[456/462] Compiling swift_openapi_generator GenerateOptions.swift
[457/462] Compiling swift_openapi_generator GenerateOptions+runGenerator.swift
[458/462] Compiling swift_openapi_generator GenerateCommand.swift
[459/462] Compiling swift_openapi_generator runGenerator.swift
[460/463] Wrapping AST for swift-openapi-generator for debugging
[461/463] Write Objects.LinkFileList
[462/463] Linking swift-openapi-generator-tool
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/44] Write sources
[18/44] Compiling _NumericsShims _NumericsShims.c
[19/44] Write sources
[22/44] Compiling reader.c
[23/44] Compiling writer.c
[24/44] Compiling parser.c
[25/44] Write swift-version-24593BA9C3E375BF.txt
[26/44] Compiling api.c
[27/44] Compiling emitter.c
[28/62] Compiling scanner.c
[29/71] Wrapping AST for ArgumentParserToolInfo for debugging
[30/71] Wrapping AST for RealModule for debugging
[31/71] Wrapping AST for OpenAPIKitCore for debugging
[32/71] Wrapping AST for Yams for debugging
[33/71] Wrapping AST for Algorithms for debugging
[34/71] Wrapping AST for OpenAPIKit for debugging
[35/71] Wrapping AST for ArgumentParser for debugging
[37/71] Compiling HTTPTypes HTTPParsedFields.swift
[38/72] Compiling HTTPTypes HTTPRequest+URL.swift
[38/72] Wrapping AST for OpenAPIKit30 for debugging
[40/72] Compiling HTTPTypes ISOLatin1String.swift
[41/72] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[42/72] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[43/74] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[44/74] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[45/74] Compiling InternalCollectionsUtilities _SortedCollection.swift
[46/74] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[47/74] Compiling InternalCollectionsUtilities Debugging.swift
[48/74] Compiling InternalCollectionsUtilities Descriptions.swift
[49/74] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[50/74] Compiling HTTPTypes HTTPResponse.swift
[50/74] Wrapping AST for OpenAPIKitCompat for debugging
[52/74] Compiling HTTPTypes NIOLock.swift
[53/74] Compiling HTTPTypes HTTPRequest.swift
[54/74] Compiling HTTPTypes HTTPField.swift
[55/74] Compiling HTTPTypes HTTPFieldName.swift
[56/74] Compiling InternalCollectionsUtilities Span+Extras.swift
[57/74] Emitting module InternalCollectionsUtilities
[58/74] Compiling InternalCollectionsUtilities String+Padding.swift
[59/74] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[60/74] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[61/74] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[62/74] Compiling InternalCollectionsUtilities Integer rank.swift
[63/74] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[64/74] Compiling InternalCollectionsUtilities UInt+reversed.swift
[64/75] Wrapping AST for _OpenAPIGeneratorCore for debugging
[67/111] Compiling ContainersPreview Container+SpanwiseZip.swift
[68/111] Compiling ContainersPreview Container.swift
[69/111] Compiling ContainersPreview ContainerIterator.swift
[70/111] Compiling ContainersPreview DynamicContainer.swift
[71/111] Compiling ContainersPreview MutableContainer.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
[77/115] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[78/115] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[79/115] Compiling ContainersPreview BorrowingSequence.swift
[80/115] Compiling ContainersPreview BidirectionalContainer.swift
[81/115] Compiling ContainersPreview Container+Filter.swift
[82/115] Compiling ContainersPreview Producer+Map.swift
[83/115] Compiling ContainersPreview Producer+Reduce.swift
[84/115] Compiling ContainersPreview Producer.swift
[85/115] Compiling ContainersPreview InputSpan.swift
[86/115] Compiling ContainersPreview MutableRef.swift
[86/115] Wrapping AST for swift-openapi-generator for debugging
[87/115] Write Objects.LinkFileList
[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] Emitting module ContainersPreview
[95/115] Compiling ContainersPreview Ref.swift
[96/115] Compiling ContainersPreview Shared.swift
[97/115] Compiling ContainersPreview SpanIterator.swift
[98/115] Compiling ContainersPreview UniqueBox.swift
[99/115] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[100/115] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[101/115] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[102/115] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[103/115] Compiling ContainersPreview BorrowingSequence+Algorithms.swift
[104/115] Compiling ContainersPreview OutputSpan+Extras.swift
[105/115] Compiling ContainersPreview TemporaryAllocation.swift
[106/115] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[107/115] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[108/115] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[110/157] Compiling DequeModule UniqueDeque+Container.swift
[111/157] Compiling DequeModule UniqueDeque+Deprecated.swift
[112/157] Compiling DequeModule UniqueDeque+Descriptions.swift
[113/157] Compiling DequeModule UniqueDeque+Equatable.swift
[114/157] Compiling DequeModule UniqueDeque+Experimental.swift
[115/162] Compiling DequeModule _DequeBuffer.swift
[116/162] Compiling DequeModule _DequeBufferHeader.swift
[117/162] Compiling DequeModule RigidDeque+Append.swift
[118/162] Compiling DequeModule RigidDeque+Consumption.swift
[119/162] Compiling DequeModule RigidDeque+Container.swift
[120/162] Compiling DequeModule RigidDeque+Descriptions.swift
[120/162] Linking swift-openapi-generator-tool
[122/162] Compiling DequeModule RigidDeque+Equatable.swift
[123/162] Compiling DequeModule RigidDeque+Experimental.swift
[124/162] Compiling DequeModule RigidDeque+Hashable.swift
[125/162] Compiling DequeModule RigidDeque+Initializers.swift
[126/162] Compiling DequeModule RigidDeque+Insertions.swift
[127/162] Compiling DequeModule RigidDeque+Prepend.swift
[128/162] Compiling DequeModule UniqueDeque+Hashable.swift
[129/162] Compiling DequeModule UniqueDeque+Initializers.swift
[130/162] Compiling DequeModule UniqueDeque+Insertions.swift
[131/162] Compiling DequeModule UniqueDeque+Prepend.swift
[132/162] Compiling DequeModule UniqueDeque+Removals.swift
[133/162] Compiling DequeModule Deque+Codable.swift
[134/162] Compiling DequeModule Deque+Collection.swift
[135/162] Compiling DequeModule Deque+CustomReflectable.swift
[136/162] Compiling DequeModule Deque+Descriptions.swift
[137/162] Compiling DequeModule Deque+Equatable.swift
[138/162] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[139/162] Compiling DequeModule Deque+Extras.swift
[140/162] Compiling DequeModule Deque+Hashable.swift
[141/162] Compiling DequeModule Deque+Testing.swift
[142/162] Compiling DequeModule Deque._Storage.swift
[143/162] Compiling DequeModule Deque._UnsafeHandle.swift
[144/162] Compiling DequeModule Deque.swift
[145/162] Compiling DequeModule RigidDeque+Removals.swift
[146/162] Compiling DequeModule RigidDeque+Replacements.swift
[147/162] Compiling DequeModule RigidDeque+Testing.swift
[148/162] Compiling DequeModule RigidDeque.swift
[149/162] Compiling DequeModule UniqueDeque+Append.swift
[150/162] Compiling DequeModule UniqueDeque+Consumption.swift
[151/162] Emitting module HTTPTypes
[154/162] Compiling HTTPTypes HTTPFields.swift
[156/227] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[157/227] Compiling OpenAPIRuntime ServerSentEvents.swift
[158/227] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[159/227] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[160/227] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[161/227] Emitting module DequeModule
[163/228] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[164/228] Compiling OpenAPIRuntime URICodeCodingKey.swift
[165/228] Compiling OpenAPIRuntime URICoderConfiguration.swift
[166/228] Compiling OpenAPIRuntime URIEncodedNode.swift
[167/228] Compiling OpenAPIRuntime URIParsedTypes.swift
[168/228] Compiling OpenAPIRuntime URIDecoder.swift
[169/228] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[170/228] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[171/228] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.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
[181/236] Compiling OpenAPIRuntime ErrorExtensions.swift
[182/236] Compiling OpenAPIRuntime FoundationExtensions.swift
[183/236] Compiling OpenAPIRuntime ParameterStyles.swift
[184/236] Compiling OpenAPIRuntime ServerVariable.swift
[185/236] Compiling OpenAPIRuntime URLExtensions.swift
[186/236] Compiling OpenAPIRuntime Deprecated.swift
[187/236] Compiling OpenAPIRuntime ClientError.swift
[188/236] Compiling OpenAPIRuntime CodingErrors.swift
[189/236] Compiling OpenAPIRuntime RuntimeError.swift
[190/236] Compiling OpenAPIRuntime Acceptable.swift
[191/236] Compiling OpenAPIRuntime Base64EncodedData.swift
[192/236] Compiling OpenAPIRuntime ByteUtilities.swift
[193/236] Compiling OpenAPIRuntime ContentDisposition.swift
[194/236] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[195/236] Compiling OpenAPIRuntime Lock.swift
[196/236] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[197/236] Compiling OpenAPIRuntime OpenAPIValue.swift
[198/236] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[199/236] Emitting module OpenAPIRuntime
[200/236] Compiling OpenAPIRuntime ServerError.swift
[201/236] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[202/236] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[203/236] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[209/236] Compiling OpenAPIRuntime ClientTransport.swift
[210/236] Compiling OpenAPIRuntime CurrencyTypes.swift
[211/236] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[212/236] Compiling OpenAPIRuntime HTTPBody.swift
[213/236] Compiling OpenAPIRuntime QuerySpaceNormalizingMiddleware.swift
[214/236] Compiling OpenAPIRuntime SendableMetatype.swift
[215/236] Compiling OpenAPIRuntime ServerTransport.swift
[216/236] Compiling OpenAPIRuntime UniversalClient.swift
[217/236] Compiling OpenAPIRuntime UniversalServer.swift
[218/236] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[219/236] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[220/236] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[221/236] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[222/236] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[223/236] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[224/236] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[225/236] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[226/236] Compiling OpenAPIRuntime MultipartValidation.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...
[226/236] Running swift-openapi-generator
[227/236] Write sources
[229/236] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[230/236] Compiling OpenAPIRuntime URIEncoder.swift
[231/236] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[232/236] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[233/236] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[234/236] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[235/236] Compiling OpenAPIRuntime URIParser.swift
[236/236] Compiling OpenAPIRuntime URISerializer.swift
[238/244] Compiling OpenAPIURLSession URLSession+Extensions.swift
[239/244] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[240/244] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[241/244] Compiling OpenAPIURLSession URLSessionTransport.swift
[242/244] Compiling OpenAPIURLSession BufferedStream.swift
[243/244] Emitting module OpenAPIURLSession
[244/244] Compiling OpenAPIURLSession Lock.swift
[246/360] Compiling LemmyKit LemmyApi+EditSite.swift
[247/360] Compiling LemmyKit LemmyApi+ExportSettings.swift
[248/360] Compiling LemmyKit LemmyApi+FeaturePost.swift
[249/360] Compiling LemmyKit LemmyApi+FollowCommunity.swift
[250/360] Compiling LemmyKit LemmyApi+GenerateTotpSecret.swift
[251/360] Compiling LemmyKit LemmyApi+GetBannedPersons.swift
[252/360] Compiling LemmyKit LemmyApi+GetCaptcha.swift
[253/360] Compiling LemmyKit LemmyApi+GetComment.swift
[254/360] Compiling LemmyKit LemmyApi+GetComments+Community.swift
[255/360] Compiling LemmyKit LemmyApi+GetComments+ListingType.swift
[256/360] Compiling LemmyKit LemmyApi+GetComments+Parent.swift
[257/360] Compiling LemmyKit LemmyApi+GetComments+Post.swift
[258/360] Compiling LemmyKit LemmyApi+GetComments.swift
[259/360] Compiling LemmyKit LemmyApi+GetCommunity.swift
[260/360] Compiling LemmyKit LemmyApi+GetFederatedInstances.swift
[261/360] Compiling LemmyKit LemmyApi+GetImage.swift
[262/376] Compiling LemmyKit LemmyApi+GetModlog.swift
[263/376] Compiling LemmyKit LemmyApi+GetPersonDetails+id.swift
[264/376] Compiling LemmyKit LemmyApi+GetPersonDetails+username.swift
[265/376] Compiling LemmyKit LemmyApi+GetPersonMentions.swift
[266/376] Compiling LemmyKit LemmyApi+GetPost.swift
[267/376] Compiling LemmyKit LemmyApi+GetPosts+Community.swift
[268/376] Compiling LemmyKit LemmyApi+GetPosts+ListingType.swift
[269/376] Compiling LemmyKit LemmyApi+GetPosts.swift
[270/376] Compiling LemmyKit LemmyApi+GetPrivateMessages.swift
[271/376] Compiling LemmyKit LemmyApi+GetRegistrationApplication.swift
[272/376] Compiling LemmyKit LemmyApi+GetReplies.swift
[273/376] Compiling LemmyKit LemmyApi+GetReportCount.swift
[274/376] Compiling LemmyKit LemmyApi+GetSite.swift
[275/376] Compiling LemmyKit LemmyApi+GetSiteMetadata.swift
[276/376] Compiling LemmyKit LemmyApi+GetUnreadCount.swift
[277/376] Compiling LemmyKit LemmyApi+GetUnreadRegistrationApplicationCount.swift
[278/376] Compiling LemmyKit CommentSortType+Identifiable.swift
[279/376] Compiling LemmyKit CommentSortType+allCases.swift
[280/376] Compiling LemmyKit SortType+Identifiable.swift
[281/376] Compiling LemmyKit SortType+allCases.swift
[282/376] Compiling LemmyKit LemmyApi+AddAdmin.swift
[283/376] Compiling LemmyKit LemmyApi+AddModToCommunity.swift
[284/376] Compiling LemmyKit LemmyApi+ApproveRegistrationApplication.swift
[285/376] Compiling LemmyKit LemmyApi+BanFromCommunity.swift
[286/376] Compiling LemmyKit LemmyApi+BanPerson.swift
[287/376] Compiling LemmyKit LemmyApi+BlockCommunity.swift
[288/376] Compiling LemmyKit LemmyApi+BlockInstance.swift
[289/376] Compiling LemmyKit LemmyApi+BlockPerson.swift
[290/376] Compiling LemmyKit LemmyApi+ChangePassword.swift
[291/376] Compiling LemmyKit LemmyApi+CreateComment.swift
[292/376] Compiling LemmyKit LemmyApi+CreateCommentReport.swift
[293/376] Compiling LemmyKit LemmyApi+CreateCommunity.swift
[294/376] Compiling LemmyKit LemmyApi+CreateCustomEmoji.swift
[295/376] Compiling LemmyKit LemmyApi+HideCommunity.swift
[296/376] Compiling LemmyKit LemmyApi+HidePost.swift
[297/376] Compiling LemmyKit LemmyApi+ImportSettings.swift
[298/376] Compiling LemmyKit LemmyApi+LeaveAdmin.swift
[299/376] Compiling LemmyKit LemmyApi+LikeComment.swift
[300/376] Compiling LemmyKit LemmyApi+LikePost.swift
[301/376] Compiling LemmyKit LemmyApi+ListAllMedia.swift
[302/376] Compiling LemmyKit LemmyApi+ListCommentLikes.swift
[303/376] Compiling LemmyKit LemmyApi+ListCommentReports.swift
[304/376] Compiling LemmyKit LemmyApi+ListCommunities.swift
[305/376] Compiling LemmyKit LemmyApi+ListLogins.swift
[306/376] Compiling LemmyKit LemmyApi+ListMedia.swift
[307/376] Compiling LemmyKit LemmyApi+ListPostLikes.swift
[308/376] Compiling LemmyKit LemmyApi+ListPostReports.swift
[309/376] Compiling LemmyKit LemmyApi+ListPrivateMessageReports.swift
[310/376] Compiling LemmyKit LemmyApi+ListRegistrationApplications.swift
[311/376] Compiling LemmyKit LemmyApi+CreatePost.swift
[312/376] Compiling LemmyKit LemmyApi+CreatePostReport.swift
[313/376] Compiling LemmyKit LemmyApi+CreatePrivateMessage.swift
[314/376] Compiling LemmyKit LemmyApi+CreateSite.swift
[315/376] Compiling LemmyKit LemmyApi+DeleteAccount.swift
[316/376] Compiling LemmyKit LemmyApi+DeleteComment.swift
[317/376] Compiling LemmyKit LemmyApi+DeleteCommunity.swift
[318/376] Compiling LemmyKit LemmyApi+DeleteCustomEmoji.swift
[319/376] Compiling LemmyKit LemmyApi+DeleteImage.swift
[320/376] Compiling LemmyKit LemmyApi+DeletePost.swift
[321/376] Compiling LemmyKit LemmyApi+DeletePrivateMessage.swift
[322/376] Compiling LemmyKit LemmyApi+DistinguishComment.swift
[323/376] Compiling LemmyKit LemmyApi+EditComment.swift
[324/376] Compiling LemmyKit LemmyApi+EditCommunity.swift
[325/376] Compiling LemmyKit LemmyApi+EditCustomEmoji.swift
[326/376] Compiling LemmyKit LemmyApi+EditPost.swift
[327/376] Compiling LemmyKit LemmyApi+EditPrivateMessage.swift
[328/376] Emitting module LemmyKit
[329/376] Compiling LemmyKit LemmyApi+LockPost.swift
[330/376] Compiling LemmyKit LemmyApi+Login.swift
[331/376] Compiling LemmyKit LemmyApi+Logout.swift
[332/376] Compiling LemmyKit LemmyApi+MarkAsRead.swift
[333/376] Compiling LemmyKit LemmyApi+MarkPostAsRead.swift
[334/376] Compiling LemmyKit LemmyApi+PasswordChangeAfterReset.swift
[335/376] Compiling LemmyKit LemmyApi+PasswordReset.swift
[336/376] Compiling LemmyKit LemmyApi+PurgeComment.swift
[337/376] Compiling LemmyKit LemmyApi+PurgeCommunity.swift
[338/376] Compiling LemmyKit LemmyApi+PurgePerson.swift
[339/376] Compiling LemmyKit LemmyApi+PurgePost.swift
[340/376] Compiling LemmyKit LemmyApi+Register.swift
[341/376] Compiling LemmyKit LemmyApi+RemoveComment.swift
[342/376] Compiling LemmyKit LemmyApi+RemoveCommunity.swift
[343/376] Compiling LemmyKit LemmyApi+RemovePost.swift
[344/376] Compiling LemmyKit LemmyApi+ReportPrivateMessage.swift
[345/376] 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 |
[346/376] 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 |
[347/376] 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 |
[348/376] 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 |
[349/376] 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 |
[350/376] 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 |
[351/376] 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 |
[352/376] 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 |
[353/376] 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 |
[354/376] 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 |
[355/376] 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 |
[356/376] 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 |
[357/376] 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 |
[358/376] 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 |
[359/376] 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 |
[360/376] 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 |
[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 Types.swift
[375/376] Compiling LemmyKit Client.swift
[376/376] Compiling LemmyKit Server.swift
BUILD FAILURE 6.2 linux