Build Information
Failed to build soto-codegenerator, reference main (e747d3), with Swift 6.2 for Android on 2 Oct 2026 21:35:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/soto-project/soto-codegenerator.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/soto-project/soto-codegenerator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
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-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:f47b2a33897778fb58ca39c1139e193fa7f391fa362fe0d23c00db9747030994
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/hummingbird-project/swift-mustache.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/2099] Fetching swift-mustache
[1870/10331] Fetching swift-mustache, swift-log
[9509/29341] Fetching swift-mustache, swift-log, swift-argument-parser
Fetching https://github.com/soto-project/soto-smithy.git
Fetched https://github.com/apple/swift-log.git from cache (0.58s)
[8943/21109] Fetching swift-mustache, swift-argument-parser
Fetched https://github.com/hummingbird-project/swift-mustache.git from cache (0.78s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.78s)
[1/1860] Fetching soto-smithy
Fetched https://github.com/soto-project/soto-smithy.git from cache (0.44s)
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.89s)
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.14s)
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.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.15s)
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/hummingbird-project/swift-mustache.git
Working copy of https://github.com/hummingbird-project/swift-mustache.git resolved at 2.1.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/soto-project/soto-smithy.git
Working copy of https://github.com/soto-project/soto-smithy.git resolved at 0.4.10
[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--11D90AFD9DD3AB2.txt
[24/187] Emitting module ArgumentParserToolInfo
[26/187] Compiling Logging LoggingSystem.swift
[27/188] Compiling Logging LogEvent.swift
[28/188] Compiling Logging LogHandler.swift
[29/188] Compiling Logging Logger+Attributes.swift
[30/188] Compiling SotoSmithy HttpProtocolComplianceTraits.swift
[31/188] Compiling SotoSmithy MqttProtocolBindingTraits.swift
[32/188] Compiling SotoSmithy ProtocolTraits.swift
[33/188] Compiling SotoSmithy ResourceTraits.swift
[34/188] Compiling SotoSmithy RulesTraits.swift
[35/193] Emitting module SotoSmithy
[36/193] Compiling SotoSmithy BehaviourTraits.swift
[37/193] Compiling SotoSmithy ConstraintTraits.swift
[38/193] Compiling SotoSmithy DocumentationTraits.swift
[39/193] Compiling SotoSmithy EndpointTraits.swift
[40/193] Compiling SotoSmithy HttpProtocolBindingTraits.swift
[41/193] Compiling SotoSmithy SingleValueTrait.swift
[42/193] Compiling SotoSmithy StaticTrait.swift
[43/193] Compiling SotoSmithy Trait.swift
[44/193] Compiling SotoSmithy TraitList.swift
[45/193] Compiling SotoSmithy AuthenticationTraits.swift
[46/193] Compiling Logging Logger.swift
[47/193] Compiling Logging Logger+With.swift
[48/193] Compiling SotoSmithy StreamingTraits.swift
[49/193] Compiling SotoSmithy SuppressTrait.swift
[50/193] Compiling SotoSmithy TypeRefinementTraits.swift
[51/193] Compiling SotoSmithy WaitersTraits.swift
[52/193] Compiling SotoSmithy XmlBindingTraits.swift
[53/193] Compiling Logging MultiplexLogHandler.swift
[54/193] Compiling Logging StreamLogHandler.swift
[55/193] Compiling Logging SwiftLogNoOpLogHandler.swift
[56/193] Compiling Logging Locks.swift
[58/193] Compiling Mustache Parent.swift
[59/193] Compiling Mustache Parser.swift
[60/193] Compiling Mustache Sequence.swift
[61/193] Compiling Mustache SequenceContext.swift
[62/193] Compiling Mustache Template+Parser.swift
[63/193] Compiling ArgumentParserToolInfo ToolInfo.swift
[65/241] Compiling ArgumentParser ArgumentDefinition.swift
[66/241] Compiling ArgumentParser ArgumentSet.swift
[67/241] Compiling ArgumentParser ParsableCommand.swift
[68/241] Compiling ArgumentParser ArgumentDecoder.swift
[69/241] Emitting module Logging
[70/241] Compiling Logging Logger+With.swift
[71/242] Compiling Logging LoggingSystem.swift
[72/242] Compiling Logging Logger.swift
[73/242] Compiling Logging MetadataProvider.swift
[75/243] Compiling Logging Logger+Attributes.swift
[76/243] Compiling ArgumentParser CommandParser.swift
[77/243] Compiling ArgumentParser InputKey.swift
[78/243] Compiling ArgumentParser Errors.swift
[79/243] Compiling ArgumentParser Flag.swift
[79/245] Wrapping AST for ArgumentParserToolInfo for debugging
[81/245] Compiling ArgumentParser CompletionKind.swift
[84/245] Compiling Mustache Template.swift
[85/245] Compiling Mustache Transform.swift
[86/245] Compiling ArgumentParser OptionGroup.swift
[88/245] Compiling ArgumentParser InputOrigin.swift
[89/245] Compiling ArgumentParser BashCompletionsGenerator.swift
[90/245] Compiling ArgumentParser CompletionsGenerator.swift
[91/245] Compiling ArgumentParser FishCompletionsGenerator.swift
[92/246] Compiling ArgumentParser ArgumentVisibility.swift
[94/246] Compiling ArgumentParser ArgumentDiscussion.swift
[95/246] Compiling ArgumentParser ArgumentHelp.swift
[100/246] Emitting module Mustache
[100/246] Wrapping AST for Logging for debugging
[103/246] Compiling ArgumentParser ZshCompletionsGenerator.swift
[104/246] Compiling ArgumentParser Argument.swift
[110/246] Wrapping AST for SotoSmithy for debugging
[112/246] Compiling ArgumentParserToolInfo ToolInfo.swift
[113/255] Wrapping AST for ArgumentParserToolInfo for debugging
[115/302] Compiling ArgumentParser HelpCommand.swift
[116/302] Compiling ArgumentParser HelpGenerator.swift
[117/302] Compiling ArgumentParser MessageInfo.swift
[118/302] Compiling ArgumentParser UsageGenerator.swift
[119/302] Compiling ArgumentParser CollectionExtensions.swift
[120/302] Compiling ArgumentParser Foundation.swift
[121/308] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[122/308] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[123/309] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[124/309] Compiling ArgumentParser EnumerableFlag.swift
[125/309] Compiling ArgumentParser ExpressibleByArgument.swift
[126/310] Compiling SotoSmithyAWS AwsS3Traits.swift
[128/310] Compiling ArgumentParser CommandConfiguration.swift
[129/310] Compiling ArgumentParser CommandGroup.swift
[132/310] Compiling ArgumentParser ParsableArguments.swift
[133/310] Compiling ArgumentParser NameSpecification.swift
[134/310] Compiling ArgumentParser Option.swift
[135/310] Compiling ArgumentParser OptionGroup.swift
[136/310] Compiling ArgumentParser ParentCommand.swift
[137/310] Compiling ArgumentParser AsyncParsableCommand.swift
[137/315] Wrapping AST for Mustache for debugging
[139/315] Emitting module ArgumentParser
[140/321] Compiling SotoSmithyAWS AwsIAMTraits.swift
[141/321] Compiling SotoSmithyAWS Smithy.swift
[142/321] Emitting module SotoSmithyAWS
[143/321] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[144/321] Compiling SotoSmithyAWS AwsCoreTraits.swift
[145/322] Wrapping AST for SotoSmithyAWS for debugging
[147/326] Compiling ArgumentParser InputKey.swift
[148/326] Compiling ArgumentParser InputOrigin.swift
[149/326] Compiling ArgumentParser Name.swift
[150/326] Compiling ArgumentParser Parsed.swift
[151/326] Compiling ArgumentParser ParsedValues.swift
[152/326] Compiling ArgumentParser ParsableCommand.swift
[153/326] Compiling ArgumentParser ArgumentDecoder.swift
[154/326] Compiling ArgumentParser ArgumentDefinition.swift
[155/326] Compiling ArgumentParser ArgumentSet.swift
[156/326] Compiling ArgumentParser CommandParser.swift
[157/326] Compiling ArgumentParser ParserError.swift
[158/326] Compiling ArgumentParser SplitArguments.swift
[159/326] Compiling ArgumentParser DumpHelpGenerator.swift
[162/344] Compiling SotoCodeGeneratorLib enumWithValues.swift
[163/344] Compiling SotoCodeGeneratorLib String.swift
[164/344] Compiling SotoCodeGeneratorLib Templates.swift
[165/344] Compiling SotoCodeGeneratorLib api.swift
[166/344] Compiling SotoCodeGeneratorLib error.swift
[167/344] Compiling SotoCodeGeneratorLib header.swift
[168/344] Compiling SotoCodeGeneratorLib paginators.swift
[169/344] Compiling SotoCodeGeneratorLib comment.swift
[170/344] Compiling SotoCodeGeneratorLib enum.swift
[175/347] Compiling ArgumentParser AsyncCompletionsValidator.swift
[176/347] Compiling ArgumentParser CodingKeyValidator.swift
[177/347] Compiling ArgumentParser NonsenseFlagsValidator.swift
[178/347] Compiling ArgumentParser ParsableArgumentsValidation.swift
[179/347] Compiling ArgumentParser PositionalArgumentsValidator.swift
[180/347] Compiling ArgumentParser UniqueNamesValidator.swift
[181/347] Compiling SotoCodeGeneratorLib shapes.swift
[182/347] Compiling SotoCodeGeneratorLib struct.swift
[183/347] Compiling SotoCodeGeneratorLib waiters.swift
[197/347] Compiling SotoSmithy XmlBindingTraits.swift
[198/347] Compiling ArgumentParser Platform.swift
[199/347] Compiling ArgumentParser SequenceExtensions.swift
[200/347] Compiling ArgumentParser StringExtensions.swift
[201/347] Compiling ArgumentParser SwiftExtensions.swift
[202/347] Compiling ArgumentParser Tree.swift
[203/347] Compiling Logging MetadataProvider.swift
[204/347] Compiling SotoCodeGeneratorLib AwsService+waiters.swift
[205/347] Compiling SotoCodeGeneratorLib AwsService.swift
[206/347] Compiling SotoCodeGeneratorLib AwsService+paginators.swift
[207/347] Compiling SotoCodeGeneratorLib AwsService+shapes.swift
[208/347] Emitting module Logging
[221/348] Wrapping AST for Logging for debugging
[223/348] Emitting module SotoCodeGeneratorLib
[232/350] Compiling SotoCodeGeneratorLib Smithy+CodeGeneration.swift
[233/350] Compiling SotoCodeGeneratorLib SotoCodeGen.swift
[234/350] Compiling SotoCodeGeneratorLib SotoTraits.swift
[237/350] Compiling SotoCodeGeneratorLib Glob.swift
[238/350] Compiling SotoCodeGeneratorLib Model+Patch.swift
[239/350] Compiling SotoCodeGeneratorLib Patch.swift
[242/350] Emitting module Mustache
[244/350] Compiling SotoCodeGeneratorLib ConfigFile.swift
[245/350] Compiling SotoCodeGeneratorLib Endpoints.swift
[246/350] Compiling SotoSmithy StreamingTraits.swift
[247/350] Compiling SotoSmithy SuppressTrait.swift
[248/350] Compiling SotoSmithy TypeRefinementTraits.swift
[249/350] Compiling SotoSmithy WaitersTraits.swift
[262/350] Emitting module SotoSmithy
[263/351] Wrapping AST for SotoSmithy for debugging
[268/359] Compiling Mustache Template.swift
[269/359] Compiling Mustache Transform.swift
[289/360] Wrapping AST for Mustache for debugging
[297/360] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[305/361] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[306/361] Compiling SotoSmithyAWS AwsS3Traits.swift
[307/361] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[308/361] Emitting module SotoSmithyAWS
[330/361] Emitting module ArgumentParser
[331/361] Compiling SotoSmithyAWS AwsCoreTraits.swift
[332/361] Compiling SotoSmithyAWS AwsIAMTraits.swift
[333/361] Compiling SotoSmithyAWS Smithy.swift
[334/361] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[336/363] Wrapping AST for SotoSmithyAWS for debugging
[337/392] Wrapping AST for ArgumentParser for debugging
[339/392] 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 |
[340/392] 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 |
[341/392] 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 |
[342/395] Compiling SotoCodeGeneratorLib shapes.swift
[343/395] Compiling SotoCodeGeneratorLib struct.swift
[344/395] Compiling SotoCodeGeneratorLib waiters.swift
[349/395] Compiling SotoCodeGeneratorLib AwsService.swift
[350/395] Compiling SotoCodeGeneratorLib ConfigFile.swift
[351/395] Compiling SotoCodeGeneratorLib Endpoints.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 |
/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 |
/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 |
[357/398] 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 |
[358/398] 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 |
[359/398] 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 |
[359/399] Wrapping AST for SotoCodeGeneratorLib for debugging
[360/399] Wrapping AST for ArgumentParser for debugging
[362/399] 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 |
[363/399] 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 |
[364/399] 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 |
[365/399] 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 |
[366/399] 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 |
[367/399] 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 |
[368/399] Compiling SotoModelDownloader ConfigFile.swift
[369/406] Emitting module SotoCodeGenerator
[370/406] Compiling SotoModelDownloader GitHubAPI.swift
[371/406] Compiling SotoModelDownloader DownloaderError.swift
[372/406] Compiling SotoModelDownloader GitHubModels.swift
[373/406] 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 |
[374/406] 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 |
[375/406] 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 |
[376/406] Compiling SotoCodeGeneratorLib AwsService+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 |
[377/406] Compiling SotoCodeGeneratorLib AwsService+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 |
[378/406] Compiling SotoCodeGeneratorLib AwsService+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 |
[379/406] Compiling SotoModelDownloader Downloader.swift
[380/406] Compiling SotoModelDownloader App.swift
[381/406] Emitting module SotoModelDownloader
[383/407] Compiling SotoModelDownloader DownloaderError.swift
[384/407] Compiling SotoModelDownloader ConfigFile.swift
[385/407] 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 | }
[385/407] Wrapping AST for SotoModelDownloader for debugging
[386/407] Write Objects.LinkFileList
[388/407] Compiling SotoModelDownloader GitHubModels.swift
[389/407] Compiling SotoModelDownloader App.swift
[390/407] Emitting module SotoModelDownloader
[391/407] Compiling SotoModelDownloader Downloader.swift
[391/407] Linking SotoModelDownloader-tool
error: emit-module command failed with exit code 1 (use -v to see invocation)
[392/407] Emitting module SotoCodeGeneratorLib
/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 |
BUILD FAILURE 6.2 android