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 jsonlogic, reference master (9088ee), with Swift 6.1 for Linux on 28 Apr 2025 03:00:35 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/advantagefse/json-logic-swift.git
Reference: master
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/advantagefse/json-logic-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/advantagefse/json-logic-swift.git
https://github.com/advantagefse/json-logic-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "jsonlogic",
  "name" : "jsonlogic",
  "path" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/11] Emitting module JSON
/host/spi-builder-workspace/Sources/JSON/JSON.swift:49:14: warning: associated value 'notSubscriptableType' of 'Sendable'-conforming enum 'JSON2Error' has non-sendable type 'JSON.ContentType'; this is an error in the Swift 6 language mode
 19 |     case Error(JSON2Error)
 20 |
 21 |     public enum ContentType {
    |                 `- note: consider making enum 'ContentType' conform to the 'Sendable' protocol
 22 |         case error, null, bool, number, string, array, object
 23 |     }
    :
 47 |         case indexOutOfRange(Int)
 48 |         case keyNotFound(String)
 49 |         case notSubscriptableType(ContentType)
    |              `- warning: associated value 'notSubscriptableType' of 'Sendable'-conforming enum 'JSON2Error' has non-sendable type 'JSON.ContentType'; this is an error in the Swift 6 language mode
 50 |         case NSError(NSError)
 51 |     }
[6/11] Compiling JSON JSON.swift
/host/spi-builder-workspace/Sources/JSON/JSON.swift:49:14: warning: associated value 'notSubscriptableType' of 'Sendable'-conforming enum 'JSON2Error' has non-sendable type 'JSON.ContentType'; this is an error in the Swift 6 language mode
 19 |     case Error(JSON2Error)
 20 |
 21 |     public enum ContentType {
    |                 `- note: consider making enum 'ContentType' conform to the 'Sendable' protocol
 22 |         case error, null, bool, number, string, array, object
 23 |     }
    :
 47 |         case indexOutOfRange(Int)
 48 |         case keyNotFound(String)
 49 |         case notSubscriptableType(ContentType)
    |              `- warning: associated value 'notSubscriptableType' of 'Sendable'-conforming enum 'JSON2Error' has non-sendable type 'JSON.ContentType'; this is an error in the Swift 6 language mode
 50 |         case NSError(NSError)
 51 |     }
/host/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:
[7/12] Wrapping AST for JSON for debugging
[9/15] Compiling jsonlogic JsonLogic.swift
[10/15] Compiling jsonlogic Parser.swift
[11/15] Emitting module jsonlogic
[12/16] Wrapping AST for jsonlogic for debugging
[14/18] Emitting module jsonlogic_cli
[15/18] Compiling jsonlogic_cli main.swift
[16/19] Wrapping AST for jsonlogic-cli for debugging
[17/19] Write Objects.LinkFileList
[18/19] Linking jsonlogic-cli
Build complete! (16.70s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "jsonlogic",
  "name" : "jsonlogic",
  "path" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.