The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of jsonlogic, reference 1.2.4 (9088ee), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 20:47:27 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/advantagefse/json-logic-swift.git
Reference: 1.2.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/advantagefse/json-logic-swift
 * tag               1.2.4      -> FETCH_HEAD
HEAD is now at 9088eed bump version to for json-enum to 1.2.4
Cloned https://github.com/advantagefse/json-logic-swift.git
Revision (git rev-parse @):
9088eed1b26937fe13d248aa24d7632a51be28e2
SUCCESS checkout https://github.com/advantagefse/json-logic-swift.git at 1.2.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/advantagefse/json-logic-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Write sources
[2/8] Write jsonlogic-cli-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-1EA4D86E10B52AF.txt
[6/10] Emitting module JSON
[7/10] Compiling JSON JSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSON.swift:87:34: warning: type 'Any' is not optional, value can never be nil; this is an error in the Swift 6 language mode
 85 |                 self = .Error(.notJSONValue)
 86 |             }
 87 |         case Optional<Any>.none, nil, is NSNull:
    |                                  `- warning: type 'Any' is not optional, value can never be nil; this is an error in the Swift 6 language mode
 88 |             self = .Null
 89 |         case let bool as Bool:
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSON.swift:67:16: warning: will never be executed
 65 |     //swiftlint:disable syntactic_sugar
 66 |     public init(_ json: Any) {
 67 |         switch json {
    |                |- warning: will never be executed
    |                `- note: condition always evaluates to false
 68 |         case let array as Swift.Array<Any>:
 69 |             self = .Array(array.map({JSON($0)}))
[8/13] Compiling jsonlogic JsonLogic.swift
[9/13] Emitting module jsonlogic
[10/13] Compiling jsonlogic Parser.swift
[11/15] Emitting module jsonlogic_cli
[12/15] Compiling jsonlogic_cli main.swift
[12/15] Write Objects.LinkFileList
[13/15] Linking jsonlogic-cli
[14/15] Applying jsonlogic-cli
Build complete! (4.40s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "jsonlogic",
  "name" : "jsonlogic",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "jsonlogic",
      "targets" : [
        "jsonlogic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "JSON",
      "targets" : [
        "JSON"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "jsonlogic-cli",
      "targets" : [
        "jsonlogic-cli"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5",
    "4.2",
    "4"
  ],
  "targets" : [
    {
      "c99name" : "jsonlogicTests",
      "module_type" : "SwiftTarget",
      "name" : "jsonlogicTests",
      "path" : "Tests/jsonlogicTests",
      "sources" : [
        "AccessingDataOperations/AllTests.swift",
        "AccessingDataOperations/ArrayMapTests.swift",
        "AccessingDataOperations/MergeArrayTests.swift",
        "AccessingDataOperations/MissingTests.swift",
        "AccessingDataOperations/NoneTests.swift",
        "AccessingDataOperations/SomeTests.swift",
        "AccessingDataOperations/VarTests.swift",
        "ArithmeticTests.swift",
        "CompoundTests.swift",
        "CustomOperatorTests.swift",
        "JsonLogicTests.swift",
        "LogicAndBooleanOperations/AndTests.swift",
        "LogicAndBooleanOperations/DoubleNegationTests.swift",
        "LogicAndBooleanOperations/EqualsTests.swift",
        "LogicAndBooleanOperations/IfTests.swift",
        "LogicAndBooleanOperations/NotStrictEqualsTests.swift",
        "LogicAndBooleanOperations/OrTests.swift",
        "MinMaxTests.swift",
        "NumericalOperations/BetweenTests.swift",
        "NumericalOperations/GreaterThanOrEqualTests.swift",
        "NumericalOperations/GreaterThanTests.swift",
        "NumericalOperations/LessThanOrEqualTests.swift",
        "NumericalOperations/LessThanTests.swift",
        "StringOperations/CatTests.swift",
        "StringOperations/InTests.swift",
        "StringOperations/LogTests.swift",
        "StringOperations/SubstringTests.swift",
        "TestUtils.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "jsonlogic"
      ],
      "type" : "test"
    },
    {
      "c99name" : "jsonlogic_cli",
      "module_type" : "SwiftTarget",
      "name" : "jsonlogic-cli",
      "path" : "Sources/jsonlogic-cli",
      "product_memberships" : [
        "jsonlogic-cli"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "jsonlogic"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "jsonlogic",
      "module_type" : "SwiftTarget",
      "name" : "jsonlogic",
      "path" : "Sources/jsonlogic",
      "product_memberships" : [
        "jsonlogic",
        "jsonlogic-cli"
      ],
      "sources" : [
        "JsonLogic.swift",
        "Parser.swift"
      ],
      "target_dependencies" : [
        "JSON"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JSONTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONTests",
      "path" : "Tests/JSONTests",
      "sources" : [
        "JSONTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "JSON"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSON",
      "module_type" : "SwiftTarget",
      "name" : "JSON",
      "path" : "Sources/JSON",
      "product_memberships" : [
        "jsonlogic",
        "JSON",
        "jsonlogic-cli"
      ],
      "sources" : [
        "JSON.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.