Build Information
Failed to build soto-codegenerator, reference 7.10.1 (a56ca9), with Swift 6.3 for Android on 11 Nov 2026 10:08:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/soto-project/soto-codegenerator.git
Reference: 7.10.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/soto-project/soto-codegenerator
* tag 7.10.1 -> FETCH_HEAD
HEAD is now at a56ca9f Use `Self` in `Service.init(from:patch)` (#108)
Cloned https://github.com/soto-project/soto-codegenerator.git
Revision (git rev-parse @):
a56ca9fdf4cc6ec63ba257883f232389823ec756
SUCCESS checkout https://github.com/soto-project/soto-codegenerator.git at 7.10.1
========================================
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-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:c6b25257ee4256a4333f8606cd21df53447403ab2b14f14099093ed697fe253a
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/apple/swift-argument-parser.git
Fetching https://github.com/hummingbird-project/swift-mustache.git
Fetching https://github.com/soto-project/soto-smithy.git
[1/2150] Fetching swift-mustache
[87/4022] Fetching swift-mustache, soto-smithy
[1665/12372] Fetching swift-mustache, soto-smithy, swift-log
Fetched https://github.com/hummingbird-project/swift-mustache.git from cache (0.45s)
Fetched https://github.com/soto-project/soto-smithy.git from cache (0.45s)
[1837/8350] Fetching swift-log
[8351/27734] Fetching swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (0.93s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.93s)
Computing version for https://github.com/soto-project/soto-smithy.git
Computed https://github.com/soto-project/soto-smithy.git at 0.5.0 (1.87s)
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.13s)
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.15s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.0 (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.17.0
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/soto-project/soto-smithy.git
Working copy of https://github.com/soto-project/soto-smithy.git resolved at 0.5.0
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
[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 Mustache
[25/189] Emitting module SotoSmithy
[26/194] Emitting module Logging
[27/195] Compiling SotoSmithy DecodableShape.swift
[28/195] Compiling SotoSmithy ServiceShapes.swift
[29/195] Compiling Mustache Template.swift
[30/195] Compiling Mustache Transform.swift
[31/195] Compiling SotoSmithy CustomTrait.swift
[32/195] Compiling SotoSmithy Selector.swift
[33/195] Compiling SotoSmithy SelectorParser.swift
[34/195] Compiling SotoSmithy HttpProtocolComplianceTraits.swift
[35/195] Compiling SotoSmithy MqttProtocolBindingTraits.swift
[36/195] Compiling SotoSmithy ProtocolTraits.swift
[37/195] Compiling SotoSmithy ResourceTraits.swift
[38/195] Compiling SotoSmithy RulesTraits.swift
[39/195] Compiling SotoSmithy BehaviourTraits.swift
[40/195] Compiling SotoSmithy ConstraintTraits.swift
[41/195] Compiling SotoSmithy DocumentationTraits.swift
[42/195] Compiling SotoSmithy EndpointTraits.swift
[43/195] Compiling SotoSmithy HttpProtocolBindingTraits.swift
[44/195] Emitting module Mustache
[45/197] Compiling SotoSmithy SingleValueTrait.swift
[46/197] Compiling SotoSmithy StaticTrait.swift
[47/197] Compiling SotoSmithy Trait.swift
[48/197] Compiling SotoSmithy TraitList.swift
[49/197] Compiling SotoSmithy AuthenticationTraits.swift
[50/197] Compiling Mustache Template.swift
[51/197] Compiling Mustache Transform.swift
[52/197] Compiling Logging LoggingSystem.swift
[53/198] Compiling SotoSmithy LogicalSelectors.swift
[56/198] Compiling SotoSmithy AggregateShapes.swift
[57/198] Compiling SotoSmithy ApplyShape.swift
[58/198] Compiling Logging Logger.swift
[59/198] Compiling Logging Logger+Attributes.swift
[60/198] Compiling Mustache Deprecations.swift
[61/198] Compiling Mustache Lambda.swift
[62/198] Compiling Logging Logger+With.swift
[63/198] Compiling SotoSmithy StreamingTraits.swift
[64/198] Compiling SotoSmithy SuppressTrait.swift
[65/198] Compiling SotoSmithy TypeRefinementTraits.swift
[66/198] Compiling SotoSmithy WaitersTraits.swift
[67/198] Compiling SotoSmithy XmlBindingTraits.swift
[68/198] Compiling ArgumentParserToolInfo ToolInfo.swift
[69/198] Emitting module ArgumentParserToolInfo
[71/199] Compiling SotoSmithy Smithy+Parse.swift
[72/199] Compiling SotoSmithy TokenParser.swift
[73/199] Compiling SotoSmithy Tokenizer.swift
[74/199] Compiling SotoSmithy BasicSelectors.swift
[75/199] Compiling SotoSmithy DecodableSelector.swift
[76/244] Compiling ArgumentParser ArgumentVisibility.swift
[77/244] Compiling ArgumentParser CompletionKind.swift
[78/246] Compiling ArgumentParser OptionGroup.swift
[79/246] Compiling ArgumentParser BashCompletionsGenerator.swift
[80/246] Compiling ArgumentParser CompletionsGenerator.swift
[81/246] Compiling ArgumentParser Flag.swift
[82/246] Compiling ArgumentParser NameSpecification.swift
[83/246] Compiling ArgumentParser Option.swift
[86/246] Compiling ArgumentParser Errors.swift
[92/246] Emitting module Logging
[93/247] Compiling Logging MetadataProvider.swift
[96/248] Emitting module ArgumentParser
[97/254] Compiling ArgumentParser ParentCommand.swift
[98/254] Compiling ArgumentParser AsyncParsableCommand.swift
[98/254] Wrapping AST for ArgumentParserToolInfo for debugging
[102/254] Wrapping AST for SotoSmithy for debugging
[104/254] Compiling ArgumentParser FishCompletionsGenerator.swift
[105/254] Compiling ArgumentParser ZshCompletionsGenerator.swift
[106/254] Compiling ArgumentParser Argument.swift
[107/261] Compiling ArgumentParser CommandConfiguration.swift
[108/261] Compiling ArgumentParser CommandGroup.swift
[108/263] Wrapping AST for Logging for debugging
[110/263] Wrapping AST for Mustache for debugging
[112/263] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[113/264] Emitting module SotoSmithy
[114/269] Compiling SotoSmithyAWS AwsS3Traits.swift
[115/269] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[116/269] Emitting module SotoSmithyAWS
[117/269] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[118/269] Compiling SotoSmithyAWS Smithy.swift
[119/269] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[120/269] Compiling SotoSmithyAWS AwsCoreTraits.swift
[121/269] Compiling SotoSmithyAWS AwsIAMTraits.swift
[124/270] Compiling ArgumentParser EnumerableFlag.swift
[125/270] Compiling ArgumentParser ExpressibleByArgument.swift
[126/270] Compiling ArgumentParser ParsableArguments.swift
[127/270] Compiling ArgumentParser CommandParser.swift
[128/270] Compiling ArgumentParser InputKey.swift
[129/270] Compiling ArgumentParser InputOrigin.swift
[130/270] Compiling ArgumentParser HelpCommand.swift
[131/270] Compiling ArgumentParser HelpGenerator.swift
[142/270] Compiling ArgumentParser ArgumentDiscussion.swift
[143/270] Compiling ArgumentParser ArgumentHelp.swift
[147/270] Compiling Logging LoggingSystem.swift
[148/270] Compiling ArgumentParser Name.swift
[149/270] Compiling ArgumentParser Parsed.swift
[150/270] Compiling ArgumentParser ParsedValues.swift
[151/270] Compiling ArgumentParser ParserError.swift
[152/270] Compiling ArgumentParser SplitArguments.swift
[152/270] Wrapping AST for SotoSmithyAWS for debugging
[154/270] Compiling ArgumentParser DumpHelpGenerator.swift
[155/270] Compiling ArgumentParser ParsableCommand.swift
[156/270] Compiling ArgumentParser ArgumentDecoder.swift
[157/270] Compiling ArgumentParser ArgumentDefinition.swift
[158/270] Compiling ArgumentParser ArgumentSet.swift
[161/271] Compiling Logging Logger+Attributes.swift
[162/292] Compiling SotoSmithy XmlBindingTraits.swift
[163/292] Compiling ArgumentParser Platform.swift
[164/292] Compiling ArgumentParser SequenceExtensions.swift
[165/292] Compiling ArgumentParser StringExtensions.swift
[166/292] Compiling ArgumentParser SwiftExtensions.swift
[167/292] Compiling ArgumentParser Tree.swift
[168/292] Compiling ArgumentParser AsyncCompletionsValidator.swift
[169/292] Compiling ArgumentParser CodingKeyValidator.swift
[170/292] Compiling ArgumentParser NonsenseFlagsValidator.swift
[171/292] Compiling ArgumentParser ParsableArgumentsValidation.swift
[172/292] Compiling ArgumentParser PositionalArgumentsValidator.swift
[173/292] Compiling ArgumentParser UniqueNamesValidator.swift
[180/292] Compiling SotoCodeGeneratorLib error.swift
[181/292] Compiling SotoCodeGeneratorLib header.swift
[182/292] Compiling SotoCodeGeneratorLib paginators.swift
[183/292] Compiling SotoCodeGeneratorLib comment.swift
[184/292] Compiling SotoCodeGeneratorLib enum.swift
[185/292] Compiling SotoCodeGeneratorLib enumWithValues.swift
[186/292] Compiling Logging Logger+With.swift
[187/292] Compiling Logging Logger.swift
[188/292] Compiling SotoCodeGeneratorLib AwsService.swift
[189/292] Compiling SotoCodeGeneratorLib ConfigFile.swift
[190/292] Compiling SotoCodeGeneratorLib Endpoints.swift
[191/292] Compiling SotoCodeGeneratorLib AwsService+paginators.swift
[192/292] Compiling SotoCodeGeneratorLib AwsService+shapes.swift
[193/292] Compiling SotoCodeGeneratorLib AwsService+waiters.swift
[194/292] Compiling SotoCodeGeneratorLib Glob.swift
[195/295] Emitting module ArgumentParserToolInfo
[196/295] Compiling ArgumentParserToolInfo ToolInfo.swift
[198/296] Compiling SotoCodeGeneratorLib shapes.swift
[199/296] Compiling SotoCodeGeneratorLib struct.swift
[200/296] Compiling SotoCodeGeneratorLib waiters.swift
[201/296] Compiling SotoCodeGeneratorLib Model+Patch.swift
[202/296] Compiling SotoCodeGeneratorLib Patch.swift
[203/296] Compiling SotoCodeGeneratorLib Smithy+CodeGeneration.swift
[204/296] Compiling SotoCodeGeneratorLib SotoCodeGen.swift
[205/296] Compiling SotoCodeGeneratorLib SotoTraits.swift
[207/296] Wrapping AST for ArgumentParserToolInfo for debugging
[209/297] Compiling SotoCodeGeneratorLib String.swift
[210/297] Compiling SotoCodeGeneratorLib Templates.swift
[211/297] Compiling SotoCodeGeneratorLib api.swift
[212/343] Compiling ArgumentParser SequenceExtensions.swift
[213/343] Compiling ArgumentParser StringExtensions.swift
[214/343] Compiling ArgumentParser SwiftExtensions.swift
[215/343] Compiling ArgumentParser Tree.swift
[216/343] Compiling ArgumentParser HelpCommand.swift
[217/343] Compiling ArgumentParser Mutex.swift
[218/343] Compiling ArgumentParser Platform.swift
[223/343] Compiling ArgumentParser ArgumentHelp.swift
[224/343] Compiling ArgumentParser ParentCommand.swift
[225/343] Compiling ArgumentParser AsyncParsableCommand.swift
[226/343] Emitting module SotoCodeGeneratorLib
[227/343] Compiling ArgumentParser CommandConfiguration.swift
[228/343] Compiling ArgumentParser CommandGroup.swift
[229/343] Compiling ArgumentParser EnumerableFlag.swift
[230/343] Emitting module ArgumentParser
[236/349] Compiling ArgumentParser ExpressibleByArgument.swift
[237/349] Compiling ArgumentParser ParsableArguments.swift
[238/349] Compiling ArgumentParser ParsableCommand.swift
[239/349] Compiling ArgumentParser ArgumentDecoder.swift
[240/349] Compiling ArgumentParser ArgumentDefinition.swift
[241/349] Compiling ArgumentParser ArgumentSet.swift
[242/349] Compiling ArgumentParser CommandParser.swift
[243/349] Compiling ArgumentParser InputKey.swift
[244/349] Compiling ArgumentParser InputOrigin.swift
[246/350] Compiling Logging MetadataProvider.swift
[252/350] Wrapping AST for ArgumentParser for debugging
[254/357] Compiling ArgumentParser FishCompletionsGenerator.swift
[255/357] Compiling ArgumentParser ZshCompletionsGenerator.swift
[256/357] Compiling ArgumentParser BashCompletionsGenerator.swift
[257/357] Compiling ArgumentParser CompletionsGenerator.swift
[259/358] Compiling SotoModelDownloader DownloaderError.swift
[260/358] Compiling SotoModelDownloader GitHubAPI.swift
[260/358] Wrapping AST for Logging for debugging
[263/358] Compiling SotoModelDownloader GitHubModels.swift
[269/358] Compiling ArgumentParser Argument.swift
[270/358] Compiling ArgumentParser ArgumentDiscussion.swift
[271/358] Compiling SotoModelDownloader ConfigFile.swift
[275/359] Compiling SotoModelDownloader Downloader.swift
[277/359] Compiling ArgumentParser HelpGenerator.swift
[278/359] Compiling ArgumentParser MessageInfo.swift
[279/359] Compiling ArgumentParser UsageGenerator.swift
[280/359] Compiling ArgumentParser CollectionExtensions.swift
[281/359] Compiling ArgumentParser Foundation.swift
[286/359] Compiling SotoModelDownloader App.swift
[287/359] Emitting module SotoModelDownloader
[290/362] Wrapping AST for SotoCodeGeneratorLib for debugging
[293/362] Compiling ArgumentParser Errors.swift
[294/362] Compiling ArgumentParser Flag.swift
[298/362] Compiling ArgumentParser ArgumentVisibility.swift
[299/362] Compiling ArgumentParser CompletionKind.swift
[306/363] Compiling ArgumentParser AsyncCompletionsValidator.swift
[307/363] Compiling ArgumentParser CodingKeyValidator.swift
[308/363] Compiling ArgumentParser NonsenseFlagsValidator.swift
[309/363] Compiling ArgumentParser ParsableArgumentsValidation.swift
[310/363] Compiling ArgumentParser PositionalArgumentsValidator.swift
[311/363] Compiling ArgumentParser UniqueNamesValidator.swift
[311/363] Wrapping AST for SotoModelDownloader for debugging
[312/363] Write Objects.LinkFileList
[318/363] Compiling ArgumentParser NameSpecification.swift
[319/363] Compiling ArgumentParser Option.swift
[320/363] Compiling ArgumentParser OptionGroup.swift
[326/364] Wrapping AST for Mustache for debugging
[335/364] Wrapping AST for SotoSmithy for debugging
[336/372] Linking SotoModelDownloader-tool
[338/372] Emitting module SotoCodeGenerator
[339/372] Compiling SotoCodeGenerator SotoCodeGenerator.swift
[340/372] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[341/374] Emitting module SotoSmithyAWS
[342/374] Wrapping AST for SotoCodeGenerator for debugging
[343/374] Write Objects.LinkFileList
[345/374] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[346/374] Compiling SotoSmithyAWS AwsS3Traits.swift
[347/374] Compiling SotoSmithyAWS Smithy.swift
[348/374] Compiling SotoSmithyAWS AwsIAMTraits.swift
[349/374] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[350/374] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[351/374] Compiling SotoSmithyAWS AwsCoreTraits.swift
[360/375] Compiling ArgumentParser Name.swift
[361/375] Compiling ArgumentParser Parsed.swift
[362/375] Compiling ArgumentParser ParsedValues.swift
[363/375] Compiling ArgumentParser ParserError.swift
[364/375] Compiling ArgumentParser SplitArguments.swift
[365/375] Compiling ArgumentParser DumpHelpGenerator.swift
[365/376] Wrapping AST for SotoSmithyAWS for debugging
[368/398] 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 |
[369/398] 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 |
[370/398] 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 |
[370/401] Linking SotoCodeGenerator-tool
[371/401] Wrapping AST for ArgumentParser for debugging
[373/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 |
[374/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 |
[375/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 |
[376/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 |
[377/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 |
[378/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 |
[379/408] Compiling SotoModelDownloader DownloaderError.swift
[380/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 |
[381/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 |
[382/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[383/408] 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 |
[384/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 | }
[385/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 |
[386/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 |
[387/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 |
[388/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 |
[389/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 |
[390/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 |
[391/408] Compiling SotoModelDownloader GitHubModels.swift
[392/408] Compiling SotoModelDownloader ConfigFile.swift
[393/408] 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 |
[394/408] 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 |
[395/408] 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 |
[396/408] Compiling SotoModelDownloader App.swift
[397/408] Emitting module SotoModelDownloader
[398/408] Compiling SotoModelDownloader Downloader.swift
BUILD FAILURE 6.3 android