The Swift Package Index logo.Swift Package Index

Build Information

Failed to build soto-codegenerator, reference main (c6dee4), with Swift 6.2 for Android on 6 Apr 2026 17:31:24 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
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 c6dee49 Add a command plugin to download AWS model files (#98)
Cloned https://github.com/soto-project/soto-codegenerator.git
Revision (git rev-parse @):
c6dee493894d2a7aec9e098dba196a2d6b439b4f
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-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:ddd4edb33d5d885e17caac0b97dcd74ed916c6d1fa6d49f38e53038953d2cc51
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/soto-project/soto-smithy.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/hummingbird-project/swift-mustache.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/1854] Fetching soto-smithy
[1855/19342] Fetching soto-smithy, swift-argument-parser
[2555/21313] Fetching soto-smithy, swift-argument-parser, swift-mustache
[4642/27662] Fetching soto-smithy, swift-argument-parser, swift-mustache, swift-log
Fetched https://github.com/soto-project/soto-smithy.git from cache (0.78s)
Fetched https://github.com/hummingbird-project/swift-mustache.git from cache (0.78s)
Fetched https://github.com/apple/swift-log.git from cache (0.79s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.79s)
Computing version for https://github.com/hummingbird-project/swift-mustache.git
Computed https://github.com/hummingbird-project/swift-mustache.git at 2.0.2 (1.14s)
Computing version for https://github.com/soto-project/soto-smithy.git
Computed https://github.com/soto-project/soto-smithy.git at 0.4.9 (2.25s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.38s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.37s)
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.7.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.0.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
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.9
[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/177] Compiling SotoSmithy BehaviourTraits.swift
[25/177] Compiling SotoSmithy ConstraintTraits.swift
[26/177] Compiling SotoSmithy DocumentationTraits.swift
[27/177] Compiling SotoSmithy EndpointTraits.swift
[28/177] Compiling SotoSmithy HttpProtocolBindingTraits.swift
[29/177] Compiling Mustache Template+Parser.swift
[30/177] Compiling Mustache Template+Render.swift
[31/177] Compiling SotoSmithy Trait.swift
[32/177] Compiling SotoSmithy TraitList.swift
[33/177] Compiling SotoSmithy AuthenticationTraits.swift
[34/182] Compiling SotoSmithy HttpProtocolComplianceTraits.swift
[35/182] Compiling SotoSmithy MqttProtocolBindingTraits.swift
[36/182] Compiling SotoSmithy ProtocolTraits.swift
[37/182] Compiling SotoSmithy ResourceTraits.swift
[38/182] Compiling SotoSmithy RulesTraits.swift
[39/182] Compiling SotoSmithy LogicalSelectors.swift
[40/182] Compiling SotoSmithy Selector.swift
[41/182] Compiling SotoSmithy SelectorParser.swift
[42/182] Compiling SotoSmithy AggregateShapes.swift
[43/182] Compiling SotoSmithy ApplyShape.swift
[44/182] Compiling Mustache Parser.swift
[45/182] Compiling Mustache String.swift
[46/182] Compiling Mustache Template+FileSystem.swift
[47/182] Compiling Mustache Sequence.swift
[48/182] Compiling Mustache SequenceContext.swift
[49/182] Emitting module ArgumentParserToolInfo
[50/182] Compiling ArgumentParserToolInfo ToolInfo.swift
[54/231] Compiling ArgumentParser ParserError.swift
[55/231] Compiling ArgumentParser SplitArguments.swift
[56/231] Compiling ArgumentParser DumpHelpGenerator.swift
[57/231] Compiling ArgumentParser HelpCommand.swift
[58/231] Compiling ArgumentParser HelpGenerator.swift
[59/231] Compiling ArgumentParser NameSpecification.swift
[60/231] Compiling ArgumentParser Option.swift
[61/231] Compiling ArgumentParser OptionGroup.swift
[62/231] Compiling ArgumentParser ParsableCommand.swift
[63/231] Compiling ArgumentParser ArgumentDecoder.swift
[64/236] Compiling Logging MetadataProvider.swift
[65/236] Emitting module Logging
[66/236] Compiling Logging Locks.swift
[67/236] Compiling ArgumentParser Errors.swift
[68/236] Compiling ArgumentParser Flag.swift
[70/236] Compiling ArgumentParser ArgumentHelp.swift
[71/236] Compiling ArgumentParser ArgumentVisibility.swift
[72/236] Compiling ArgumentParser CompletionKind.swift
[75/238] Emitting module SotoSmithy
[78/238] Compiling ArgumentParser ArgumentDefinition.swift
[79/238] Compiling ArgumentParser ArgumentSet.swift
[80/238] Emitting module Mustache
[81/238] Compiling ArgumentParser BashCompletionsGenerator.swift
[82/238] Compiling ArgumentParser CompletionsGenerator.swift
[83/238] Compiling ArgumentParser FishCompletionsGenerator.swift
[84/238] Compiling ArgumentParser ZshCompletionsGenerator.swift
[85/238] Compiling ArgumentParser Argument.swift
[86/238] Compiling ArgumentParser ArgumentDiscussion.swift
[98/238] Compiling ArgumentParser AsyncParsableCommand.swift
[99/238] Compiling ArgumentParser CommandConfiguration.swift
[100/238] Compiling ArgumentParser CommandGroup.swift
[101/238] Compiling ArgumentParser EnumerableFlag.swift
[102/238] Compiling ArgumentParser ExpressibleByArgument.swift
[103/238] Compiling ArgumentParser ParsableArguments.swift
[104/238] Compiling ArgumentParser InputOrigin.swift
[105/238] Compiling ArgumentParser Name.swift
[106/238] Compiling ArgumentParser Parsed.swift
[107/238] Compiling ArgumentParser ParsedValues.swift
[110/238] Compiling Mustache Template.swift
[111/238] Compiling Mustache Transform.swift
[112/238] Compiling ArgumentParser ParentCommand.swift
[115/238] Compiling SotoSmithy StreamingTraits.swift
[116/238] Compiling SotoSmithy SuppressTrait.swift
[117/238] Compiling SotoSmithy TypeRefinementTraits.swift
[118/238] Compiling SotoSmithy WaitersTraits.swift
[119/238] Compiling SotoSmithy XmlBindingTraits.swift
[120/238] Emitting module ArgumentParserToolInfo
[121/238] Compiling ArgumentParserToolInfo ToolInfo.swift
[124/240] Compiling Logging LogHandler.swift
[125/240] Compiling Logging Logging.swift
[126/240] Compiling Logging LogEvent.swift
[126/241] Wrapping AST for ArgumentParserToolInfo for debugging
[128/295] Wrapping AST for SotoSmithy for debugging
[129/295] Wrapping AST for Logging for debugging
[131/295] Compiling ArgumentParser EnumerableFlag.swift
[132/295] Compiling ArgumentParser ExpressibleByArgument.swift
[132/296] Wrapping AST for ArgumentParserToolInfo for debugging
[134/296] Wrapping AST for Mustache for debugging
[136/296] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[137/297] Compiling SotoSmithyAWS AwsS3Traits.swift
[138/297] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[139/297] Compiling ArgumentParser SequenceExtensions.swift
[140/297] Compiling ArgumentParser StringExtensions.swift
[141/297] Compiling ArgumentParser SwiftExtensions.swift
[142/297] Compiling ArgumentParser DumpHelpGenerator.swift
[143/297] Compiling ArgumentParser HelpCommand.swift
[144/297] Emitting module SotoSmithyAWS
[145/297] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[146/297] Compiling SotoSmithyAWS Smithy.swift
[147/297] Compiling SotoSmithyAWS AwsIAMTraits.swift
[148/297] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[149/297] Compiling SotoSmithyAWS AwsCoreTraits.swift
[150/298] Wrapping AST for SotoSmithyAWS for debugging
[152/320] Compiling SotoCodeGeneratorLib error.swift
[153/320] Compiling SotoCodeGeneratorLib header.swift
[154/320] Compiling SotoCodeGeneratorLib paginators.swift
[155/320] Compiling SotoCodeGeneratorLib comment.swift
[156/320] Compiling SotoCodeGeneratorLib enum.swift
[157/320] Compiling SotoCodeGeneratorLib enumWithValues.swift
[158/320] Compiling SotoCodeGeneratorLib ConfigFile.swift
[159/320] Compiling SotoCodeGeneratorLib Endpoints.swift
[160/320] Compiling SotoCodeGeneratorLib Smithy+CodeGeneration.swift
[161/320] Compiling SotoCodeGeneratorLib SotoCodeGen.swift
[162/320] Compiling SotoCodeGeneratorLib SotoTraits.swift
[165/329] Compiling Logging MetadataProvider.swift
[166/329] Compiling SotoCodeGeneratorLib shapes.swift
[167/329] Compiling SotoCodeGeneratorLib struct.swift
[168/329] Compiling SotoCodeGeneratorLib waiters.swift
[169/329] Emitting module ArgumentParser
[170/329] Compiling SotoCodeGeneratorLib AwsService+paginators.swift
[171/329] Compiling SotoCodeGeneratorLib AwsService+shapes.swift
[172/329] Compiling SotoCodeGeneratorLib AwsService+waiters.swift
[173/329] Compiling SotoCodeGeneratorLib Glob.swift
[174/329] Compiling SotoCodeGeneratorLib Model+Patch.swift
[175/329] Compiling SotoCodeGeneratorLib Patch.swift
[176/329] Compiling SotoCodeGeneratorLib AwsService.swift
[179/329] Compiling ArgumentParser HelpGenerator.swift
[180/329] Compiling ArgumentParser MessageInfo.swift
[181/329] Compiling ArgumentParser UsageGenerator.swift
[182/329] Compiling ArgumentParser CollectionExtensions.swift
[183/329] Compiling ArgumentParser Foundation.swift
[184/329] Compiling ArgumentParser Mutex.swift
[185/329] Compiling ArgumentParser Platform.swift
[189/329] Compiling ArgumentParser ParsableCommand.swift
[190/329] Compiling ArgumentParser ArgumentDecoder.swift
[191/329] Compiling ArgumentParser ArgumentDefinition.swift
[192/329] Compiling ArgumentParser ArgumentSet.swift
[193/329] Compiling ArgumentParser CommandParser.swift
[194/329] Compiling ArgumentParser InputKey.swift
[204/335] Compiling ArgumentParser ParsedValues.swift
[205/335] Compiling ArgumentParser ParserError.swift
[206/335] Compiling ArgumentParser SplitArguments.swift
[207/335] Compiling SotoCodeGeneratorLib String.swift
[208/335] Compiling SotoCodeGeneratorLib Templates.swift
[209/335] Compiling SotoCodeGeneratorLib api.swift
[210/335] Compiling Logging Logging.swift
[211/335] Compiling Logging Locks.swift
[212/335] Emitting module Logging
[213/335] Compiling Logging LogHandler.swift
[214/335] Compiling Logging LogEvent.swift
[225/336] Wrapping AST for Logging for debugging
[240/336] Emitting module Mustache
[241/337] Emitting module SotoCodeGeneratorLib
[249/337] Emitting module SotoSmithy
[272/338] Emitting module ArgumentParser
[272/338] Wrapping AST for Mustache for debugging
[280/344] Wrapping AST for SotoSmithy for debugging
[288/346] Compiling ArgumentParser Tree.swift
[289/346] Compiling ArgumentParser CodingKeyValidator.swift
[290/346] Compiling ArgumentParser NonsenseFlagsValidator.swift
[291/346] Compiling ArgumentParser ParsableArgumentsValidation.swift
[292/346] Compiling ArgumentParser PositionalArgumentsValidator.swift
[293/346] Compiling ArgumentParser UniqueNamesValidator.swift
[320/347] Emitting module SotoSmithyAWS
[321/348] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[321/356] Wrapping AST for ArgumentParser for debugging
[324/356] Compiling SotoSmithyAWS AwsS3Traits.swift
[324/356] Wrapping AST for ArgumentParser for debugging
[326/363] Compiling SotoSmithyAWS AwsIAMTraits.swift
[327/363] Compiling SotoSmithyAWS Smithy.swift
[328/363] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[329/363] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[330/363] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[331/363] Compiling SotoSmithyAWS AwsCoreTraits.swift
[332/364] Wrapping AST for SotoSmithyAWS for debugging
[334/364] 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 |         }
[335/364] Compiling SotoModelDownloader DownloaderError.swift
[336/365] Compiling SotoModelDownloader Downloader.swift
[337/374] Compiling SotoModelDownloader GitHubModels.swift
[338/377] Compiling SotoModelDownloader DownloaderError.swift
[339/377] Compiling SotoModelDownloader ConfigFile.swift
[340/377] Compiling SotoModelDownloader GitHubAPI.swift
[341/377] Compiling SotoModelDownloader ConfigFile.swift
[342/377] Compiling SotoModelDownloader GitHubModels.swift
[343/386] Compiling SotoModelDownloader Downloader.swift
[344/386] Emitting module SotoModelDownloader
[345/386] Compiling SotoModelDownloader App.swift
[346/386] Emitting module SotoModelDownloader
[347/386] Compiling SotoModelDownloader App.swift
BUILD FAILURE 6.2 android