The Swift Package Index logo.Swift Package Index

Build Information

Failed to build soto-codegenerator, reference 7.10.0 (e747d3), with Swift 6.3 for Android on 2 Oct 2026 21:31:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/soto-project/soto-codegenerator.git
Reference: 7.10.0
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/soto-project/soto-codegenerator
 * tag               7.10.0     -> FETCH_HEAD
HEAD is now at e747d30 Support service specific environment endpoint overrides (#101)
Cloned https://github.com/soto-project/soto-codegenerator.git
Revision (git rev-parse @):
e747d30c128a4e013529ec3d14b0d4407d52c7cd
SUCCESS checkout https://github.com/soto-project/soto-codegenerator.git at 7.10.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/soto-project/soto-codegenerator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:8ca9e1e6d70fd53f5b05e4f64d92569d697563f7f457a1485802bc9eb2cd1382
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/soto-project/soto-smithy.git
Fetching https://github.com/hummingbird-project/swift-mustache.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/2099] Fetching swift-mustache
[2100/3959] Fetching swift-mustache, soto-smithy
[2584/12191] Fetching swift-mustache, soto-smithy, swift-log
[5031/31201] Fetching swift-mustache, soto-smithy, swift-log, swift-argument-parser
Fetched https://github.com/soto-project/soto-smithy.git from cache (0.51s)
[4899/29341] Fetching swift-mustache, swift-log, swift-argument-parser
Fetched https://github.com/hummingbird-project/swift-mustache.git from cache (0.51s)
[3073/27242] Fetching swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (0.81s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.81s)
Computing version for https://github.com/soto-project/soto-smithy.git
Computed https://github.com/soto-project/soto-smithy.git at 0.4.10 (1.81s)
Computing version for https://github.com/hummingbird-project/swift-mustache.git
Computed https://github.com/hummingbird-project/swift-mustache.git at 2.1.1 (0.15s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.18s)
Creating working copy for https://github.com/soto-project/soto-smithy.git
Working copy of https://github.com/soto-project/soto-smithy.git resolved at 0.4.10
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/hummingbird-project/swift-mustache.git
Working copy of https://github.com/hummingbird-project/swift-mustache.git resolved at 2.1.1
[1/1] Compiling plugin SotoModelDownloaderPlugin
[2/2] Compiling plugin SotoCodeGeneratorPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/49] Write sources
[22/49] Write swift-version-272D24FF697CF451.txt
[24/187] Emitting module ArgumentParserToolInfo
[25/187] Emitting module Logging
[26/188] Emitting module SotoSmithy
[27/193] Compiling SotoSmithy HttpProtocolComplianceTraits.swift
[28/193] Compiling SotoSmithy MqttProtocolBindingTraits.swift
[29/193] Compiling SotoSmithy ProtocolTraits.swift
[30/193] Compiling SotoSmithy ResourceTraits.swift
[31/193] Compiling SotoSmithy RulesTraits.swift
[32/193] Compiling SotoSmithy BehaviourTraits.swift
[33/193] Compiling SotoSmithy ConstraintTraits.swift
[34/193] Compiling SotoSmithy DocumentationTraits.swift
[35/193] Compiling SotoSmithy EndpointTraits.swift
[36/193] Compiling SotoSmithy HttpProtocolBindingTraits.swift
[37/193] Compiling Logging Logger+Attributes.swift
[38/194] Compiling Mustache Sequence.swift
[39/194] Compiling Mustache SequenceContext.swift
[40/196] Compiling Mustache Context.swift
[41/196] Compiling Mustache String.swift
[42/196] Compiling SotoSmithy SingleValueTrait.swift
[43/196] Compiling SotoSmithy StaticTrait.swift
[44/196] Compiling SotoSmithy Trait.swift
[45/196] Compiling SotoSmithy TraitList.swift
[46/196] Compiling SotoSmithy AuthenticationTraits.swift
[47/196] Compiling Mustache Deprecations.swift
[48/196] Compiling Mustache Lambda.swift
[49/196] Compiling Mustache Template.swift
[50/196] Compiling Mustache Transform.swift
[51/196] Compiling SotoSmithy CustomTrait.swift
[52/196] Compiling Mustache Parser.swift
[53/196] Compiling Mustache Library+FileSystem.swift
[54/196] Compiling Mustache Library.swift
[55/196] Compiling Mustache Mirror.swift
[56/196] Compiling Mustache CustomRenderable.swift
[57/196] Compiling Logging LoggingSystem.swift
[58/196] Compiling SotoSmithy StreamingTraits.swift
[59/196] Compiling SotoSmithy SuppressTrait.swift
[60/196] Compiling SotoSmithy TypeRefinementTraits.swift
[61/196] Compiling SotoSmithy WaitersTraits.swift
[62/196] Compiling SotoSmithy XmlBindingTraits.swift
[63/196] Emitting module SotoSmithy
[66/201] Compiling Logging Logger.swift
[67/201] Compiling Logging Logger+With.swift
[68/201] Emitting module ArgumentParserToolInfo
[69/201] Compiling ArgumentParserToolInfo ToolInfo.swift
[70/202] Wrapping AST for ArgumentParserToolInfo for debugging
[72/249] Compiling ArgumentParser NameSpecification.swift
[73/249] Compiling ArgumentParser Option.swift
[74/249] Compiling ArgumentParser ArgumentVisibility.swift
[75/249] Compiling ArgumentParser CompletionKind.swift
[76/249] Emitting module Logging
[77/249] Compiling Logging MetadataProvider.swift
[79/250] Compiling ArgumentParser Tree.swift
[80/250] Compiling ArgumentParser HelpCommand.swift
[81/250] Compiling ArgumentParser HelpGenerator.swift
[82/250] Emitting module Mustache
[85/250] Compiling ArgumentParser Errors.swift
[86/250] Compiling ArgumentParser SequenceExtensions.swift
[87/250] Compiling ArgumentParser OptionGroup.swift
[88/250] Compiling ArgumentParser Mutex.swift
[89/250] Compiling ArgumentParser Platform.swift
[91/250] Compiling ArgumentParser StringExtensions.swift
[93/250] Compiling ArgumentParser SwiftExtensions.swift
[96/250] Compiling ArgumentParser MessageInfo.swift
[97/250] Compiling ArgumentParser UsageGenerator.swift
[98/250] Compiling ArgumentParser CollectionExtensions.swift
[99/250] Compiling ArgumentParser Flag.swift
[100/250] Wrapping AST for Logging for debugging
[109/252] Wrapping AST for SotoSmithy for debugging
[111/260] Emitting module ArgumentParser
[111/260] Wrapping AST for Mustache for debugging
[113/266] Compiling SotoSmithyAWS Smithy.swift
[114/267] Compiling SotoSmithyAWS AwsS3Traits.swift
[115/267] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[116/267] Emitting module SotoSmithyAWS
[117/267] Compiling ArgumentParser BashCompletionsGenerator.swift
[118/267] Compiling ArgumentParser CompletionsGenerator.swift
[119/267] Compiling ArgumentParser FishCompletionsGenerator.swift
[120/267] Compiling ArgumentParser ZshCompletionsGenerator.swift
[121/267] Compiling ArgumentParser Argument.swift
[129/267] Compiling ArgumentParser ArgumentDiscussion.swift
[130/267] Compiling ArgumentParser ArgumentHelp.swift
[131/267] Compiling ArgumentParser Name.swift
[132/267] Compiling ArgumentParser Parsed.swift
[133/267] Compiling ArgumentParser ParsedValues.swift
[134/267] Compiling ArgumentParser ArgumentDefinition.swift
[135/267] Compiling ArgumentParser ArgumentSet.swift
[136/267] Compiling ArgumentParser CommandParser.swift
[137/267] Compiling ArgumentParser InputKey.swift
[138/267] Compiling ArgumentParser InputOrigin.swift
[139/267] Compiling ArgumentParser ParentCommand.swift
[140/267] Compiling ArgumentParser AsyncParsableCommand.swift
[141/267] Compiling ArgumentParser CommandConfiguration.swift
[142/267] Compiling ArgumentParser CommandGroup.swift
[143/267] Compiling ArgumentParser EnumerableFlag.swift
[144/267] Compiling ArgumentParser ExpressibleByArgument.swift
[145/267] Compiling ArgumentParser ParsableArguments.swift
[153/267] Compiling ArgumentParser Foundation.swift
[154/267] Compiling ArgumentParser ParsableCommand.swift
[155/267] Compiling ArgumentParser ArgumentDecoder.swift
[156/267] Compiling ArgumentParser ParserError.swift
[157/267] Compiling ArgumentParser SplitArguments.swift
[158/267] Compiling ArgumentParser DumpHelpGenerator.swift
[161/267] Compiling Logging Logger.swift
[170/267] Compiling Logging LoggingSystem.swift
[171/267] Compiling Logging Logger+Attributes.swift
[172/267] Compiling Logging Logger+With.swift
[173/267] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[174/267] Compiling SotoSmithyAWS AwsCoreTraits.swift
[175/267] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[176/267] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[177/267] Compiling SotoSmithyAWS AwsIAMTraits.swift
[179/268] Compiling ArgumentParser AsyncCompletionsValidator.swift
[180/268] Compiling ArgumentParser CodingKeyValidator.swift
[181/268] Compiling ArgumentParser NonsenseFlagsValidator.swift
[182/268] Compiling ArgumentParser ParsableArgumentsValidation.swift
[183/268] Compiling ArgumentParser PositionalArgumentsValidator.swift
[184/268] Compiling ArgumentParser UniqueNamesValidator.swift
[185/268] Compiling ArgumentParserToolInfo ToolInfo.swift
[185/268] Wrapping AST for SotoSmithyAWS for debugging
[187/291] Wrapping AST for ArgumentParserToolInfo for debugging
[189/338] Compiling ArgumentParser ArgumentDecoder.swift
[190/338] Compiling ArgumentParser ArgumentDefinition.swift
[191/338] Compiling ArgumentParser ArgumentSet.swift
[192/341] Compiling ArgumentParser CommandParser.swift
[193/341] Compiling ArgumentParser InputKey.swift
[194/341] Compiling ArgumentParser InputOrigin.swift
[195/341] Compiling SotoCodeGeneratorLib shapes.swift
[196/341] Compiling SotoCodeGeneratorLib struct.swift
[197/341] Compiling SotoCodeGeneratorLib waiters.swift
[198/341] Compiling ArgumentParser OptionGroup.swift
[199/341] Compiling ArgumentParser ParsableCommand.swift
[204/341] Compiling ArgumentParser Foundation.swift
[205/341] Compiling ArgumentParser ParentCommand.swift
[206/341] Compiling ArgumentParser AsyncParsableCommand.swift
[207/341] Compiling ArgumentParser CommandConfiguration.swift
[208/341] Compiling ArgumentParser CommandGroup.swift
[209/341] Compiling ArgumentParser EnumerableFlag.swift
[210/341] Compiling ArgumentParser ExpressibleByArgument.swift
[211/341] Compiling ArgumentParser ParsableArguments.swift
[212/341] Compiling ArgumentParser Name.swift
[213/341] Compiling ArgumentParser Parsed.swift
[214/341] Compiling ArgumentParser ParsedValues.swift
[215/341] Compiling ArgumentParser ParserError.swift
[216/341] Compiling ArgumentParser SplitArguments.swift
[217/341] Compiling ArgumentParser Errors.swift
[218/341] Compiling ArgumentParser Flag.swift
[219/341] Compiling ArgumentParser NameSpecification.swift
[220/341] Compiling Logging MetadataProvider.swift
[221/341] Compiling ArgumentParser Mutex.swift
[222/341] Compiling ArgumentParser Platform.swift
[223/341] Compiling ArgumentParser SequenceExtensions.swift
[224/341] Compiling ArgumentParser StringExtensions.swift
[225/341] Compiling ArgumentParser SwiftExtensions.swift
[226/341] Compiling ArgumentParser Tree.swift
[227/341] Compiling ArgumentParser BashCompletionsGenerator.swift
[228/341] Compiling ArgumentParser CompletionsGenerator.swift
[229/341] Compiling ArgumentParser Argument.swift
[230/341] Compiling ArgumentParser ArgumentDiscussion.swift
[231/348] Wrapping AST for Logging for debugging
[233/348] Compiling ArgumentParser ArgumentVisibility.swift
[234/348] Compiling ArgumentParser CompletionKind.swift
[238/348] Compiling ArgumentParser Option.swift
[240/348] Emitting module SotoCodeGeneratorLib
[246/348] Compiling ArgumentParser UsageGenerator.swift
[247/348] Compiling ArgumentParser CollectionExtensions.swift
[254/351] Compiling ArgumentParser ArgumentHelp.swift
[256/352] Wrapping AST for ArgumentParser for debugging
[258/358] Compiling Mustache Template.swift
[259/358] Compiling Mustache Transform.swift
[267/358] Compiling ArgumentParser FishCompletionsGenerator.swift
[268/358] Compiling ArgumentParser ZshCompletionsGenerator.swift
[274/359] Emitting module Mustache
[289/359] Compiling ArgumentParser AsyncCompletionsValidator.swift
[290/359] Compiling ArgumentParser CodingKeyValidator.swift
[291/359] Compiling ArgumentParser NonsenseFlagsValidator.swift
[292/359] Compiling ArgumentParser ParsableArgumentsValidation.swift
[293/359] Compiling ArgumentParser PositionalArgumentsValidator.swift
[294/359] Compiling ArgumentParser UniqueNamesValidator.swift
[296/360] Emitting module SotoModelDownloader
[296/360] Wrapping AST for Mustache for debugging
[297/360] Wrapping AST for SotoSmithy for debugging
[299/360] Compiling SotoModelDownloader DownloaderError.swift
[305/367] Compiling ArgumentParser DumpHelpGenerator.swift
[319/368] Compiling SotoModelDownloader ConfigFile.swift
[320/368] Compiling SotoModelDownloader GitHubModels.swift
[321/368] Compiling SotoModelDownloader GitHubAPI.swift
[322/368] Compiling SotoModelDownloader Downloader.swift
[330/368] Emitting module ArgumentParser
[338/369] Compiling SotoModelDownloader App.swift
[340/370] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[340/373] Wrapping AST for SotoCodeGeneratorLib for debugging
[341/373] Wrapping AST for SotoModelDownloader for debugging
[343/373] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[343/373] Write Objects.LinkFileList
[345/373] Emitting module SotoSmithyAWS
[346/373] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[347/373] Compiling SotoSmithyAWS Smithy.swift
[348/373] Compiling SotoSmithyAWS AwsS3Traits.swift
[349/373] Compiling SotoSmithyAWS AwsIAMTraits.swift
[357/374] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[358/374] Compiling SotoSmithyAWS AwsCoreTraits.swift
[358/374] Linking SotoModelDownloader-tool
[362/375] Emitting module SotoCodeGenerator
[363/375] Compiling SotoCodeGenerator SotoCodeGenerator.swift
[363/375] Wrapping AST for SotoSmithyAWS for debugging
[364/377] Wrapping AST for ArgumentParser for debugging
[366/405] Wrapping AST for SotoCodeGenerator for debugging
[367/405] Write Objects.LinkFileList
[369/405] Compiling SotoCodeGeneratorLib comment.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[370/405] Compiling SotoCodeGeneratorLib enum.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[371/405] Compiling SotoCodeGeneratorLib enumWithValues.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[372/408] Compiling SotoCodeGeneratorLib error.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[373/408] Compiling SotoCodeGeneratorLib header.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[374/408] Compiling SotoCodeGeneratorLib paginators.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[375/408] Compiling SotoCodeGeneratorLib String.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[376/408] Compiling SotoCodeGeneratorLib Templates.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[377/408] Compiling SotoCodeGeneratorLib api.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[378/408] Compiling SotoCodeGeneratorLib Glob.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[379/408] Compiling SotoCodeGeneratorLib Model+Patch.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[380/408] Compiling SotoCodeGeneratorLib Patch.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[381/408] Compiling SotoCodeGeneratorLib shapes.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[382/408] Compiling SotoCodeGeneratorLib struct.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[383/408] Compiling SotoCodeGeneratorLib waiters.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[384/408] Compiling SotoCodeGeneratorLib Smithy+CodeGeneration.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[385/408] Compiling SotoCodeGeneratorLib SotoCodeGen.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[386/408] Compiling SotoCodeGeneratorLib SotoTraits.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
21 | #endif
22 |
[387/408] Compiling SotoModelDownloader App.swift
[388/408] Emitting module SotoModelDownloader
[389/408] Compiling SotoModelDownloader GitHubAPI.swift
/host/spi-builder-workspace/Sources/SotoModelDownloader/GitHubAPI.swift:27:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         let url = URL(string: "https://raw.githubusercontent.com\(path)")!
26 |         let contents: Data
27 |         let response: URLResponse
   |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         do {
29 |             let request = URLRequest(url: url)
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/SotoModelDownloader/GitHubAPI.swift:29:27: error: cannot find 'URLRequest' in scope
27 |         let response: URLResponse
28 |         do {
29 |             let request = URLRequest(url: url)
   |                           `- error: cannot find 'URLRequest' in scope
30 |             (contents, response) = try await URLSession.shared.data(for: request)
31 |         } catch {
/host/spi-builder-workspace/Sources/SotoModelDownloader/GitHubAPI.swift:30:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
28 |         do {
29 |             let request = URLRequest(url: url)
30 |             (contents, response) = try await URLSession.shared.data(for: request)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 |         } catch {
32 |             throw .failedToLoad(url.absoluteString)
/host/spi-builder-workspace/Sources/SotoModelDownloader/GitHubAPI.swift:34:25: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
32 |             throw .failedToLoad(url.absoluteString)
33 |         }
34 |         guard (response as? HTTPURLResponse)?.statusCode == 200 else {
   |                         `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
35 |             throw DownloaderError.failedToLoad(url.absoluteString)
36 |         }
/host/spi-builder-workspace/Sources/SotoModelDownloader/GitHubAPI.swift:34:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
32 |             throw .failedToLoad(url.absoluteString)
33 |         }
34 |         guard (response as? HTTPURLResponse)?.statusCode == 200 else {
   |                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
35 |             throw DownloaderError.failedToLoad(url.absoluteString)
36 |         }
/host/spi-builder-workspace/Sources/SotoModelDownloader/GitHubAPI.swift:47:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     func callGitHubAPI(url: URL) async throws(DownloaderError) -> Data {
46 |         let contents: Data
47 |         let response: URLResponse
   |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         do {
49 |             var request = URLRequest(url: url)
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/SotoModelDownloader/GitHubAPI.swift:49:27: error: cannot find 'URLRequest' in scope
47 |         let response: URLResponse
48 |         do {
49 |             var request = URLRequest(url: url)
   |                           `- error: cannot find 'URLRequest' in scope
50 |             request.setValue("application/vnd.github+json", forHTTPHeaderField: "Accept")
51 |             request.setValue("2022-11-28", forHTTPHeaderField: "X-GitHub-Api-Version")
/host/spi-builder-workspace/Sources/SotoModelDownloader/GitHubAPI.swift:55:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
53 |                 request.setValue("Bearer \(ghToken)", forHTTPHeaderField: "Authorization")
54 |             }
55 |             (contents, response) = try await URLSession.shared.data(for: request)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
56 |         } catch {
57 |             throw .failedToLoad(url.absoluteString)
/host/spi-builder-workspace/Sources/SotoModelDownloader/GitHubAPI.swift:59:25: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
57 |             throw .failedToLoad(url.absoluteString)
58 |         }
59 |         guard (response as? HTTPURLResponse)?.statusCode == 200 else {
   |                         `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
60 |             throw DownloaderError.failedToLoad(url.absoluteString)
61 |         }
/host/spi-builder-workspace/Sources/SotoModelDownloader/GitHubAPI.swift:59:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
57 |             throw .failedToLoad(url.absoluteString)
58 |         }
59 |         guard (response as? HTTPURLResponse)?.statusCode == 200 else {
   |                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
60 |             throw DownloaderError.failedToLoad(url.absoluteString)
61 |         }
[390/408] Compiling SotoModelDownloader DownloaderError.swift
[391/408] Compiling SotoModelDownloader Downloader.swift
[392/408] Compiling SotoModelDownloader ConfigFile.swift
[393/408] Compiling SotoModelDownloader GitHubModels.swift
[393/408] Linking SotoCodeGenerator-tool
BUILD FAILURE 6.3 android