The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftJQ, reference 1.0.0 (609e5f), with Swift 6.1 for macOS (SPM) on 3 Sep 2026 16:08:19 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sameesunkaria/SwiftJQ.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Sameesunkaria/SwiftJQ
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 609e5f1 Update readme for Xcode 12.5.
Cloned https://github.com/Sameesunkaria/SwiftJQ.git
Revision (git rev-parse @):
609e5f189fa3c4ea0d2dd48f6028200a7174bb74
SUCCESS checkout https://github.com/Sameesunkaria/SwiftJQ.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Sameesunkaria/SwiftJQ.git
https://github.com/Sameesunkaria/SwiftJQ.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftJQ",
  "name" : "SwiftJQ",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftJQ",
      "targets" : [
        "SwiftJQ"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftJQTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftJQTests",
      "path" : "Tests/SwiftJQTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftJQTests/Resources/test_lib.jq",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "JQTests.swift",
        "OutputFormatterTests.swift"
      ],
      "target_dependencies" : [
        "SwiftJQ"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftJQ",
      "module_type" : "SwiftTarget",
      "name" : "SwiftJQ",
      "path" : "Sources/SwiftJQ",
      "product_memberships" : [
        "SwiftJQ"
      ],
      "sources" : [
        "Errors.swift",
        "JQ.swift",
        "MessageHandlers/CompilationErrorHandler.swift",
        "MessageHandlers/DebugHandler.swift",
        "OutputConfiguration.swift",
        "OutputFormatter.swift",
        "UnfairLock.swift"
      ],
      "target_dependencies" : [
        "Cjq",
        "Coniguruma"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Coniguruma",
      "module_type" : "BinaryTarget",
      "name" : "Coniguruma",
      "path" : "remote/archive/Coniguruma.xcframework.zip",
      "product_memberships" : [
        "SwiftJQ"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Cjq",
      "module_type" : "BinaryTarget",
      "name" : "Cjq",
      "path" : "remote/archive/Cjq.xcframework.zip",
      "product_memberships" : [
        "SwiftJQ"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/4] Write sources
[0/4] Copying libonig.a
[2/4] Copying libjq.a
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/12] Compiling SwiftJQ OutputConfiguration.swift
[6/12] Compiling SwiftJQ CompilationErrorHandler.swift
[7/12] Compiling SwiftJQ DebugHandler.swift
[8/12] Compiling SwiftJQ UnfairLock.swift
[9/12] Compiling SwiftJQ OutputFormatter.swift
[10/12] Emitting module SwiftJQ
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJQ/Errors.swift:20:14: warning: associated value 'compile' of 'Sendable'-conforming enum 'InitializationError' has non-sendable type 'JQ.InitializationError.Compile'; this is an error in the Swift 6 language mode
 3 |     public enum InitializationError: Error, CustomStringConvertible {
 4 |         /// Information about the errors encountered while compiling a jq program.
 5 |         public struct Compile: CustomStringConvertible {
   |                       `- note: consider making struct 'Compile' conform to the 'Sendable' protocol
 6 |             /// A textual representation of this instance.
 7 |             public var description: String {
   :
18 |         case alloc
19 |         /// An indication that the jq program failed to compile.
20 |         case compile(Compile)
   |              `- warning: associated value 'compile' of 'Sendable'-conforming enum 'InitializationError' has non-sendable type 'JQ.InitializationError.Compile'; this is an error in the Swift 6 language mode
21 |
22 |         /// A textual representation of this instance.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJQ/Errors.swift:63:14: warning: associated value 'parse' of 'Sendable'-conforming enum 'ProcessingError' has non-sendable type 'JQ.ProcessingError.ErrorMessage'; this is an error in the Swift 6 language mode
33 |         /// Represents an error message returned from jq. This error message
34 |         /// may be a string or a string representation of a JSON object.
35 |         public struct ErrorMessage: CustomStringConvertible {
   |                       `- note: consider making struct 'ErrorMessage' conform to the 'Sendable' protocol
36 |             /// A textual representation of this instance.
37 |             public var description: String { "(\(isString ? "string" : "non-string")) \(message)" }
   :
61 |
62 |         /// An indication that input data is not a valid JSON or corrupted otherwise.
63 |         case parse(ErrorMessage)
   |              `- warning: associated value 'parse' of 'Sendable'-conforming enum 'ProcessingError' has non-sendable type 'JQ.ProcessingError.ErrorMessage'; this is an error in the Swift 6 language mode
64 |         /// An indication that an exception uncaught by the jq program was encountered.
65 |         case exception(ErrorMessage)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJQ/Errors.swift:65:14: warning: associated value 'exception' of 'Sendable'-conforming enum 'ProcessingError' has non-sendable type 'JQ.ProcessingError.ErrorMessage'; this is an error in the Swift 6 language mode
33 |         /// Represents an error message returned from jq. This error message
34 |         /// may be a string or a string representation of a JSON object.
35 |         public struct ErrorMessage: CustomStringConvertible {
   |                       `- note: consider making struct 'ErrorMessage' conform to the 'Sendable' protocol
36 |             /// A textual representation of this instance.
37 |             public var description: String { "(\(isString ? "string" : "non-string")) \(message)" }
   :
63 |         case parse(ErrorMessage)
64 |         /// An indication that an exception uncaught by the jq program was encountered.
65 |         case exception(ErrorMessage)
   |              `- warning: associated value 'exception' of 'Sendable'-conforming enum 'ProcessingError' has non-sendable type 'JQ.ProcessingError.ErrorMessage'; this is an error in the Swift 6 language mode
66 |         /// An indication that the program was explicitly halted with an error using
67 |         /// the `halt_error` function.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJQ/Errors.swift:68:14: warning: associated value 'halt' of 'Sendable'-conforming enum 'ProcessingError' has non-sendable type 'JQ.ProcessingError.Halt'; this is an error in the Swift 6 language mode
43 |
44 |         /// Information about the jq state when a `halt_error` is invoked.
45 |         public struct Halt: CustomStringConvertible {
   |                       `- note: consider making struct 'Halt' conform to the 'Sendable' protocol
46 |             /// A textual representation of this instance.
47 |             public var description: String {
   :
66 |         /// An indication that the program was explicitly halted with an error using
67 |         /// the `halt_error` function.
68 |         case halt(Halt)
   |              `- warning: associated value 'halt' of 'Sendable'-conforming enum 'ProcessingError' has non-sendable type 'JQ.ProcessingError.Halt'; this is an error in the Swift 6 language mode
69 |         /// An indication that the program did not emit a result for the given input
70 |         /// where one was expected.
[11/12] Compiling SwiftJQ Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJQ/Errors.swift:20:14: warning: associated value 'compile' of 'Sendable'-conforming enum 'InitializationError' has non-sendable type 'JQ.InitializationError.Compile'; this is an error in the Swift 6 language mode
 3 |     public enum InitializationError: Error, CustomStringConvertible {
 4 |         /// Information about the errors encountered while compiling a jq program.
 5 |         public struct Compile: CustomStringConvertible {
   |                       `- note: consider making struct 'Compile' conform to the 'Sendable' protocol
 6 |             /// A textual representation of this instance.
 7 |             public var description: String {
   :
18 |         case alloc
19 |         /// An indication that the jq program failed to compile.
20 |         case compile(Compile)
   |              `- warning: associated value 'compile' of 'Sendable'-conforming enum 'InitializationError' has non-sendable type 'JQ.InitializationError.Compile'; this is an error in the Swift 6 language mode
21 |
22 |         /// A textual representation of this instance.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJQ/Errors.swift:63:14: warning: associated value 'parse' of 'Sendable'-conforming enum 'ProcessingError' has non-sendable type 'JQ.ProcessingError.ErrorMessage'; this is an error in the Swift 6 language mode
33 |         /// Represents an error message returned from jq. This error message
34 |         /// may be a string or a string representation of a JSON object.
35 |         public struct ErrorMessage: CustomStringConvertible {
   |                       `- note: consider making struct 'ErrorMessage' conform to the 'Sendable' protocol
36 |             /// A textual representation of this instance.
37 |             public var description: String { "(\(isString ? "string" : "non-string")) \(message)" }
   :
61 |
62 |         /// An indication that input data is not a valid JSON or corrupted otherwise.
63 |         case parse(ErrorMessage)
   |              `- warning: associated value 'parse' of 'Sendable'-conforming enum 'ProcessingError' has non-sendable type 'JQ.ProcessingError.ErrorMessage'; this is an error in the Swift 6 language mode
64 |         /// An indication that an exception uncaught by the jq program was encountered.
65 |         case exception(ErrorMessage)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJQ/Errors.swift:65:14: warning: associated value 'exception' of 'Sendable'-conforming enum 'ProcessingError' has non-sendable type 'JQ.ProcessingError.ErrorMessage'; this is an error in the Swift 6 language mode
33 |         /// Represents an error message returned from jq. This error message
34 |         /// may be a string or a string representation of a JSON object.
35 |         public struct ErrorMessage: CustomStringConvertible {
   |                       `- note: consider making struct 'ErrorMessage' conform to the 'Sendable' protocol
36 |             /// A textual representation of this instance.
37 |             public var description: String { "(\(isString ? "string" : "non-string")) \(message)" }
   :
63 |         case parse(ErrorMessage)
64 |         /// An indication that an exception uncaught by the jq program was encountered.
65 |         case exception(ErrorMessage)
   |              `- warning: associated value 'exception' of 'Sendable'-conforming enum 'ProcessingError' has non-sendable type 'JQ.ProcessingError.ErrorMessage'; this is an error in the Swift 6 language mode
66 |         /// An indication that the program was explicitly halted with an error using
67 |         /// the `halt_error` function.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJQ/Errors.swift:68:14: warning: associated value 'halt' of 'Sendable'-conforming enum 'ProcessingError' has non-sendable type 'JQ.ProcessingError.Halt'; this is an error in the Swift 6 language mode
43 |
44 |         /// Information about the jq state when a `halt_error` is invoked.
45 |         public struct Halt: CustomStringConvertible {
   |                       `- note: consider making struct 'Halt' conform to the 'Sendable' protocol
46 |             /// A textual representation of this instance.
47 |             public var description: String {
   :
66 |         /// An indication that the program was explicitly halted with an error using
67 |         /// the `halt_error` function.
68 |         case halt(Halt)
   |              `- warning: associated value 'halt' of 'Sendable'-conforming enum 'ProcessingError' has non-sendable type 'JQ.ProcessingError.Halt'; this is an error in the Swift 6 language mode
69 |         /// An indication that the program did not emit a result for the given input
70 |         /// where one was expected.
[12/12] Compiling SwiftJQ JQ.swift
Build complete! (4.64s)
Downloading binary artifact https://github.com/Sameesunkaria/JQ-Darwin/releases/download/1.0.1/Coniguruma.xcframework.zip
Downloading binary artifact https://github.com/Sameesunkaria/JQ-Darwin/releases/download/1.0.1/Cjq.xcframework.zip
[16375/10673117] Downloading https://github.com/Sameesunkaria/JQ-Darwin/releases/download/1.0.1/Coniguruma.xcframework.zip
[10689492/21190051] Downloading https://github.com/Sameesunkaria/JQ-Darwin/releases/download/1.0.1/Coniguruma.xcframework.zip, https://github.com/Sameesunkaria/JQ-Darwin/releases/download/1.0.1/Cjq.xcframework.zip
Downloaded https://github.com/Sameesunkaria/JQ-Darwin/releases/download/1.0.1/Coniguruma.xcframework.zip (0.81s)
Downloaded https://github.com/Sameesunkaria/JQ-Darwin/releases/download/1.0.1/Cjq.xcframework.zip (0.84s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftJQ",
  "name" : "SwiftJQ",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftJQ",
      "targets" : [
        "SwiftJQ"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftJQTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftJQTests",
      "path" : "Tests/SwiftJQTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftJQTests/Resources/test_lib.jq",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "JQTests.swift",
        "OutputFormatterTests.swift"
      ],
      "target_dependencies" : [
        "SwiftJQ"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftJQ",
      "module_type" : "SwiftTarget",
      "name" : "SwiftJQ",
      "path" : "Sources/SwiftJQ",
      "product_memberships" : [
        "SwiftJQ"
      ],
      "sources" : [
        "Errors.swift",
        "JQ.swift",
        "MessageHandlers/CompilationErrorHandler.swift",
        "MessageHandlers/DebugHandler.swift",
        "OutputConfiguration.swift",
        "OutputFormatter.swift",
        "UnfairLock.swift"
      ],
      "target_dependencies" : [
        "Cjq",
        "Coniguruma"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Coniguruma",
      "module_type" : "BinaryTarget",
      "name" : "Coniguruma",
      "path" : "remote/archive/Coniguruma.xcframework.zip",
      "product_memberships" : [
        "SwiftJQ"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Cjq",
      "module_type" : "BinaryTarget",
      "name" : "Cjq",
      "path" : "remote/archive/Cjq.xcframework.zip",
      "product_memberships" : [
        "SwiftJQ"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.3"
}
Done.