The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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.2-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.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-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.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/soto-project/soto-smithy.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-log.git
[1/8232] Fetching swift-log
[84/10092] Fetching swift-log, soto-smithy
[3673/12191] Fetching swift-log, soto-smithy, swift-mustache
Fetched https://github.com/soto-project/soto-smithy.git from cache (0.42s)
[2225/10331] Fetching swift-log, swift-mustache
Fetched https://github.com/hummingbird-project/swift-mustache.git from cache (0.48s)
[4610/8232] Fetching swift-log
[7822/27242] Fetching swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (0.60s)
[4943/19010] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.78s)
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.85s)
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.18s)
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/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
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
[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 Mustache
[25/189] Compiling Mustache Template.swift
[26/189] Compiling Mustache Transform.swift
[27/189] Compiling SotoSmithy HttpProtocolComplianceTraits.swift
[28/189] Compiling SotoSmithy MqttProtocolBindingTraits.swift
[29/189] Compiling SotoSmithy ProtocolTraits.swift
[30/189] Compiling SotoSmithy ResourceTraits.swift
[31/189] Compiling SotoSmithy RulesTraits.swift
[37/199] Compiling SotoSmithy DecodableShape.swift
[38/199] Compiling SotoSmithy ServiceShapes.swift
[41/199] Compiling SotoSmithy CustomTrait.swift
[42/199] Compiling SotoSmithy LogicalSelectors.swift
[43/199] Compiling SotoSmithy Selector.swift
[44/199] Compiling SotoSmithy SelectorParser.swift
[45/199] Compiling SotoSmithy AggregateShapes.swift
[46/199] Compiling SotoSmithy ApplyShape.swift
[47/199] Compiling Logging Logger+Attributes.swift
[48/200] Compiling SotoSmithy Smithy.swift
[49/200] Compiling SotoSmithy Parser.swift
[50/200] Compiling SotoSmithy BehaviourTraits.swift
[51/200] Compiling SotoSmithy ConstraintTraits.swift
[52/200] Compiling SotoSmithy DocumentationTraits.swift
[53/200] Compiling SotoSmithy EndpointTraits.swift
[54/200] Compiling SotoSmithy HttpProtocolBindingTraits.swift
[55/200] Compiling SotoSmithy SingleValueTrait.swift
[56/200] Compiling SotoSmithy StaticTrait.swift
[57/200] Compiling SotoSmithy Trait.swift
[58/200] Compiling SotoSmithy TraitList.swift
[59/200] Compiling SotoSmithy AuthenticationTraits.swift
[60/200] Compiling Logging LoggingSystem.swift
[62/201] Compiling Logging Logger+With.swift
[63/201] Compiling Logging Logger.swift
[64/201] Emitting module ArgumentParserToolInfo
[65/201] Compiling ArgumentParserToolInfo ToolInfo.swift
[67/202] Emitting module ArgumentParserToolInfo
[71/203] Compiling Logging Logger+Attributes.swift
[73/209] Emitting module Logging
[74/209] Compiling ArgumentParser ArgumentVisibility.swift
[75/209] Compiling ArgumentParser CompletionKind.swift
[75/250] Wrapping AST for ArgumentParserToolInfo for debugging
[77/279] Compiling Logging MetadataProvider.swift
[78/297] Compiling ArgumentParser FishCompletionsGenerator.swift
[79/297] Compiling ArgumentParser ZshCompletionsGenerator.swift
[80/297] Compiling Logging Logger.swift
[81/297] Compiling Logging Logger+With.swift
[82/298] Wrapping AST for ArgumentParserToolInfo for debugging
[83/298] Wrapping AST for Logging for debugging
[85/298] Compiling ArgumentParser NameSpecification.swift
[86/298] Compiling ArgumentParser Option.swift
[87/298] Compiling ArgumentParser OptionGroup.swift
[88/298] Compiling ArgumentParser ParentCommand.swift
[89/298] Compiling ArgumentParser AsyncParsableCommand.swift
[90/298] Compiling ArgumentParser InputKey.swift
[91/298] Compiling ArgumentParser InputOrigin.swift
[92/298] Compiling ArgumentParser Name.swift
[93/298] Compiling ArgumentParser Parsed.swift
[94/298] Compiling ArgumentParser ParsedValues.swift
[95/298] Compiling ArgumentParser ParserError.swift
[96/298] Compiling ArgumentParser SplitArguments.swift
[97/298] Compiling ArgumentParser DumpHelpGenerator.swift
[98/298] Compiling ArgumentParser Mutex.swift
[99/298] Compiling ArgumentParser Platform.swift
[100/298] Compiling ArgumentParser CommandConfiguration.swift
[101/298] Compiling ArgumentParser CommandGroup.swift
[102/298] Compiling ArgumentParser EnumerableFlag.swift
[103/298] Compiling ArgumentParser ExpressibleByArgument.swift
[104/298] Compiling ArgumentParser ParsableArguments.swift
[105/298] Compiling ArgumentParser ArgumentHelp.swift
[106/298] Compiling ArgumentParser ArgumentVisibility.swift
[107/298] Compiling ArgumentParser CompletionKind.swift
[108/298] Compiling ArgumentParser Errors.swift
[109/298] Compiling ArgumentParser Flag.swift
[112/298] Emitting module Logging
[113/298] Compiling ArgumentParser BashCompletionsGenerator.swift
[114/298] Compiling ArgumentParser CompletionsGenerator.swift
[117/298] Compiling Logging MetadataProvider.swift
[118/301] Wrapping AST for Logging for debugging
[136/307] Emitting module Mustache
[138/307] Compiling ArgumentParser Argument.swift
[139/307] Compiling ArgumentParser ArgumentDiscussion.swift
[151/307] Compiling ArgumentParser SequenceExtensions.swift
[152/307] Compiling ArgumentParser StringExtensions.swift
[153/307] Compiling ArgumentParser SwiftExtensions.swift
[154/307] Compiling ArgumentParser Tree.swift
[155/311] Emitting module SotoSmithy
[160/313] Compiling ArgumentParser HelpCommand.swift
[167/314] Compiling ArgumentParser HelpGenerator.swift
[168/314] Compiling ArgumentParser MessageInfo.swift
[169/314] Compiling ArgumentParser UsageGenerator.swift
[170/314] Compiling ArgumentParser CollectionExtensions.swift
[171/314] Compiling ArgumentParser Foundation.swift
[172/314] Wrapping AST for SotoSmithy for debugging
[174/322] Emitting module ArgumentParser
[175/322] Compiling Mustache Template.swift
[176/322] Compiling Mustache Transform.swift
[177/323] Emitting module SotoSmithy
[178/323] Wrapping AST for Mustache for debugging
[180/323] Compiling SotoSmithyAWS AwsIAMTraits.swift
[210/326] Wrapping AST for SotoSmithy for debugging
[213/326] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[214/326] Compiling SotoSmithyAWS AwsS3Traits.swift
[214/328] Wrapping AST for Mustache for debugging
[216/334] Compiling ArgumentParser AsyncCompletionsValidator.swift
[217/334] Compiling ArgumentParser CodingKeyValidator.swift
[218/334] Compiling ArgumentParser NonsenseFlagsValidator.swift
[219/334] Compiling ArgumentParser ParsableArgumentsValidation.swift
[220/334] Compiling ArgumentParser PositionalArgumentsValidator.swift
[221/334] Compiling ArgumentParser UniqueNamesValidator.swift
[222/334] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[223/335] Compiling SotoSmithyAWS AwsS3Traits.swift
[224/335] Compiling SotoSmithyAWS Smithy.swift
[225/335] Emitting module SotoSmithyAWS
[226/335] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[227/335] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[228/335] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[229/335] Compiling SotoSmithyAWS Smithy.swift
[230/335] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[231/335] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[232/335] Compiling SotoSmithyAWS AwsCoreTraits.swift
[233/335] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[241/358] Emitting module ArgumentParser
[242/358] Compiling SotoCodeGeneratorLib Glob.swift
[243/358] Compiling SotoCodeGeneratorLib Model+Patch.swift
[244/358] Compiling SotoCodeGeneratorLib Patch.swift
[245/358] Compiling SotoCodeGeneratorLib AwsService+paginators.swift
[246/358] Compiling SotoCodeGeneratorLib AwsService+shapes.swift
[247/358] Compiling SotoCodeGeneratorLib AwsService+waiters.swift
[248/358] Compiling SotoCodeGeneratorLib String.swift
[248/358] Wrapping AST for SotoSmithyAWS for debugging
[250/358] Emitting module SotoSmithyAWS
[251/358] Compiling SotoCodeGeneratorLib error.swift
[252/358] Compiling SotoCodeGeneratorLib header.swift
[253/358] Compiling SotoCodeGeneratorLib paginators.swift
[254/361] Compiling SotoCodeGeneratorLib comment.swift
[255/361] Compiling SotoCodeGeneratorLib enum.swift
[256/361] Compiling SotoCodeGeneratorLib enumWithValues.swift
[257/361] Compiling SotoCodeGeneratorLib shapes.swift
[258/361] Compiling SotoCodeGeneratorLib struct.swift
[259/361] Compiling SotoCodeGeneratorLib waiters.swift
[260/361] Compiling SotoSmithyAWS AwsIAMTraits.swift
[261/361] Compiling SotoSmithyAWS AwsCoreTraits.swift
[264/362] Compiling SotoCodeGeneratorLib Smithy+CodeGeneration.swift
[265/362] Compiling SotoCodeGeneratorLib SotoCodeGen.swift
[266/362] Compiling SotoCodeGeneratorLib SotoTraits.swift
[280/362] Compiling ArgumentParser ArgumentSet.swift
[281/362] Compiling ArgumentParser CommandParser.swift
[291/362] Compiling SotoCodeGeneratorLib Templates.swift
[292/362] Compiling SotoCodeGeneratorLib api.swift
[293/362] Compiling SotoCodeGeneratorLib AwsService.swift
[294/362] Compiling SotoCodeGeneratorLib ConfigFile.swift
[295/362] Compiling SotoCodeGeneratorLib Endpoints.swift
[297/362] Wrapping AST for SotoSmithyAWS for debugging
[311/384] 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 |
[312/384] 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 |
[313/384] 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 |
[314/387] 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 |
[315/387] 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 |
[316/387] 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 |
[323/388] Compiling SotoCodeGeneratorLib AwsService+paginators.swift
[324/388] Compiling SotoCodeGeneratorLib AwsService+shapes.swift
[325/388] Compiling SotoCodeGeneratorLib AwsService+waiters.swift
[330/394] 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 |
[331/394] 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 |
[332/394] 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 |
[333/395] Compiling SotoCodeGeneratorLib Glob.swift
[334/395] Compiling SotoCodeGeneratorLib Model+Patch.swift
[335/395] Compiling SotoCodeGeneratorLib Patch.swift
[335/395] Wrapping AST for ArgumentParser for debugging
/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 |
[340/395] 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 |
[341/395] 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 |
[342/395] 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 |
[343/395] Compiling SotoModelDownloader DownloaderError.swift
[344/395] 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 |         }
[345/395] 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 |
[346/395] 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 |
[347/395] 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 |
[348/395] Compiling SotoModelDownloader GitHubModels.swift
[349/395] Compiling SotoModelDownloader ConfigFile.swift
[350/395] Compiling SotoModelDownloader Downloader.swift
[351/395] Compiling SotoModelDownloader App.swift
[352/395] Emitting module SotoModelDownloader
error: emit-module command failed with exit code 1 (use -v to see invocation)
[360/395] 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