The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Gramophone, reference main (6856e0), with Swift 6.2 for Wasm on 20 Jan 2026 18:39:12 UTC.

Swift 6 data race errors: 0

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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/Gramophone.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/ChimeHQ/Gramophone
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6856e02 Change swift grammar extraction to use swift
Cloned https://github.com/ChimeHQ/Gramophone.git
Revision (git rev-parse @):
6856e0226068817a78e562a038402315cb435560
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/Gramophone.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ChimeHQ/Gramophone.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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:e45aebddbd3fb4404abe9276e0d450e6fc2ef4836b534e79623bcca11b80d266
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/ChimeHQ/Flexer
[1/273] Fetching flexer
Fetched https://github.com/ChimeHQ/Flexer from cache (0.24s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-markdown.git
[1/17099] Fetching swift-argument-parser
[2/24160] Fetching swift-argument-parser, swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.62s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.62s)
Computing version for https://github.com/swiftlang/swift-markdown.git
Computed https://github.com/swiftlang/swift-markdown.git at 0.7.3 (2.70s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18283] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (0.89s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.7.1 (3.00s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.35s)
Creating working copy for https://github.com/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at 0.7.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.0
Creating working copy for https://github.com/ChimeHQ/Flexer
Working copy of https://github.com/ChimeHQ/Flexer resolved at main (b8fb79e)
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.7.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/56] Write sources
[8/56] Compiling cmark-gfm-extensions tagfilter.c
[9/56] Compiling cmark-gfm-extensions core-extensions.c
[10/56] Compiling cmark-gfm-extensions strikethrough.c
[11/56] Compiling cmark-gfm-extensions tasklist.c
[12/56] Compiling cmark-gfm-extensions ext_scanners.c
[13/56] Compiling CAtomic CAtomic.c
[14/56] Write swift-version-24593BA9C3E375BF.txt
[15/56] Compiling cmark-gfm xml.c
[16/56] Compiling cmark-gfm-extensions autolink.c
[17/56] Compiling cmark-gfm syntax_extension.c
[17/56] Compiling cmark-gfm-extensions table.c
[19/56] Compiling cmark-gfm registry.c
[20/56] Compiling cmark-gfm render.c
[21/56] Compiling cmark-gfm plugin.c
[22/58] Compiling cmark-gfm references.c
[23/59] Compiling cmark-gfm plaintext.c
[24/64] Compiling cmark-gfm linked_list.c
[24/64] Compiling cmark-gfm map.c
[26/65] Compiling cmark-gfm node.c
[27/65] Compiling cmark-gfm man.c
[28/65] Compiling cmark-gfm latex.c
[29/65] Compiling cmark-gfm iterator.c
[30/65] Compiling cmark-gfm html.c
[31/65] Compiling cmark-gfm houdini_href_e.c
[32/65] Compiling cmark-gfm houdini_html_e.c
[33/65] Compiling cmark-gfm inlines.c
[34/65] Compiling cmark-gfm footnotes.c
[35/65] Compiling cmark-gfm cmark_ctype.c
[36/65] Compiling cmark-gfm houdini_html_u.c
[37/65] Compiling cmark-gfm commonmark.c
[38/65] Compiling cmark-gfm cmark.c
[38/65] Write sources
[40/65] Compiling cmark-gfm buffer.c
[41/65] Compiling cmark-gfm arena.c
[42/65] Compiling cmark-gfm blocks.c
[43/65] Compiling cmark-gfm scanners.c
[44/65] Compiling cmark-gfm utf8.c
[46/128] Emitting module Markdown
[47/136] Emitting module ArgumentParserToolInfo
[48/136] Compiling ArgumentParserToolInfo ToolInfo.swift
[49/137] Wrapping AST for ArgumentParserToolInfo for debugging
[51/183] Compiling Flexer TokenProtocol.swift
[52/183] Compiling ArgumentParser Foundation.swift
[53/183] Compiling ArgumentParser Mutex.swift
[54/183] Compiling ArgumentParser Platform.swift
[55/183] Compiling ArgumentParser SequenceExtensions.swift
[56/183] Compiling ArgumentParser StringExtensions.swift
[57/183] Compiling ArgumentParser SwiftExtensions.swift
[58/189] Compiling Flexer CharacterSet+Character.swift
[59/189] Compiling Flexer LookAheadSequenceReference.swift
[60/189] Compiling Flexer BasicTextCharacterLexer.swift
[61/189] Emitting module Flexer
[62/189] Compiling Markdown Link.swift
[63/189] Compiling Markdown Strikethrough.swift
[64/189] Compiling Markdown Strong.swift
[65/189] Compiling Markdown CustomInline.swift
[66/189] Compiling Markdown InlineCode.swift
[67/189] Compiling Markdown InlineHTML.swift
[68/189] Compiling Markdown LineBreak.swift
[69/189] Compiling Markdown SoftBreak.swift
[70/189] Compiling Markdown SymbolLink.swift
[71/189] Compiling ArgumentParser Tree.swift
[72/189] Compiling ArgumentParser CodingKeyValidator.swift
[73/189] Compiling ArgumentParser NonsenseFlagsValidator.swift
[74/189] Compiling ArgumentParser ParsableArgumentsValidation.swift
[75/189] Compiling ArgumentParser PositionalArgumentsValidator.swift
[76/189] Compiling ArgumentParser UniqueNamesValidator.swift
[77/189] Compiling Markdown ListItemContainer.swift
[78/189] Compiling Markdown AtomicCounter.swift
[79/189] Compiling ArgumentParser InputOrigin.swift
[80/189] Compiling ArgumentParser Name.swift
[81/189] Compiling ArgumentParser Parsed.swift
[82/189] Compiling ArgumentParser ParsedValues.swift
[83/189] Compiling ArgumentParser ParserError.swift
[84/189] Compiling ArgumentParser SplitArguments.swift
[91/189] Compiling ArgumentParser DumpHelpGenerator.swift
[92/189] Compiling ArgumentParser HelpCommand.swift
[93/189] Compiling ArgumentParser HelpGenerator.swift
[94/189] Compiling ArgumentParser MessageInfo.swift
[95/189] Compiling ArgumentParser UsageGenerator.swift
[96/189] Compiling ArgumentParser CollectionExtensions.swift
[97/189] Compiling ArgumentParser CommandParser.swift
[98/189] Compiling ArgumentParser InputKey.swift
[99/189] Compiling ArgumentParser ParentCommand.swift
[100/189] Compiling ArgumentParser AsyncParsableCommand.swift
[101/189] Compiling ArgumentParser CommandConfiguration.swift
[102/189] Compiling ArgumentParser CommandGroup.swift
[103/189] Compiling ArgumentParser EnumerableFlag.swift
[104/189] Compiling ArgumentParser ExpressibleByArgument.swift
[105/189] Compiling ArgumentParser ParsableArguments.swift
[106/189] Compiling Flexer LookAheadIteratorProtocol.swift
[107/189] Compiling Flexer LookAheadSequence.swift
[108/190] Compiling Markdown CharacterExtensions.swift
[109/190] Compiling Markdown CollectionExtensions.swift
[110/190] Compiling Markdown StringExtensions.swift
[111/190] Compiling Markdown MarkupVisitor.swift
[112/190] Compiling Markdown MarkupWalker.swift
[113/190] Compiling Markdown HTMLFormatter.swift
[114/190] Compiling Markdown MarkupFormatter.swift
[115/190] Compiling Markdown MarkupTreeDumper.swift
[117/190] Compiling ArgumentParser BashCompletionsGenerator.swift
[118/190] Compiling ArgumentParser CompletionsGenerator.swift
[119/190] Compiling ArgumentParser FishCompletionsGenerator.swift
[120/190] Compiling ArgumentParser ZshCompletionsGenerator.swift
[121/190] Compiling ArgumentParser Argument.swift
[122/190] Compiling ArgumentParser ArgumentDiscussion.swift
[123/190] Compiling ArgumentParser ArgumentHelp.swift
[124/190] Compiling ArgumentParser ArgumentVisibility.swift
[125/190] Compiling ArgumentParser CompletionKind.swift
[126/190] Compiling ArgumentParser Errors.swift
[127/190] Compiling ArgumentParser Flag.swift
[128/190] Compiling ArgumentParser NameSpecification.swift
[129/190] Compiling ArgumentParser Option.swift
[130/190] Compiling ArgumentParser OptionGroup.swift
[131/190] Compiling ArgumentParser ParsableCommand.swift
[132/190] Compiling ArgumentParser ArgumentDecoder.swift
[133/190] Compiling ArgumentParser ArgumentDefinition.swift
[134/190] Compiling ArgumentParser ArgumentSet.swift
[134/190] Wrapping AST for Flexer for debugging
[136/198] Wrapping AST for Markdown for debugging
[151/198] Emitting module ArgumentParser
[171/198] Compiling Gramophone Terminal.swift
[172/198] Compiling Gramophone BNFTokenSequence.swift
[173/198] Compiling Gramophone Grammar.swift
[187/198] Emitting module Gramophone
[188/198] Compiling Gramophone BNFParser.swift
[190/199] Compiling Gramophone Gramophone.swift
[191/199] Compiling Gramophone Rule.swift
[192/200] Wrapping AST for ArgumentParser for debugging
[193/200] Wrapping AST for Gramophone for debugging
[195/204] Emitting module CLITool
[196/204] Compiling CLITool main.swift
[197/205] Emitting module swift_grammar_extract
[198/205] Compiling swift_grammar_extract main.swift
[200/206] Wrapping AST for CLITool for debugging
[201/206] Write Objects.LinkFileList
[202/206] Wrapping AST for swift-grammar-extract for debugging
[203/206] Write Objects.LinkFileList
[204/206] Linking gram.wasm
[205/206] Linking swift-grammar-extract.wasm
Build complete! (25.88s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "flexer",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/Flexer"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-markdown",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.7.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-markdown.git"
    }
  ],
  "manifest_display_name" : "Gramophone",
  "name" : "Gramophone",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Gramophone",
      "targets" : [
        "Gramophone"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "gram",
      "targets" : [
        "CLITool"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "swift-grammar-extract",
      "targets" : [
        "swift-grammar-extract"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_grammar_extract",
      "module_type" : "SwiftTarget",
      "name" : "swift-grammar-extract",
      "path" : "Sources/swift-grammar-extract",
      "product_dependencies" : [
        "ArgumentParser",
        "Markdown"
      ],
      "product_memberships" : [
        "swift-grammar-extract"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "GramophoneTests",
      "module_type" : "SwiftTarget",
      "name" : "GramophoneTests",
      "path" : "Tests/GramophoneTests",
      "sources" : [
        "GrammarTests.swift",
        "LexerTests.swift",
        "ParserTests.swift",
        "RuleTests.swift"
      ],
      "target_dependencies" : [
        "Gramophone"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Gramophone",
      "module_type" : "SwiftTarget",
      "name" : "Gramophone",
      "path" : "Sources/Gramophone",
      "product_dependencies" : [
        "Flexer"
      ],
      "product_memberships" : [
        "Gramophone",
        "gram"
      ],
      "sources" : [
        "BNFParser.swift",
        "BNFTokenSequence.swift",
        "Grammar.swift",
        "Gramophone.swift",
        "Rule.swift",
        "Terminal.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLITool",
      "module_type" : "SwiftTarget",
      "name" : "CLITool",
      "path" : "Sources/CLITool",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "gram"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Gramophone"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.1"
}
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:e45aebddbd3fb4404abe9276e0d450e6fc2ef4836b534e79623bcca11b80d266
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Done.