The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Lotsawa, reference main (28d7a2), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 09:21:25 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hylo-lang/Lotsawa.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hylo-lang/Lotsawa
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 28d7a22 typo
Submodule path 'paper': checked out '73b347b7e6405323a086a17ad26f5d7b85bb43dc'
Submodule 'paper' (https://github.com/jeffreykegler/Marpa-arxiv-paper) registered for path 'paper'
Cloning into '/Users/admin/builder/spi-builder-workspace/paper'...
Cloned https://github.com/hylo-lang/Lotsawa.git
Revision (git rev-parse @):
28d7a224ed19d03f4d819fecf895e6af21fc9368
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hylo-lang/Lotsawa.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/hylo-lang/Lotsawa.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[0/7] Write sources
[1/7] Write citron-tool-entitlement.plist
[2/7] Write swift-version-1EA4D86E10B52AF.txt
[3/7] Compiling CitronCLibrary main_.c
[5/9] Compiling citron main.swift
[6/9] Emitting module citron
[6/9] Write Objects.LinkFileList
[7/9] Linking citron-tool
[8/9] Applying citron-tool
[1/1] Compiling plugin ValidatorPlugin
[2/2] Compiling plugin CitronParserGenerator
Building for debugging...
[2/15] Write sources
[3/15] Write Profile-entitlement.plist
[3/15] Copying AnsiCGrammar.txt
[8/15] Copying AnsiCTokens.txt
[9/15] Copying AnsiCSymbolIDs.txt
[11/15] Write swift-version-1EA4D86E10B52AF.txt
[13/36] Compiling Lotsawa PredictionMemo.swift
[14/36] Compiling Lotsawa PreprocessedGrammar.swift
[15/36] Compiling Lotsawa Evaluation.swift
[16/36] Compiling Lotsawa Evaluator.swift
[17/38] Compiling Lotsawa Incidental.swift
[18/38] Compiling Lotsawa ItemID.swift
[19/38] Compiling Lotsawa DebugForest.swift
[20/38] Compiling Lotsawa DebugGrammar.swift
[21/38] Compiling Lotsawa Recognizer.swift
[22/38] Compiling Lotsawa UniqueCounter.swift
[23/38] Compiling Lotsawa MultiMap.swift
[24/38] Compiling Lotsawa Nullability.swift
[25/38] Compiling Lotsawa DebugRecognizer.swift
[26/38] Compiling Lotsawa DiscreteMap.swift
[27/38] Emitting module Lotsawa
[28/38] Compiling Lotsawa Forest.swift
[29/38] Compiling Lotsawa Grammar.swift
[30/38] Compiling Lotsawa Chart.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lotsawa/Chart.swift:171:5: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
169 |   func transitionItems(on s: Symbol, inEarleySet i: UInt32) -> some BidirectionalCollection<ItemID>
170 |   {
171 |     transitionEntries(on: s, inEarleySet: i).lazy.map(\.item).droppingAdjacentDuplicates()
    |     |                                                         `- note: reference to unsafe type 'some BidirectionalCollection<Chart.ItemID>'
    |     `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
172 |   }
173 |
/Users/admin/builder/spi-builder-workspace/Sources/Lotsawa/Chart.swift:194:12: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
192 |     let ithSet = earleySet(i)
193 |     let j = ithSet.partitionPoint { d in d.item >= x }
194 |     return ithSet[j...].lazy.prefix(while: { y in y.item == x }).map(\.mainstemIndex!)
    |            |                                                     `- note: reference to unsafe type 'LazyMapSequence<LazyPrefixWhileSequence<LazySequence<Slice<UnsafeBufferPointer<Chart.Entry>>.SubSequence>.Elements>.Elements, Int>' (aka 'LazyMapSequence<LazyPrefixWhileSequence<Slice<UnsafeBufferPointer<Chart.Entry>>>, Int>')
    |            `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
195 |   }
196 |
/Users/admin/builder/spi-builder-workspace/Sources/Lotsawa/Chart.swift:315:12: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
313 |   {
314 |     let predecessors = transitionEntries(on: s, inEarleySet: i)
315 |     return predecessors.first.map { $0.isLeo ? predecessors : nil } ?? nil
    |            |                                                        `- note: reference to unsafe type 'Chart.ItemSequence' (aka 'Slice<UnsafeBufferPointer<Chart.Entry>>')
    |            `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
316 |   }
317 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[31/38] Compiling Lotsawa Collection+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lotsawa/Chart.swift:171:5: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
169 |   func transitionItems(on s: Symbol, inEarleySet i: UInt32) -> some BidirectionalCollection<ItemID>
170 |   {
171 |     transitionEntries(on: s, inEarleySet: i).lazy.map(\.item).droppingAdjacentDuplicates()
    |     |                                                         `- note: reference to unsafe type 'some BidirectionalCollection<Chart.ItemID>'
    |     `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
172 |   }
173 |
/Users/admin/builder/spi-builder-workspace/Sources/Lotsawa/Chart.swift:194:12: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
192 |     let ithSet = earleySet(i)
193 |     let j = ithSet.partitionPoint { d in d.item >= x }
194 |     return ithSet[j...].lazy.prefix(while: { y in y.item == x }).map(\.mainstemIndex!)
    |            |                                                     `- note: reference to unsafe type 'LazyMapSequence<LazyPrefixWhileSequence<LazySequence<Slice<UnsafeBufferPointer<Chart.Entry>>.SubSequence>.Elements>.Elements, Int>' (aka 'LazyMapSequence<LazyPrefixWhileSequence<Slice<UnsafeBufferPointer<Chart.Entry>>>, Int>')
    |            `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
195 |   }
196 |
/Users/admin/builder/spi-builder-workspace/Sources/Lotsawa/Chart.swift:315:12: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
313 |   {
314 |     let predecessors = transitionEntries(on: s, inEarleySet: i)
315 |     return predecessors.first.map { $0.isLeo ? predecessors : nil } ?? nil
    |            |                                                        `- note: reference to unsafe type 'Chart.ItemSequence' (aka 'Slice<UnsafeBufferPointer<Chart.Entry>>')
    |            `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
316 |   }
317 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[32/38] Compiling Lotsawa DebugChart.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lotsawa/Chart.swift:171:5: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
169 |   func transitionItems(on s: Symbol, inEarleySet i: UInt32) -> some BidirectionalCollection<ItemID>
170 |   {
171 |     transitionEntries(on: s, inEarleySet: i).lazy.map(\.item).droppingAdjacentDuplicates()
    |     |                                                         `- note: reference to unsafe type 'some BidirectionalCollection<Chart.ItemID>'
    |     `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
172 |   }
173 |
/Users/admin/builder/spi-builder-workspace/Sources/Lotsawa/Chart.swift:194:12: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
192 |     let ithSet = earleySet(i)
193 |     let j = ithSet.partitionPoint { d in d.item >= x }
194 |     return ithSet[j...].lazy.prefix(while: { y in y.item == x }).map(\.mainstemIndex!)
    |            |                                                     `- note: reference to unsafe type 'LazyMapSequence<LazyPrefixWhileSequence<LazySequence<Slice<UnsafeBufferPointer<Chart.Entry>>.SubSequence>.Elements>.Elements, Int>' (aka 'LazyMapSequence<LazyPrefixWhileSequence<Slice<UnsafeBufferPointer<Chart.Entry>>>, Int>')
    |            `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
195 |   }
196 |
/Users/admin/builder/spi-builder-workspace/Sources/Lotsawa/Chart.swift:315:12: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
313 |   {
314 |     let predecessors = transitionEntries(on: s, inEarleySet: i)
315 |     return predecessors.first.map { $0.isLeo ? predecessors : nil } ?? nil
    |            |                                                        `- note: reference to unsafe type 'Chart.ItemSequence' (aka 'Slice<UnsafeBufferPointer<Chart.Entry>>')
    |            `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
316 |   }
317 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[33/38] Compiling Lotsawa AdjacencyMatrix.swift
[34/38] Compiling Lotsawa Array+Extensions.swift
[35/38] Compiling Lotsawa BitSet.swift
[36/44] Generating LotsawaC PCH
[37/46] Compiling LotsawaFrontend Bison.swift
[38/46] Emitting module LotsawaFrontend
[39/46] Emitting module LotsawaC
[40/46] Compiling LotsawaC LotsawaC.swift
[41/46] Compiling TestResources resource_bundle_accessor.swift
[42/46] Compiling TestResources TestResources.swift
[43/46] Emitting module TestResources
[44/48] Emitting module Profile
[45/48] Compiling Profile Profile.swift
[45/48] Write Objects.LinkFileList
[46/48] Linking Profile
[47/48] Applying Profile
Build complete! (20.08s)
Fetching https://github.com/SwiftPackageIndex/SPIManifest.git
Fetching https://github.com/dabrahams/citron.git
[1/891] Fetching spimanifest
[10/3066] Fetching spimanifest, citron
Fetched https://github.com/SwiftPackageIndex/SPIManifest.git from cache (0.93s)
Fetched https://github.com/dabrahams/citron.git from cache (0.93s)
Computing version for https://github.com/dabrahams/citron.git
Computed https://github.com/dabrahams/citron.git at 2.1.7 (2.92s)
Computing version for https://github.com/SwiftPackageIndex/SPIManifest.git
Computed https://github.com/SwiftPackageIndex/SPIManifest.git at 0.19.0 (0.51s)
Fetching https://github.com/jpsim/Yams.git
[1/10859] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (4.62s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (5.12s)
Creating working copy for https://github.com/SwiftPackageIndex/SPIManifest.git
Working copy of https://github.com/SwiftPackageIndex/SPIManifest.git resolved at 0.19.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/dabrahams/citron.git
Working copy of https://github.com/dabrahams/citron.git resolved at 2.1.7
Build complete.
{
  "dependencies" : [
    {
      "identity" : "citron",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.7",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dabrahams/citron.git"
    },
    {
      "identity" : "spimanifest",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.12.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftPackageIndex/SPIManifest.git"
    }
  ],
  "manifest_display_name" : "Lotsawa",
  "name" : "Lotsawa",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Lotsawa",
      "targets" : [
        "Lotsawa"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LotsawaC",
      "targets" : [
        "LotsawaC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LotsawaFrontend",
      "targets" : [
        "LotsawaFrontend"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Profile",
      "targets" : [
        "Profile"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestResources",
      "module_type" : "SwiftTarget",
      "name" : "TestResources",
      "path" : "Sources/TestResources",
      "product_memberships" : [
        "Profile"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/TestResources/AnsiCGrammar.txt",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/TestResources/AnsiCSymbolIDs.txt",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/TestResources/AnsiCTokens.txt",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "TestResources.swift"
      ],
      "target_dependencies" : [
        "Lotsawa"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Profile",
      "module_type" : "SwiftTarget",
      "name" : "Profile",
      "path" : "Sources/Profile",
      "product_memberships" : [
        "Profile"
      ],
      "sources" : [
        "Profile.swift"
      ],
      "target_dependencies" : [
        "Lotsawa",
        "TestResources"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "LotsawaTests",
      "module_type" : "SwiftTarget",
      "name" : "LotsawaTests",
      "path" : "Tests/LotsawaTests",
      "product_dependencies" : [
        "CitronParserModule",
        "CitronLexerModule",
        "CitronParserGenerator"
      ],
      "sources" : [
        "AdjacencyMatrixTests.swift",
        "BitSetTests.swift",
        "ChartInternalTests.swift",
        "DiscreteMapTests.swift",
        "ForestTests.swift",
        "GrammarInternalTests.swift",
        "GrammarPreprocessing.swift",
        "GrammarPreprocessingTests.swift",
        "GrammarTests.swift",
        "RecognizerTests.swift",
        "Utils/DebugForest+Extensions.swift",
        "Utils/DebugGrammar+Extensions.swift",
        "Utils/DebugGrammar.swift",
        "Utils/DebugGrammarScanner.swift",
        "Utils/Lotsawa+Extensions.swift",
        "Utils/ParseGeneration.swift",
        "Utils/Swift+Extensions.swift"
      ],
      "target_dependencies" : [
        "Lotsawa",
        "TestResources"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LotsawaFrontendTests",
      "module_type" : "SwiftTarget",
      "name" : "LotsawaFrontendTests",
      "path" : "Tests/LotsawaFrontendTests",
      "sources" : [
        "BisonTests.swift"
      ],
      "target_dependencies" : [
        "Lotsawa",
        "LotsawaFrontend"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LotsawaFrontend",
      "module_type" : "SwiftTarget",
      "name" : "LotsawaFrontend",
      "path" : "Sources/LotsawaFrontend",
      "product_memberships" : [
        "LotsawaFrontend"
      ],
      "sources" : [
        "Bison.swift"
      ],
      "target_dependencies" : [
        "Lotsawa"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LotsawaC",
      "module_type" : "SwiftTarget",
      "name" : "LotsawaC",
      "path" : "Sources/LotsawaC",
      "product_memberships" : [
        "LotsawaC"
      ],
      "sources" : [
        "LotsawaC.swift"
      ],
      "target_dependencies" : [
        "Lotsawa"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Lotsawa",
      "module_type" : "SwiftTarget",
      "name" : "Lotsawa",
      "path" : "Sources/Lotsawa",
      "product_memberships" : [
        "Lotsawa",
        "LotsawaC",
        "LotsawaFrontend",
        "Profile"
      ],
      "sources" : [
        "AdjacencyMatrix.swift",
        "Array+Extensions.swift",
        "BitSet.swift",
        "Chart.swift",
        "Collection+Extensions.swift",
        "DebugChart.swift",
        "DebugForest.swift",
        "DebugGrammar.swift",
        "DebugRecognizer.swift",
        "DiscreteMap.swift",
        "Evaluation.swift",
        "Evaluator.swift",
        "Forest.swift",
        "Grammar.swift",
        "Incidental.swift",
        "ItemID.swift",
        "MultiMap.swift",
        "Nullability.swift",
        "PredictionMemo.swift",
        "PreprocessedGrammar.swift",
        "Recognizer.swift",
        "UniqueCounter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.