Build Information
Failed to build soto-codegenerator, reference main (e747d3), with Swift 6.3 for Android on 2 Oct 2026 21:31:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.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.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-54344845-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:8ca9e1e6d70fd53f5b05e4f64d92569d697563f7f457a1485802bc9eb2cd1382
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-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
Fetching https://github.com/soto-project/soto-smithy.git
[1/8232] Fetching swift-log
[166/10092] Fetching swift-log, soto-smithy
[2730/12191] Fetching swift-log, soto-smithy, swift-mustache
[12192/31201] Fetching swift-log, soto-smithy, swift-mustache, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (0.61s)
[4720/22969] Fetching soto-smithy, swift-mustache, swift-argument-parser
Fetched https://github.com/soto-project/soto-smithy.git from cache (0.89s)
Fetched https://github.com/hummingbird-project/swift-mustache.git from cache (0.89s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.89s)
Computing version for https://github.com/soto-project/soto-smithy.git
Computed https://github.com/soto-project/soto-smithy.git at 0.4.10 (2.20s)
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.16s)
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.20s)
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/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-272D24FF697CF451.txt
[24/187] Emitting module Mustache
[25/189] Compiling SotoSmithy DecodableShape.swift
[26/189] Compiling SotoSmithy ServiceShapes.swift
[27/189] Compiling SotoSmithy Shape.swift
[28/189] Compiling SotoSmithy SimpleShapes.swift
[29/189] Compiling SotoSmithy CustomTrait.swift
[30/189] Compiling Mustache Sequence.swift
[31/189] Compiling Mustache SequenceContext.swift
[32/194] Compiling Mustache Template+Parser.swift
[33/194] Compiling Mustache Template+Render.swift
[34/194] Compiling Mustache NSLock+Backport.swift
[35/194] Compiling Mustache Parent.swift
[36/194] Compiling Mustache Library+FileSystem.swift
[37/194] Compiling Mustache Template.swift
[38/194] Compiling Mustache Transform.swift
[39/194] Compiling SotoSmithy HttpProtocolComplianceTraits.swift
[40/194] Compiling SotoSmithy MqttProtocolBindingTraits.swift
[41/194] Compiling SotoSmithy ProtocolTraits.swift
[42/194] Compiling SotoSmithy ResourceTraits.swift
[43/194] Compiling SotoSmithy RulesTraits.swift
[44/194] Compiling SotoSmithy BehaviourTraits.swift
[45/194] Compiling SotoSmithy ConstraintTraits.swift
[46/194] Compiling SotoSmithy DocumentationTraits.swift
[47/194] Compiling SotoSmithy EndpointTraits.swift
[48/194] Compiling SotoSmithy HttpProtocolBindingTraits.swift
[49/194] Emitting module Mustache
[50/196] Compiling Logging LogEvent.swift
[51/196] Compiling Logging LogHandler.swift
[52/196] Compiling Logging Logger+Attributes.swift
[53/197] Compiling Logging LoggingSystem.swift
[54/197] Compiling Logging Logger.swift
[55/197] Compiling Logging Logger+With.swift
[56/197] Compiling Logging SwiftLogNoOpLogHandler.swift
[57/197] Compiling Logging Locks.swift
[58/197] Compiling Logging MetadataProvider.swift
[59/197] Compiling Logging MultiplexLogHandler.swift
[60/197] Compiling Logging StreamLogHandler.swift
[61/197] Emitting module Logging
[62/198] Wrapping AST for Logging for debugging
[64/198] Emitting module ArgumentParserToolInfo
[65/198] Compiling ArgumentParserToolInfo ToolInfo.swift
[66/199] Wrapping AST for ArgumentParserToolInfo for debugging
[68/246] Compiling ArgumentParser ArgumentDefinition.swift
[69/246] Compiling ArgumentParser ArgumentSet.swift
[70/246] Compiling ArgumentParser CommandParser.swift
[71/246] Compiling ArgumentParser InputKey.swift
[72/246] Compiling ArgumentParser InputOrigin.swift
[73/246] Compiling ArgumentParser NameSpecification.swift
[74/246] Compiling ArgumentParser Option.swift
[75/246] Compiling ArgumentParser OptionGroup.swift
[76/246] Compiling ArgumentParser ParsableCommand.swift
[77/246] Compiling ArgumentParser ArgumentDecoder.swift
[78/246] Compiling ArgumentParser ZshCompletionsGenerator.swift
[79/246] Compiling ArgumentParser Argument.swift
[80/246] Compiling ArgumentParser ArgumentDiscussion.swift
[81/246] Compiling ArgumentParser BashCompletionsGenerator.swift
[82/246] Compiling ArgumentParser CompletionsGenerator.swift
[83/246] Compiling ArgumentParser FishCompletionsGenerator.swift
[93/246] Emitting module SotoSmithy
[97/251] Compiling ArgumentParser ArgumentHelp.swift
[98/251] Compiling ArgumentParser ArgumentVisibility.swift
[99/251] Compiling ArgumentParser CompletionKind.swift
[100/251] Compiling ArgumentParser Errors.swift
[101/251] Compiling ArgumentParser Flag.swift
[102/252] Wrapping AST for Mustache for debugging
[104/252] Compiling SotoSmithy XmlBindingTraits.swift
[105/252] Compiling ArgumentParser Platform.swift
[106/252] Compiling ArgumentParser SequenceExtensions.swift
[107/252] Compiling ArgumentParser StringExtensions.swift
[108/252] Compiling ArgumentParser SwiftExtensions.swift
[109/252] Compiling ArgumentParser Tree.swift
[110/258] Compiling SotoSmithy StreamingTraits.swift
[111/258] Compiling SotoSmithy SuppressTrait.swift
[112/258] Compiling SotoSmithy TypeRefinementTraits.swift
[113/258] Compiling SotoSmithy WaitersTraits.swift
[116/259] Compiling ArgumentParser ParserError.swift
[117/259] Compiling ArgumentParser SplitArguments.swift
[118/259] Compiling ArgumentParser DumpHelpGenerator.swift
[119/259] Compiling ArgumentParser HelpCommand.swift
[120/259] Compiling ArgumentParser HelpGenerator.swift
[120/259] Wrapping AST for SotoSmithy for debugging
[122/267] Compiling Logging LoggingSystem.swift
[127/268] Compiling ArgumentParser ParentCommand.swift
[128/268] Compiling ArgumentParser AsyncParsableCommand.swift
[129/268] Compiling ArgumentParser CommandConfiguration.swift
[130/268] Compiling ArgumentParser CommandGroup.swift
[131/268] Compiling ArgumentParser EnumerableFlag.swift
[144/268] Compiling ArgumentParser ExpressibleByArgument.swift
[145/268] Compiling ArgumentParser ParsableArguments.swift
[146/268] Compiling ArgumentParser Name.swift
[147/268] Compiling ArgumentParser Parsed.swift
[148/268] Compiling ArgumentParser ParsedValues.swift
[149/268] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[150/269] Compiling Logging Logger+With.swift
[151/269] Compiling Logging Logger+Attributes.swift
[152/269] Compiling Logging Logger.swift
[153/269] Emitting module SotoSmithyAWS
[154/269] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[155/269] Compiling SotoSmithyAWS AwsS3Traits.swift
[156/269] Compiling ArgumentParserToolInfo ToolInfo.swift
[157/269] Emitting module ArgumentParserToolInfo
[159/270] Compiling ArgumentParser AsyncCompletionsValidator.swift
[160/270] Compiling ArgumentParser CodingKeyValidator.swift
[161/270] Compiling ArgumentParser NonsenseFlagsValidator.swift
[162/270] Compiling ArgumentParser ParsableArgumentsValidation.swift
[163/270] Compiling ArgumentParser PositionalArgumentsValidator.swift
[164/270] Compiling ArgumentParser UniqueNamesValidator.swift
[165/270] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[166/270] Compiling SotoSmithyAWS Smithy.swift
[166/270] Wrapping AST for ArgumentParserToolInfo for debugging
[168/317] Compiling SotoSmithyAWS AwsIAMTraits.swift
[169/317] Compiling ArgumentParser MessageInfo.swift
[170/317] Compiling ArgumentParser UsageGenerator.swift
[171/317] Compiling ArgumentParser CollectionExtensions.swift
[172/317] Compiling ArgumentParser Foundation.swift
[173/317] Compiling ArgumentParser Mutex.swift
[174/317] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[175/317] Compiling SotoSmithyAWS AwsCoreTraits.swift
[177/318] Compiling ArgumentParser ArgumentDecoder.swift
[178/318] Compiling ArgumentParser ArgumentDefinition.swift
[179/318] Compiling ArgumentParser ArgumentSet.swift
[180/318] Compiling ArgumentParser CommandParser.swift
[181/318] Compiling ArgumentParser InputKey.swift
[182/318] Compiling ArgumentParser InputOrigin.swift
[182/318] Wrapping AST for SotoSmithyAWS for debugging
[184/340] Compiling SotoCodeGeneratorLib Model+Patch.swift
[185/340] Compiling SotoCodeGeneratorLib Patch.swift
[186/340] Compiling SotoCodeGeneratorLib Smithy+CodeGeneration.swift
[187/340] Compiling SotoCodeGeneratorLib SotoCodeGen.swift
[188/340] Compiling SotoCodeGeneratorLib SotoTraits.swift
[189/340] Compiling SotoCodeGeneratorLib String.swift
[190/340] Compiling SotoCodeGeneratorLib Templates.swift
[191/340] Compiling ArgumentParser HelpCommand.swift
[192/340] Compiling ArgumentParser HelpGenerator.swift
[197/340] Compiling SotoCodeGeneratorLib AwsService+paginators.swift
[198/340] Compiling SotoCodeGeneratorLib AwsService+shapes.swift
[199/340] Compiling SotoCodeGeneratorLib AwsService+waiters.swift
[200/340] Compiling SotoCodeGeneratorLib AwsService.swift
[201/340] Compiling SotoCodeGeneratorLib ConfigFile.swift
[202/340] Compiling SotoCodeGeneratorLib Endpoints.swift
[203/340] Compiling SotoCodeGeneratorLib Glob.swift
[204/340] Compiling SotoCodeGeneratorLib comment.swift
[205/340] Compiling SotoCodeGeneratorLib enum.swift
[206/340] Compiling SotoCodeGeneratorLib enumWithValues.swift
[207/340] Compiling SotoCodeGeneratorLib error.swift
[208/340] Compiling SotoCodeGeneratorLib header.swift
[209/340] Compiling SotoCodeGeneratorLib paginators.swift
[210/343] Compiling SotoCodeGeneratorLib shapes.swift
[211/343] Compiling SotoCodeGeneratorLib struct.swift
[212/343] Compiling SotoCodeGeneratorLib waiters.swift
[218/343] Compiling SotoCodeGeneratorLib api.swift
[221/343] Compiling Logging MetadataProvider.swift
[224/343] Emitting module Logging
[225/344] Emitting module ArgumentParser
[229/344] Compiling ArgumentParser ParserError.swift
[230/344] Compiling ArgumentParser SplitArguments.swift
[231/344] Compiling ArgumentParser DumpHelpGenerator.swift
[233/350] Emitting module SotoCodeGeneratorLib
[233/350] Wrapping AST for Logging for debugging
[281/350] Compiling ArgumentParser Platform.swift
[282/350] Compiling ArgumentParser SequenceExtensions.swift
[283/350] Compiling ArgumentParser StringExtensions.swift
[284/350] Compiling ArgumentParser SwiftExtensions.swift
[285/350] Compiling ArgumentParser Tree.swift
[297/352] Compiling ArgumentParser ParsableCommand.swift
[298/352] Emitting module ArgumentParser
[307/353] Wrapping AST for SotoSmithy for debugging
[308/353] Wrapping AST for Mustache for debugging
[311/368] Emitting module SotoSmithyAWS
[311/369] Wrapping AST for ArgumentParser for debugging
[313/369] Compiling SotoSmithyAWS AwsS3Traits.swift
[314/369] Compiling SotoModelDownloader GitHubModels.swift
[315/369] Compiling ArgumentParser AsyncCompletionsValidator.swift
[316/369] Compiling ArgumentParser CodingKeyValidator.swift
[317/369] Compiling ArgumentParser NonsenseFlagsValidator.swift
[318/369] Compiling ArgumentParser ParsableArgumentsValidation.swift
[319/369] Compiling ArgumentParser PositionalArgumentsValidator.swift
[320/369] Compiling ArgumentParser UniqueNamesValidator.swift
[328/369] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[329/369] Compiling SotoModelDownloader ConfigFile.swift
[330/369] Compiling SotoModelDownloader DownloaderError.swift
[331/369] Compiling SotoModelDownloader GitHubAPI.swift
[332/369] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[333/369] Compiling SotoModelDownloader Downloader.swift
[334/369] Emitting module SotoModelDownloader
[335/369] Compiling SotoModelDownloader App.swift
[336/370] Wrapping AST for SotoModelDownloader for debugging
[337/370] Write Objects.LinkFileList
[339/370] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[340/370] Compiling SotoSmithyAWS Smithy.swift
[348/371] Compiling SotoSmithyAWS AwsCoreTraits.swift
[350/371] Compiling SotoSmithyAWS AwsIAMTraits.swift
[351/371] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[352/372] Wrapping AST for ArgumentParser for debugging
[353/383] Wrapping AST for SotoSmithyAWS for debugging
[354/401] Linking SotoModelDownloader-tool
[356/401] Compiling SotoModelDownloader DownloaderError.swift
[357/401] Compiling SotoCodeGeneratorLib AwsService+paginators.swift
[358/401] Compiling SotoCodeGeneratorLib AwsService+shapes.swift
[359/401] Compiling SotoCodeGeneratorLib AwsService+waiters.swift
[360/401] Compiling SotoCodeGeneratorLib comment.swift
[361/401] Compiling SotoCodeGeneratorLib enum.swift
[362/401] Compiling SotoCodeGeneratorLib enumWithValues.swift
[364/402] Compiling SotoModelDownloader Downloader.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 |
[368/405] Emitting module SotoModelDownloader
[369/405] Compiling SotoModelDownloader App.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[370/405] 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 |
[371/405] 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 |
[372/405] 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 |
[373/405] 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 |
[373/405] Wrapping AST for SotoCodeGeneratorLib for debugging
[375/407] 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 |
[376/407] 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 |
[377/407] 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 |
[378/407] 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 |
[379/407] 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 |
[380/407] 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 |
[381/407] 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 |
[382/407] 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 |
[383/407] 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 |
[384/407] Compiling SotoCodeGeneratorLib Smithy+CodeGeneration.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
| `- error: no such module 'Darwin.C'
21 | #endif
22 |
[385/407] Compiling SotoCodeGeneratorLib SotoCodeGen.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
| `- error: no such module 'Darwin.C'
21 | #endif
22 |
[386/407] Compiling SotoCodeGeneratorLib SotoTraits.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Glob.swift:20:8: error: no such module 'Darwin.C'
18 | import Glibc
19 | #else
20 | import Darwin.C
| `- error: no such module 'Darwin.C'
21 | #endif
22 |
[387/407] Compiling SotoModelDownloader GitHubModels.swift
[388/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 | }
[389/407] Compiling SotoModelDownloader ConfigFile.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 |
BUILD FAILURE 6.3 android