The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-opa, reference main (d82e77), with Swift 6.4 for Linux on 7 Nov 2026 06:44:54 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/open-policy-agent/swift-opa.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:b44244c3c3fc9f2af9eceb487c9bff83319ab045277845df83db1e4f60420d2c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/jpsim/Yams
[1/18924] Fetching swift-crypto
[569/30802] Fetching swift-crypto, yams
[5339/50136] Fetching swift-crypto, yams, swift-argument-parser
Fetched https://github.com/jpsim/Yams (1.40s)
Fetched https://github.com/apple/swift-argument-parser (1.45s)
Fetched https://github.com/apple/swift-crypto.git (1.47s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (1.61s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (0.23s)
Fetching https://github.com/apple/swift-asn1.git
[1/2065] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.67s)
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
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 624]
[Planning deferred tasks]
[115 / 576]
[125 / 594] CYaml
[137 / 594] Yams-product
[138 / 594] Yams-product
[139 / 594] Yams-product
[140 / 594] CryptoBoringWrapper
[142 / 594] CryptoBoringWrapper
[147 / 594] CXKCP
[151 / 594]
[158 / 596] Yams
[160 / 596] Crypto
[163 / 605] CCryptoBoringSSL
[164 / 605] CXKCP
[166 / 605] CCryptoBoringSSL
[168 / 605] CCryptoBoringSSL
[169 / 605] CCryptoBoringSSL
[170 / 606] CCryptoBoringSSL
[171 / 606] CCryptoBoringSSL
[173 / 606] CCryptoBoringSSL
[182 / 606] CCryptoBoringSSL
[183 / 606] CCryptoBoringSSL
[185 / 606] CCryptoBoringSSL
[189 / 606] CCryptoBoringSSL
[192 / 606] CCryptoBoringSSL
[196 / 606] Crypto
[199 / 606] CCryptoBoringSSL
[208 / 606] CCryptoBoringSSL
[215 / 606] CCryptoBoringSSL
[219 / 606] CCryptoBoringSSL
[221 / 606] CCryptoBoringSSL
[223 / 606] CCryptoBoringSSL
[227 / 606] CCryptoBoringSSL
[229 / 606] CCryptoBoringSSL
[231 / 606] CCryptoBoringSSL
[236 / 606] CCryptoBoringSSL
[237 / 606] CCryptoBoringSSL
[240 / 606] CCryptoBoringSSL
[247 / 606] CCryptoBoringSSL
[253 / 606] CCryptoBoringSSL
[256 / 606] CCryptoBoringSSL
[258 / 606] CCryptoBoringSSL
[263 / 606] CCryptoBoringSSL
[274 / 606] CCryptoBoringSSL
[289 / 606] CCryptoBoringSSL
[297 / 606] CCryptoBoringSSL
[300 / 606] CCryptoBoringSSL
[304 / 606] CCryptoBoringSSL
[308 / 606] CCryptoBoringSSL
[313 / 606] CCryptoBoringSSL
[317 / 606] CCryptoBoringSSL
[318 / 606] CCryptoBoringSSL
[321 / 606] CCryptoBoringSSL
[322 / 606] CCryptoBoringSSL
[325 / 606] CCryptoBoringSSL
[327 / 606] CCryptoBoringSSL
[331 / 606] CCryptoBoringSSL
[335 / 606] CCryptoBoringSSL
[336 / 606] CCryptoBoringSSL
[339 / 606] CCryptoBoringSSL
[345 / 606] CCryptoBoringSSL
[351 / 606] CCryptoBoringSSL
[358 / 606] CCryptoBoringSSL
[367 / 606] CCryptoBoringSSL
[369 / 606] CCryptoBoringSSL
[371 / 606] CCryptoBoringSSL
[377 / 606] CCryptoBoringSSL
[383 / 606] CCryptoBoringSSL
[393 / 606] CCryptoBoringSSL
[397 / 606] CCryptoBoringSSL
[402 / 606] CCryptoBoringSSL
[406 / 606] CCryptoBoringSSL
[409 / 606] CCryptoBoringSSL
[411 / 606] CCryptoBoringSSL
[415 / 606] CCryptoBoringSSL
[418 / 606] CCryptoBoringSSL
[422 / 606] CCryptoBoringSSL
[427 / 606] CCryptoBoringSSL
[431 / 606] CCryptoBoringSSL
[432 / 606] CCryptoBoringSSL
[437 / 606] CCryptoBoringSSL
[438 / 606] CCryptoBoringSSL
[444 / 606] CCryptoBoringSSL
[446 / 606] CCryptoBoringSSL
[455 / 606] CCryptoBoringSSL
[468 / 606] CCryptoBoringSSL
[471 / 606] CCryptoBoringSSL
[477 / 606] CCryptoBoringSSL
[479 / 606] CCryptoBoringSSL
[483 / 606] CCryptoBoringSSL
[489 / 606] CCryptoBoringSSL
[498 / 606] CCryptoBoringSSL
[508 / 606] CCryptoBoringSSL
[513 / 606] CCryptoBoringSSL
[516 / 606] CCryptoBoringSSL
[519 / 606] CCryptoBoringSSL
[520 / 606] CCryptoBoringSSL
[523 / 606] CCryptoBoringSSL
[527 / 606] CCryptoBoringSSL
[533 / 606] Crypto-product
[534 / 606] CCryptoBoringSSL
[538 / 606] Crypto
[539 / 606] Crypto
[543 / 619] AST
[544 / 619] ArgumentParserToolInfo
[550 / 619] ArgumentParserToolInfo
[552 / 619] ArgumentParser
[554 / 619] AST
[556 / 619] AST
[559 / 619] AST
[566 / 621] IR
[569 / 627] IR
[571 / 627] IR
[572 / 627] IR
[572 / 627] CXKCP
[573 / 628]
[575 / 629] CYaml
[578 / 638] IR
[579 / 638] AST
[582 / 639] IR
[588 / 639] ArgumentParser
[590 / 639] ArgumentParser
[596 / 639] ArgumentParser-product
[605 / 647] Bytecode
[613 / 647] Bytecode
[615 / 648]
[619 / 657] Rego
[621 / 657] Rego
[622 / 658] Rego
[623 / 658] CCryptoBoringSSL
[626 / 658] Rego
[631 / 659] TestRunner
[639 / 665] TestRunner
[649 / 669] swift-opa-cli-product
[655 / 678] SwiftOPA
[661 / 679] SwiftOPA
[664 / 679] swift-opa-cli-product
[669 / 679]
[672 / 680] swift-opa-cli-product
[675 / 681] Rego
[682 / 682] SwiftOPA-product
[682 / 682] swift-opa-cli-product
Build complete! (28.99 secs)
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" : "/host/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" : "/host/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" : "/host/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" : "/host/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"
}
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:b44244c3c3fc9f2af9eceb487c9bff83319ab045277845df83db1e4f60420d2c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Done.