The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AST, reference main (cad7c2), with Swift 6.2 for Wasm on 20 Jun 2025 21:04:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AnarchoSystems/AST.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/AnarchoSystems/AST
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cad7c2c associated type changed
Cloned https://github.com/AnarchoSystems/AST.git
Revision (git rev-parse @):
cad7c2c4127a5e79a48991e33db5a787fb2b0506
SUCCESS checkout https://github.com/AnarchoSystems/AST.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/AnarchoSystems/AST.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-argument-parser.git
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.27s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (2.06s)
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.5.1
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/30] Emitting module ArgumentParserToolInfo
[8/30] Compiling AST ClosedGraph.swift
[9/30] Compiling AST Constructor.swift
[10/31] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/32] Compiling AST Context.swift
[13/32] Compiling AST Errors.swift
[14/32] Compiling AST Parser+CLR1.swift
[15/32] Compiling AST Parser.swift
[16/32] Compiling AST Expr.swift
[17/32] Compiling AST Grammar.swift
[17/32] Wrapping AST for ArgumentParserToolInfo for debugging
[19/70] Compiling AST Utils.swift
[20/70] Emitting module ArgumentParser
[21/75] Compiling ArgumentParser Name.swift
[22/75] Compiling ArgumentParser Parsed.swift
[23/75] Compiling ArgumentParser ParsedValues.swift
[24/75] Compiling ArgumentParser ParserError.swift
[25/75] Compiling ArgumentParser SplitArguments.swift
[26/75] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:15:1: warning: extension declares a conformance of imported type 'Character' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
13 | }
14 |
15 | extension Character : Codable {
   | |- warning: extension declares a conformance of imported type 'Character' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
16 |
17 |     public func encode(to encoder: Encoder) throws {
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:24:27: error: missing argument for parameter 'coder' in call
22 |         let str = try String(from: decoder)
23 |         guard str.count == 1 else {
24 |             throw NSError() //todo
   |                           `- error: missing argument for parameter 'coder' in call
25 |         }
26 |         self = str.first!
Foundation.NSError.init:2:17: note: 'init(coder:)' declared here
1 | class NSError {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:24:19: error: thrown expression type 'NSError?' does not conform to 'Error'
22 |         let str = try String(from: decoder)
23 |         guard str.count == 1 else {
24 |             throw NSError() //todo
   |                   `- error: thrown expression type 'NSError?' does not conform to 'Error'
25 |         }
26 |         self = str.first!
[27/75] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:15:1: warning: extension declares a conformance of imported type 'Character' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
13 | }
14 |
15 | extension Character : Codable {
   | |- warning: extension declares a conformance of imported type 'Character' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
16 |
17 |     public func encode(to encoder: Encoder) throws {
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:24:27: error: missing argument for parameter 'coder' in call
22 |         let str = try String(from: decoder)
23 |         guard str.count == 1 else {
24 |             throw NSError() //todo
   |                           `- error: missing argument for parameter 'coder' in call
25 |         }
26 |         self = str.first!
Foundation.NSError.init:2:17: note: 'init(coder:)' declared here
1 | class NSError {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:24:19: error: thrown expression type 'NSError?' does not conform to 'Error'
22 |         let str = try String(from: decoder)
23 |         guard str.count == 1 else {
24 |             throw NSError() //todo
   |                   `- error: thrown expression type 'NSError?' does not conform to 'Error'
25 |         }
26 |         self = str.first!
[28/75] Compiling ArgumentParser InputOrigin.swift
[29/75] Compiling ArgumentParser ArgumentVisibility.swift
[30/75] Compiling ArgumentParser FishCompletionsGenerator.swift
[31/75] Compiling ArgumentParser ZshCompletionsGenerator.swift
[32/75] Emitting module AST
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:15:1: warning: extension declares a conformance of imported type 'Character' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
13 | }
14 |
15 | extension Character : Codable {
   | |- warning: extension declares a conformance of imported type 'Character' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
16 |
17 |     public func encode(to encoder: Encoder) throws {
[35/75] Compiling ArgumentParser BashCompletionsGenerator.swift
[36/75] Compiling ArgumentParser CompletionsGenerator.swift
[39/75] Compiling ArgumentParser Argument.swift
[40/75] Compiling ArgumentParser ArgumentHelp.swift
[41/75] Compiling ArgumentParser CollectionExtensions.swift
[42/75] Compiling ArgumentParser Platform.swift
[43/75] Compiling ArgumentParser SequenceExtensions.swift
[44/75] Compiling ArgumentParser StringExtensions.swift
[45/75] Compiling ArgumentParser Tree.swift
[46/75] Compiling ArgumentParser DumpHelpGenerator.swift
[47/75] Compiling ArgumentParser HelpCommand.swift
[48/75] Compiling ArgumentParser HelpGenerator.swift
[49/75] Compiling ArgumentParser MessageInfo.swift
[50/75] Compiling ArgumentParser UsageGenerator.swift
[51/75] Compiling ArgumentParser ExpressibleByArgument.swift
[52/75] Compiling ArgumentParser ParsableArguments.swift
[53/75] Compiling ArgumentParser ParsableArgumentsValidation.swift
[54/75] Compiling ArgumentParser ParsableCommand.swift
[55/75] Compiling ArgumentParser ArgumentDecoder.swift
[56/75] Compiling ArgumentParser OptionGroup.swift
[57/75] Compiling ArgumentParser AsyncParsableCommand.swift
[58/75] Compiling ArgumentParser CommandConfiguration.swift
[59/75] Compiling ArgumentParser CommandGroup.swift
[60/75] Compiling ArgumentParser EnumerableFlag.swift
[64/75] Compiling ArgumentParser Flag.swift
[65/75] Compiling ArgumentParser NameSpecification.swift
[66/75] Compiling ArgumentParser Option.swift
[67/75] Compiling ArgumentParser ArgumentDefinition.swift
[68/75] Compiling ArgumentParser ArgumentSet.swift
[69/75] Compiling ArgumentParser CommandParser.swift
[70/75] Compiling ArgumentParser InputKey.swift
[73/76] Wrapping AST for ArgumentParser for debugging
[1/1] Compiling plugin GenerateTestGrammarSources
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/27] Write sources
[12/27] Write swift-version-24593BA9C3E375BF.txt
[14/48] Emitting module ArgumentParserToolInfo
[15/49] Compiling AST SymbolProtocol.swift
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:15:1: warning: extension declares a conformance of imported type 'Character' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
13 | }
14 |
15 | extension Character : Codable {
   | |- warning: extension declares a conformance of imported type 'Character' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
16 |
17 |     public func encode(to encoder: Encoder) throws {
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:24:27: error: missing argument for parameter 'coder' in call
22 |         let str = try String(from: decoder)
23 |         guard str.count == 1 else {
24 |             throw NSError() //todo
   |                           `- error: missing argument for parameter 'coder' in call
25 |         }
26 |         self = str.first!
Foundation.NSError.init:2:17: note: 'init(coder:)' declared here
1 | class NSError {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:24:19: error: thrown expression type 'NSError?' does not conform to 'Error'
22 |         let str = try String(from: decoder)
23 |         guard str.count == 1 else {
24 |             throw NSError() //todo
   |                   `- error: thrown expression type 'NSError?' does not conform to 'Error'
25 |         }
26 |         self = str.first!
[17/49] Compiling AST Stack.swift
[17/51] Wrapping AST for ArgumentParserToolInfo for debugging
[19/52] Emitting module AST
/host/spi-builder-workspace/Sources/AST/SymbolProtocol.swift:15:1: warning: extension declares a conformance of imported type 'Character' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
13 | }
14 |
15 | extension Character : Codable {
   | |- warning: extension declares a conformance of imported type 'Character' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
16 |
17 |     public func encode(to encoder: Encoder) throws {
[20/52] Compiling AST Sourcegen.swift
[21/52] Compiling AST Parser.swift
[22/52] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm