The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Gramophone, reference main (6856e0), with Swift 6.2 for Linux on 20 Jan 2026 18:38:21 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
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-4606859-3":/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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:028db8def7a0a170322a168cc6b6bf6fa53e165049035becb7303fffc498bb80
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/ChimeHQ/Flexer
[1/273] Fetching flexer
Fetched https://github.com/ChimeHQ/Flexer from cache (0.23s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-markdown.git
[1/17099] Fetching swift-argument-parser
[514/24160] Fetching swift-argument-parser, swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.49s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-markdown.git
Computed https://github.com/swiftlang/swift-markdown.git at 0.7.3 (2.80s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18283] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (0.91s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.7.1 (3.01s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.38s)
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
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-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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/56] Write sources
[7/56] Compiling cmark-gfm registry.c
[8/56] Compiling cmark-gfm references.c
[9/56] Compiling cmark-gfm-extensions tagfilter.c
[10/56] Compiling cmark-gfm-extensions tasklist.c
[11/56] Compiling cmark-gfm-extensions strikethrough.c
[12/56] Write swift-version-24593BA9C3E375BF.txt
[13/56] Compiling cmark-gfm-extensions ext_scanners.c
[14/56] Compiling cmark-gfm-extensions core-extensions.c
[15/56] Compiling cmark-gfm-extensions table.c
[16/56] Compiling cmark-gfm xml.c
[17/56] Compiling cmark-gfm syntax_extension.c
[18/56] Compiling cmark-gfm-extensions autolink.c
[19/61] Compiling cmark-gfm plugin.c
[20/65] Compiling cmark-gfm render.c
[21/65] Compiling cmark-gfm man.c
[22/65] Compiling cmark-gfm map.c
[23/65] Compiling cmark-gfm plaintext.c
[24/65] Compiling cmark-gfm linked_list.c
[25/65] Compiling cmark-gfm node.c
[26/65] Compiling cmark-gfm utf8.c
[27/65] Compiling cmark-gfm latex.c
[28/65] Compiling cmark-gfm iterator.c
[28/65] Compiling cmark-gfm html.c
[30/65] Compiling cmark-gfm houdini_html_e.c
[31/65] Compiling cmark-gfm houdini_html_u.c
[32/65] Compiling cmark-gfm houdini_href_e.c
[33/65] Compiling cmark-gfm scanners.c
[34/65] Compiling cmark-gfm inlines.c
[35/65] Compiling cmark-gfm cmark_ctype.c
[36/65] Compiling cmark-gfm footnotes.c
[37/65] Write sources
[38/65] Compiling cmark-gfm cmark.c
[38/65] Compiling CAtomic CAtomic.c
[38/65] Write sources
[41/65] Compiling cmark-gfm buffer.c
[42/65] Compiling cmark-gfm commonmark.c
[43/65] Compiling cmark-gfm arena.c
[44/65] Compiling cmark-gfm blocks.c
[46/128] Compiling Markdown OrderedList.swift
[47/128] Compiling Markdown UnorderedList.swift
[48/128] Compiling Markdown Paragraph.swift
[49/128] Compiling Markdown CodeBlock.swift
[50/128] Compiling Markdown HTMLBlock.swift
[51/128] Compiling Markdown Heading.swift
[52/128] Compiling Markdown ThematicBreak.swift
[53/128] Compiling Markdown Table.swift
[54/128] Compiling Markdown TableBody.swift
[55/136] Emitting module ArgumentParserToolInfo
[56/136] Compiling ArgumentParserToolInfo ToolInfo.swift
[57/137] Wrapping AST for ArgumentParserToolInfo for debugging
[59/183] Compiling ArgumentParser Foundation.swift
[60/183] Compiling ArgumentParser Mutex.swift
[61/183] Compiling ArgumentParser Platform.swift
[62/183] Compiling ArgumentParser SequenceExtensions.swift
[63/183] Compiling ArgumentParser StringExtensions.swift
[64/183] Compiling ArgumentParser SwiftExtensions.swift
[65/189] Compiling Flexer CharacterSet+Character.swift
[66/189] Compiling Markdown TableCell.swift
[67/189] Compiling Markdown TableCellContainer.swift
[68/189] Compiling Markdown TableHead.swift
[69/189] Compiling Markdown TableRow.swift
[70/189] Compiling Markdown Replacement.swift
[71/189] Compiling Markdown SourceLocation.swift
[72/189] Compiling Markdown Emphasis.swift
[73/189] Compiling Markdown Image.swift
[74/189] Compiling Markdown InlineAttributes.swift
[75/189] Compiling ArgumentParser BashCompletionsGenerator.swift
[76/189] Compiling ArgumentParser CompletionsGenerator.swift
[77/189] Compiling ArgumentParser FishCompletionsGenerator.swift
[78/189] Compiling ArgumentParser ZshCompletionsGenerator.swift
[79/189] Compiling ArgumentParser Argument.swift
[80/189] Compiling ArgumentParser ArgumentDiscussion.swift
[81/189] Compiling ArgumentParser ArgumentHelp.swift
[82/189] Compiling ArgumentParser ArgumentVisibility.swift
[83/189] Compiling ArgumentParser CompletionKind.swift
[84/189] Compiling ArgumentParser Errors.swift
[85/189] Compiling ArgumentParser Flag.swift
[86/189] Compiling ArgumentParser NameSpecification.swift
[87/189] Compiling ArgumentParser Option.swift
[88/189] Compiling ArgumentParser OptionGroup.swift
[89/189] Compiling ArgumentParser ParentCommand.swift
[90/189] Compiling ArgumentParser AsyncParsableCommand.swift
[91/189] Compiling ArgumentParser CommandConfiguration.swift
[92/189] Compiling ArgumentParser CommandGroup.swift
[93/189] Compiling Flexer LookAheadSequenceReference.swift
[94/189] Emitting module Flexer
[95/189] Compiling Flexer BasicTextCharacterLexer.swift
[96/189] Compiling Flexer LookAheadIteratorProtocol.swift
[97/189] Compiling Flexer LookAheadSequence.swift
[98/189] Compiling Flexer TokenProtocol.swift
[100/190] Emitting module Markdown
[102/190] Compiling ArgumentParser Tree.swift
[103/190] Compiling ArgumentParser CodingKeyValidator.swift
[104/190] Compiling ArgumentParser NonsenseFlagsValidator.swift
[105/190] Compiling ArgumentParser ParsableArgumentsValidation.swift
[106/190] Compiling ArgumentParser PositionalArgumentsValidator.swift
[107/190] Compiling ArgumentParser UniqueNamesValidator.swift
[108/190] Compiling Markdown SoftBreak.swift
[109/190] Compiling Markdown SymbolLink.swift
[110/190] Compiling ArgumentParser Parsed.swift
[111/190] Compiling ArgumentParser ParsedValues.swift
[112/190] Compiling ArgumentParser ParserError.swift
[113/190] Compiling ArgumentParser SplitArguments.swift
[119/190] Compiling ArgumentParser DumpHelpGenerator.swift
[120/190] Compiling ArgumentParser HelpCommand.swift
[121/190] Compiling ArgumentParser HelpGenerator.swift
[122/190] Compiling ArgumentParser MessageInfo.swift
[123/190] Compiling ArgumentParser UsageGenerator.swift
[124/190] Compiling ArgumentParser CollectionExtensions.swift
[125/190] Compiling ArgumentParser InputOrigin.swift
[126/190] Compiling ArgumentParser Name.swift
[126/190] Wrapping AST for Flexer for debugging
[146/197] Compiling Markdown CharacterExtensions.swift
[147/197] Compiling Markdown CollectionExtensions.swift
[148/197] Compiling Markdown StringExtensions.swift
[149/197] Compiling Markdown MarkupVisitor.swift
[150/197] Compiling Markdown MarkupWalker.swift
[151/197] Compiling Markdown HTMLFormatter.swift
[152/197] Compiling Markdown MarkupFormatter.swift
[153/197] Compiling Markdown MarkupTreeDumper.swift
[162/198] Emitting module ArgumentParser
[162/198] Wrapping AST for Markdown for debugging
[175/198] Compiling ArgumentParser EnumerableFlag.swift
[176/198] Compiling ArgumentParser ExpressibleByArgument.swift
[177/198] Compiling ArgumentParser ParsableArguments.swift
[178/198] Compiling ArgumentParser ParsableCommand.swift
[179/198] Compiling ArgumentParser ArgumentDecoder.swift
[180/198] Compiling ArgumentParser ArgumentDefinition.swift
[181/198] Compiling ArgumentParser ArgumentSet.swift
[182/198] Compiling ArgumentParser CommandParser.swift
[183/198] Compiling ArgumentParser InputKey.swift
[184/199] Wrapping AST for ArgumentParser for debugging
[186/201] Compiling Gramophone Gramophone.swift
[187/201] Compiling Gramophone Terminal.swift
[188/201] Emitting module swift_grammar_extract
[189/201] Compiling swift_grammar_extract main.swift
[191/202] Emitting module Gramophone
[192/202] Compiling Gramophone BNFParser.swift
[192/202] Wrapping AST for swift-grammar-extract for debugging
[193/202] Write Objects.LinkFileList
[195/202] Compiling Gramophone Grammar.swift
[196/202] Compiling Gramophone BNFTokenSequence.swift
[197/202] Compiling Gramophone Rule.swift
[198/205] Wrapping AST for Gramophone for debugging
[199/205] Linking swift-grammar-extract
[201/205] Compiling CLITool main.swift
[202/205] Emitting module CLITool
[203/206] Wrapping AST for CLITool for debugging
[204/206] Write Objects.LinkFileList
[205/206] Linking gram
Build complete! (32.79s)
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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:028db8def7a0a170322a168cc6b6bf6fa53e165049035becb7303fffc498bb80
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.