The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-opa, reference main (d82e77), with Swift 6.4 for macOS (SPM) on 7 Nov 2026 06:46:55 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
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 d82e770 Engine: Add PreparedPolicySet system. (#207)
Cloned https://github.com/open-policy-agent/swift-opa.git
Revision (git rev-parse @):
d82e7700a147cc2c55b02ea5aae221cdc09ca303
SUCCESS checkout https://github.com/open-policy-agent/swift-opa.git at main
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-crypto.git
[1/18924] Fetching swift-crypto
[2/30802] Fetching swift-crypto, yams
[381/50136] Fetching swift-crypto, yams, swift-argument-parser
Fetched https://github.com/apple/swift-crypto.git (3.98s)
Fetched https://github.com/jpsim/Yams (3.98s)
Fetched https://github.com/apple/swift-argument-parser (3.98s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (4.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.59s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (0.75s)
Fetching https://github.com/apple/swift-asn1.git
[1/2065] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.06s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (1.78s)
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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.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.4
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.1.1
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-opa",
      "name": "swift-opa",
      "url": "https://github.com/open-policy-agent/swift-opa.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-opa",
      "traits": [
        "YAML",
        "CLI"
      ],
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "1.8.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "yams",
          "name": "Yams",
          "url": "https://github.com/jpsim/Yams",
          "version": "6.2.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "swift-crypto",
          "name": "swift-crypto",
          "url": "https://github.com/apple/swift-crypto.git",
          "version": "5.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "swift-asn1",
              "name": "swift-asn1",
              "url": "https://github.com/apple/swift-asn1.git",
              "version": "1.7.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-asn1",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/open-policy-agent/swift-opa.git
[1/9582] Fetching swift-opa
Fetched https://github.com/open-policy-agent/swift-opa.git (1.77s)
Fetching https://github.com/apple/swift-crypto.git from cache
Fetching https://github.com/jpsim/Yams from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.66s)
Fetched https://github.com/apple/swift-crypto.git from cache (0.69s)
Fetched https://github.com/jpsim/Yams from cache (0.69s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.79s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.03s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (0.03s)
Fetching https://github.com/apple/swift-asn1.git from cache
Fetched https://github.com/apple/swift-asn1.git from cache (0.53s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.60s)
Creating working copy for https://github.com/open-policy-agent/swift-opa.git
Working copy of https://github.com/open-policy-agent/swift-opa.git resolved at main (d82e770)
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.2
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.1.1
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.4
Found 3 product dependencies
  - swift-argument-parser
  - Yams
  - swift-crypto
========================================
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.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 446]
[Planning deferred tasks]
[11 / 203] Yams
[107 / 203] swift-opa_TestRunnerTests
[110 / 203]
[119 / 206] ArgumentParserToolInfo
[128 / 220]
[138 / 221]
[146 / 221] CYaml
[155 / 310] CYaml
[171 / 355] CYaml
[179 / 355]
[192 / 355]
[201 / 355]
[204 / 355]
[214 / 355]
[219 / 355]
[224 / 355]
[231 / 355]
[241 / 355]
[242 / 355]
[247 / 355]
[250 / 355]
[260 / 355] Yams
[261 / 355] ArgumentParser
[264 / 355] AST
[276 / 355] Yams
[277 / 355] ArgumentParser
[279 / 355] ArgumentParser
[285 / 355] Yams
[291 / 355] ArgumentParser-product
[294 / 355] ArgumentParser-product
[297 / 355] ArgumentParser
[299 / 355] ArgumentParser
[301 / 355] IR
[304 / 356] AST
[306 / 356] ArgumentParser
[312 / 362] ArgumentParser
[312 / 362] IR
[314 / 362] ArgumentParser
[321 / 363] IR
[327 / 369] Bytecode
[336 / 370] IR
[336 / 370] Bytecode
[338 / 370] Rego
[351 / 383] Rego
[359 / 385] Rego
[365 / 392] TestRunner
[373 / 392] Rego
[382 / 393] TestRunner
[383 / 393] swift-opa-cli-product
[392 / 404] swift-opa-cli-product
[395 / 404] swift-opa-cli-product
[395 / 404] Rego
[400 / 404] swift-opa-cli-product
[402 / 404] swift-opa-cli-product
Build complete! (12.43 sec)
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",
        "PreparedPolicySetTests.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",
        "PreparedPolicySet.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.