The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Lotsawa, reference main (28d7a2), with Swift 6.0 for macOS (SPM) on 22 Jan 2025 11:43:39 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
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
Fetching https://github.com/dabrahams/citron.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/SwiftPackageIndex/SPIManifest.git
[1/799] Fetching spimanifest
[9/2974] Fetching spimanifest, citron
[183/12982] Fetching spimanifest, citron, yams
Fetched https://github.com/SwiftPackageIndex/SPIManifest.git from cache (2.90s)
Fetched https://github.com/jpsim/Yams.git from cache (2.90s)
Fetched https://github.com/dabrahams/citron.git from cache (2.90s)
Computing version for https://github.com/SwiftPackageIndex/SPIManifest.git
Computed https://github.com/SwiftPackageIndex/SPIManifest.git at 0.19.0 (2.77s)
Computing version for https://github.com/dabrahams/citron.git
Computed https://github.com/dabrahams/citron.git at 2.1.7 (0.61s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.59s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
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/dabrahams/citron.git
Working copy of https://github.com/dabrahams/citron.git resolved at 2.1.7
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "lotsawa",
      "name": "Lotsawa",
      "url": "https://github.com/hylo-lang/Lotsawa.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Lotsawa",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/hylo-lang/Lotsawa.git
[1/3499] Fetching lotsawa
Fetched https://github.com/hylo-lang/Lotsawa.git from cache (1.20s)
Creating working copy for https://github.com/hylo-lang/Lotsawa.git
Working copy of https://github.com/hylo-lang/Lotsawa.git resolved at main (28d7a22)
warning: '.resolve-product-dependencies': dependency 'lotsawa' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/hylo-lang/Lotsawa.git
https://github.com/hylo-lang/Lotsawa.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/7] Write sources
[1/7] Write citron-tool-entitlement.plist
[2/7] Write swift-version-5BDAB9E9C0126B9D.txt
[3/7] Compiling CitronCLibrary main_.c
[5/9] Emitting module citron
[6/9] Compiling citron main.swift
[6/9] Write Objects.LinkFileList
[7/9] Linking citron-tool
[8/9] Applying citron-tool
Build of product 'citron' complete! (3.05s)
[1/1] Compiling plugin CitronParserGenerator
[2/2] Compiling plugin ValidatorPlugin
Building for debugging...
[2/15] Write sources
[5/15] Write Profile-entitlement.plist
[6/15] Write sources
[6/15] Copying AnsiCGrammar.txt
[8/15] Copying AnsiCTokens.txt
[10/15] Copying AnsiCSymbolIDs.txt
[11/15] Write swift-version-5BDAB9E9C0126B9D.txt
[13/36] Emitting module Lotsawa
[14/38] Compiling Lotsawa Incidental.swift
[15/38] Compiling Lotsawa ItemID.swift
[16/38] Compiling Lotsawa DebugRecognizer.swift
[17/38] Compiling Lotsawa DiscreteMap.swift
[18/38] Compiling Lotsawa Recognizer.swift
[19/38] Compiling Lotsawa UniqueCounter.swift
[20/38] Compiling Lotsawa PredictionMemo.swift
[21/38] Compiling Lotsawa PreprocessedGrammar.swift
[22/38] Compiling Lotsawa AdjacencyMatrix.swift
[23/38] Compiling Lotsawa Array+Extensions.swift
[24/38] Compiling Lotsawa BitSet.swift
[25/38] Compiling Lotsawa DebugForest.swift
[26/38] Compiling Lotsawa DebugGrammar.swift
[27/38] Compiling Lotsawa Evaluation.swift
[28/38] Compiling Lotsawa Evaluator.swift
[29/38] Compiling Lotsawa MultiMap.swift
[30/38] Compiling Lotsawa Nullability.swift
[31/38] Compiling Lotsawa Forest.swift
[32/38] Compiling Lotsawa Grammar.swift
[33/38] Compiling Lotsawa Chart.swift
[34/38] Compiling Lotsawa Collection+Extensions.swift
[35/38] Compiling Lotsawa DebugChart.swift
[36/44] Generating LotsawaC PCH
[37/46] Emitting module LotsawaC
[38/46] Compiling LotsawaC LotsawaC.swift
[39/46] Emitting module LotsawaFrontend
[40/46] Compiling LotsawaFrontend Bison.swift
[41/46] Compiling TestResources resource_bundle_accessor.swift
[42/46] Emitting module TestResources
[43/46] Compiling TestResources TestResources.swift
[44/48] Compiling Profile Profile.swift
[45/48] Emitting module Profile
[45/48] Write Objects.LinkFileList
[46/48] Linking Profile
[47/48] Applying Profile
Build complete! (19.26s)
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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/hylo-lang/lotsawa/main
Repository:               hylo-lang/Lotsawa
Swift version used:       6.0
  ? [.package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.3.0")] : []
Target:                   Lotsawa
error: Unknown subcommand or plugin name ‘generate-documentation’
Usage: swift package <options> <subcommand>
  See 'package -help' for more information.
error: Unknown subcommand or plugin name ‘generate-documentation’
Usage: swift package <options> <subcommand>
  See 'package -help' for more information.
Error while generating docs: retryLimitExceeded(lastError: Optional(Shell command failed:
    env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift package --allow-writing-to-directory .docs/hylo-lang/lotsawa/main generate-documentation --emit-digest --disable-indexing --output-path .docs/hylo-lang/lotsawa/main --hosting-base-path hylo-lang/lotsawa/main --source-service github --source-service-base-url https://github.com/hylo-lang/Lotsawa/blob/main --checkout-path $PWD --target Lotsawa))
✅  Doc result (failed) reported
Done.