The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-opa, reference main (a58104), with Swift 6.4 for macOS (SPM) on 27 Sep 2026 17:13:54 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/open-policy-agent/swift-opa.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/open-policy-agent/swift-opa
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a58104b deps: Update swift-crypto version ranges for the 5.0.0 release. (#202)
Cloned https://github.com/open-policy-agent/swift-opa.git
Revision (git rev-parse @):
a58104b90269068b0122397168f8eb93a3513733
SUCCESS checkout https://github.com/open-policy-agent/swift-opa.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/open-policy-agent/swift-opa.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 446]
[Planning deferred tasks]
[29 / 203] Yams
[109 / 203] swift-opa_RegoTests
[110 / 203]
[119 / 206] ArgumentParserToolInfo
[126 / 220]
[129 / 220] ArgumentParserToolInfo
[138 / 221]
[146 / 221] CYaml
[155 / 310] CYaml
[172 / 355]
[180 / 355]
[194 / 355]
[201 / 355]
[204 / 355]
[211 / 355]
[219 / 355]
[226 / 355]
[234 / 355]
[241 / 355]
[242 / 355]
[246 / 355]
[247 / 355]
[249 / 355]
[250 / 355]
[259 / 355] AST
[261 / 355] ArgumentParser
[263 / 355] AST
[276 / 355] Yams
[279 / 355] ArgumentParser
[291 / 355] ArgumentParser
[294 / 355] ArgumentParser
[296 / 355] ArgumentParser-product
[297 / 355] ArgumentParser-product
[299 / 355] ArgumentParser-product
[303 / 355]
[304 / 356] ArgumentParser
[304 / 356] IR
[312 / 362] AST
[312 / 362] ArgumentParser
[321 / 363] IR
[327 / 369] Bytecode
[336 / 370] IR
[336 / 370] Bytecode
[338 / 371] Rego
[351 / 383] Rego
[359 / 385] Rego
[365 / 392] TestRunner
[382 / 393] Rego
[383 / 393] TestRunner
[383 / 393] Rego
[392 / 404] swift-opa-cli-product
[397 / 404] swift-opa-cli-product
[400 / 404] swift-opa-cli-product
[402 / 404] swift-opa-cli-product
Build complete! (12.40 sec)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
[1/18562] Fetching swift-crypto
[2/30423] Fetching swift-crypto, yams
[374/49370] Fetching swift-crypto, yams, swift-argument-parser
Fetched https://github.com/apple/swift-crypto.git (5.75s)
Fetched https://github.com/jpsim/Yams (5.75s)
Fetched https://github.com/apple/swift-argument-parser (5.75s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (6.34s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.55s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (0.72s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.92s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (2.60s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.2
Build complete.
{
  "dependencies" : [
    {
      "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" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.2.1",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    }
  ],
  "manifest_display_name" : "swift-opa",
  "name" : "swift-opa",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftOPA",
      "targets" : [
        "SwiftOPA"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "swift-opa-cli",
      "targets" : [
        "CLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestRunnerTests",
      "module_type" : "SwiftTarget",
      "name" : "TestRunnerTests",
      "path" : "Tests/TestRunnerTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TestRunnerTests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "TestRunnerTests.swift"
      ],
      "target_dependencies" : [
        "TestRunner",
        "AST",
        "IR",
        "Rego"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TestRunner",
      "module_type" : "SwiftTarget",
      "name" : "TestRunner",
      "path" : "Sources/TestRunner",
      "product_memberships" : [
        "swift-opa-cli"
      ],
      "sources" : [
        "TestCase.swift",
        "TestFinder.swift",
        "TestPlanGenerator.swift",
        "TestRunner.swift"
      ],
      "target_dependencies" : [
        "AST",
        "IR",
        "Rego"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftOPATests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftOPATests",
      "path" : "Tests/SwiftOPATests",
      "sources" : [
        "SwiftRegoTests.swift"
      ],
      "target_dependencies" : [
        "SwiftOPA"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftOPA",
      "module_type" : "SwiftTarget",
      "name" : "SwiftOPA",
      "path" : "Sources/SwiftOPA",
      "product_memberships" : [
        "SwiftOPA"
      ],
      "sources" : [
        "SwiftOPA.swift"
      ],
      "target_dependencies" : [
        "AST",
        "IR",
        "Bytecode",
        "Rego"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RegoTests",
      "module_type" : "SwiftTarget",
      "name" : "RegoTests",
      "path" : "Tests/RegoTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/RegoTests/TestData",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BuiltinTests/AggregatesTests.swift",
        "BuiltinTests/ArithmeticTests.swift",
        "BuiltinTests/ArrayTests.swift",
        "BuiltinTests/BitsTests.swift",
        "BuiltinTests/BuiltinTests.swift",
        "BuiltinTests/BuiltinsCacheTests.swift",
        "BuiltinTests/ByteTrieTests.swift",
        "BuiltinTests/CastsTests.swift",
        "BuiltinTests/CollectionsTests.swift",
        "BuiltinTests/ComparisonTests.swift",
        "BuiltinTests/CryptoTests.swift",
        "BuiltinTests/CustomBuiltinTests.swift",
        "BuiltinTests/EncodingTests.swift",
        "BuiltinTests/JsonTests.swift",
        "BuiltinTests/NumbersTests.swift",
        "BuiltinTests/ObjectsTests.swift",
        "BuiltinTests/RandTests.swift",
        "BuiltinTests/RegexTests.swift",
        "BuiltinTests/RegistryTests.swift",
        "BuiltinTests/SemverTests.swift",
        "BuiltinTests/SetsTests.swift",
        "BuiltinTests/StringsTests.swift",
        "BuiltinTests/TextTemplateTests.swift",
        "BuiltinTests/TimeTests.swift",
        "BuiltinTests/TypesTests.swift",
        "BuiltinTests/UnitsTests.swift",
        "BuiltinTests/UuidTests.swift",
        "BuiltinTests/WalkTests.swift",
        "BuiltinTests/YamlTests.swift",
        "BundleTests+CrossBundleData.swift",
        "BundleTests+Overlap.swift",
        "BundleTests.swift",
        "CapabilityEvaluatorTests.swift",
        "EnginePrepareTests.swift",
        "EvaluatorTests.swift",
        "IREvaluatorTests.swift",
        "IREvaluatorValidationTests.swift",
        "PtrTests.swift",
        "RootPathsContainTests.swift",
        "StatementTests.swift",
        "StoreTests.swift",
        "SyncSafePatcherTests.swift",
        "TestHelpers.swift"
      ],
      "target_dependencies" : [
        "Rego"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Rego",
      "module_type" : "SwiftTarget",
      "name" : "Rego",
      "path" : "Sources/Rego",
      "product_dependencies" : [
        "Crypto",
        "Yams"
      ],
      "product_memberships" : [
        "SwiftOPA",
        "swift-opa-cli"
      ],
      "sources" : [
        "BlockResult.swift",
        "Builtins/Aggregates.swift",
        "Builtins/Arithmetic.swift",
        "Builtins/Array.swift",
        "Builtins/Bits.swift",
        "Builtins/Builtins.swift",
        "Builtins/BuiltinsCache.swift",
        "Builtins/ByteTrie.swift",
        "Builtins/Casts.swift",
        "Builtins/Collections.swift",
        "Builtins/Comparison.swift",
        "Builtins/Crypto.swift",
        "Builtins/Encoding.swift",
        "Builtins/Json.swift",
        "Builtins/Numbers.swift",
        "Builtins/Objects.swift",
        "Builtins/Rand.swift",
        "Builtins/Regex.swift",
        "Builtins/Registry.swift",
        "Builtins/Semver.swift",
        "Builtins/Sets.swift",
        "Builtins/Strings.swift",
        "Builtins/TextTemplate.swift",
        "Builtins/Time.swift",
        "Builtins/Trace.swift",
        "Builtins/Types.swift",
        "Builtins/Units.swift",
        "Builtins/Uuid.swift",
        "Builtins/Walk.swift",
        "Builtins/Yaml.swift",
        "Bundle.swift",
        "BundleLoader.swift",
        "Engine+BundleCache.swift",
        "Engine+Prepare.swift",
        "Engine.swift",
        "Error.swift",
        "Evaluator+Codable.swift",
        "Evaluator.swift",
        "Generated/SyncPeers.swift",
        "IREvaluator.swift",
        "Locals.swift",
        "Manifest+Codable.swift",
        "OPA.swift",
        "Ptr.swift",
        "Store.swift",
        "SyncSafePatcher.swift",
        "Tracer.swift",
        "VM+Instructions.swift",
        "VM.swift"
      ],
      "target_dependencies" : [
        "AST",
        "IR",
        "Bytecode"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IRTests",
      "module_type" : "SwiftTarget",
      "name" : "IRTests",
      "path" : "Tests/IRTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/IRTests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "GoldenIRTests.swift",
        "IRDecodeTests.swift",
        "IREncodeTests.swift",
        "IRStaticAnalysisTests.swift"
      ],
      "target_dependencies" : [
        "AST",
        "IR"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IR",
      "module_type" : "SwiftTarget",
      "name" : "IR",
      "path" : "Sources/IR",
      "product_memberships" : [
        "SwiftOPA",
        "swift-opa-cli"
      ],
      "sources" : [
        "IR+Decode.swift",
        "IR+StaticAnalysis.swift",
        "IR.swift",
        "Local.swift",
        "Statements.swift"
      ],
      "target_dependencies" : [
        "AST"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLI",
      "module_type" : "SwiftTarget",
      "name" : "CLI",
      "path" : "Sources/CLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "swift-opa-cli"
      ],
      "sources" : [
        "BenchCommand.swift",
        "CLI.swift",
        "CapabilitiesCommand.swift",
        "Duration+Format.swift",
        "EvalCommand.swift",
        "EvalOptions.swift",
        "Measure+Format.swift",
        "Measure.swift",
        "TestCommand.swift",
        "TestReporter.swift"
      ],
      "target_dependencies" : [
        "Rego",
        "TestRunner"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BytecodeTests",
      "module_type" : "SwiftTarget",
      "name" : "BytecodeTests",
      "path" : "Tests/BytecodeTests",
      "sources" : [
        "BytecodeConverterTests.swift",
        "BytecodeEncodingTests.swift",
        "BytecodeValidationTests.swift"
      ],
      "target_dependencies" : [
        "AST",
        "IR",
        "Bytecode"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Bytecode",
      "module_type" : "SwiftTarget",
      "name" : "Bytecode",
      "path" : "Sources/Bytecode",
      "product_memberships" : [
        "SwiftOPA",
        "swift-opa-cli"
      ],
      "sources" : [
        "Builder.swift",
        "Converter.swift",
        "Encoder.swift",
        "Opcode.swift",
        "Policy.swift"
      ],
      "target_dependencies" : [
        "AST",
        "IR"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ASTTests",
      "module_type" : "SwiftTarget",
      "name" : "ASTTests",
      "path" : "Tests/ASTTests",
      "sources" : [
        "DecimalExtensionsTests.swift",
        "ObjectMergeTests.swift",
        "PatchTests.swift",
        "RegoValue+CodableTests.swift",
        "RegoValueTests.swift",
        "RemovingTests.swift"
      ],
      "target_dependencies" : [
        "AST"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AST",
      "module_type" : "SwiftTarget",
      "name" : "AST",
      "path" : "Sources/AST",
      "product_memberships" : [
        "SwiftOPA",
        "swift-opa-cli"
      ],
      "sources" : [
        "DecimalExtensions.swift",
        "RegoNumber+Codable.swift",
        "RegoNumber+Comparable.swift",
        "RegoNumber+Expressible.swift",
        "RegoNumber.swift",
        "RegoValue+Codable.swift",
        "RegoValue+Comparable.swift",
        "RegoValue+Expressible.swift",
        "RegoValue+PatchMerge.swift",
        "RegoValue.swift",
        "TypeMeta+Codable.swift",
        "TypeMeta.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Done.