This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 JSON with Swift 6.0 (beta) for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/json.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor-community/json
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 35ec8cf Merge pull request #68 from vapor/cci2
Cloned https://github.com/vapor-community/json.git
Revision (git rev-parse @):
35ec8cffd27f303bbe93ec01c365084fa11e264c
SUCCESS checkout https://github.com/vapor-community/json.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/vapor-community/json.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-6F35C1178C84523A.txt
[9/34] Compiling PathIndexable PathIndexable.swift
[10/34] Compiling PathIndexable PathIndexable+Subscripting.swift
[11/34] Emitting module PathIndexable
[12/34] Compiling Debugging Debuggable.swift
[13/34] Emitting module Debugging
[14/34] Compiling libc libc.swift
[15/34] Emitting module libc
[16/34] Compiling Bits HexEncoder.swift
[17/34] Compiling Bits Operators.swift
[18/34] Compiling Bits String+BytesConvertible.swift
[19/34] Compiling Bits UnsignedInteger+BytesConvertible.swift
[20/35] Compiling Bits UnsignedInteger+Shifting.swift
[21/35] Compiling Bits ByteSequence+Conversions.swift
[22/35] Compiling Bits Bytes+Base64.swift
[23/35] Compiling Bits BytesConvertible.swift
[24/35] Compiling Bits Data+BytesConvertible.swift
[25/35] Compiling Bits Byte+Convenience.swift
[26/35] Compiling Bits Byte+PatternMatching.swift
[27/35] Compiling Bits Byte+Alphabet.swift
[28/35] Compiling Bits Byte+ControlCharacters.swift
[29/35] Emitting module Bits
[30/35] Compiling Bits Bytes+Hex.swift
[31/35] Compiling Bits Bytes+Percent.swift
[32/35] Compiling Bits Byte+Random.swift
[33/35] Compiling Bits Byte+UTF8Numbers.swift
[34/35] Compiling Bits Aliases.swift
[35/35] Compiling Bits Base64Encoder.swift
[36/57] Compiling Core Sequence.swift
[37/57] Compiling Core StaticDataBuffer.swift
[38/59] Compiling Core Array.swift
[39/59] Compiling Core Bits.swift
[40/59] Compiling Core Cache.swift
[41/59] Compiling Core String+CaseInsensitiveCompare.swift
[42/59] Compiling Core String+Polymorphic.swift
[43/59] Compiling Core Extendable.swift
[44/59] Compiling Core FileProtocol.swift
[45/59] Compiling Core Result.swift
[46/59] Compiling Core Semaphore.swift
[47/59] Compiling Core DispatchTime+Utilities.swift
[48/59] Compiling Core EmptyInitializable.swift
[49/59] Compiling Core Exports.swift
[50/59] Compiling Core Int+Hex.swift
[51/59] Compiling Core Lock.swift
[52/59] Emitting module Core
[53/59] Compiling Core Portal.swift
[54/59] Compiling Core RFC1123.swift
[55/59] Compiling Core Collection+Safe.swift
[56/59] Compiling Core DataFile.swift
[57/59] Compiling Core Dispatch.swift
[58/59] Compiling Core String.swift
[59/59] Compiling Core WorkingDirectory.swift
[60/95] Compiling Node Getters.swift
[61/95] Compiling Node Setters.swift
[62/95] Compiling Node Bool+Convertible.swift
[63/95] Compiling Node Date+Convertible.swift
[64/98] Compiling Node FloatingPoint+Convertible.swift
[65/98] Compiling Node Integer+Convertible.swift
[66/98] Compiling Node Schema+Convertible.swift
[67/98] Compiling Node SchemaWrapper+Convertible.swift
[68/98] Compiling Node StructuredDataWrapper+PathIndexable.swift
[69/98] Compiling Node StructuredDataWrapper+Polymorphic.swift
[70/98] Compiling Node StructuredDataWrapper.swift
[71/98] Compiling Node Node.swift
[72/98] Compiling Node NodeConvertible.swift
[73/98] Compiling Node NodeInitializable.swift
[74/98] Compiling Node NodeRepresentable.swift
[75/98] Compiling Node StructuredData+Init.swift
[76/98] Compiling Node StructuredData+PathIndexable.swift
[77/98] Compiling Node StructuredData+Polymorphic.swift
[78/98] Compiling Node StructuredData.swift
[79/98] Compiling Node String+Convertible.swift
[80/98] Compiling Node UUID+Convertible.swift
[81/98] Compiling Node UnsignedInteger+Convertible.swift
[82/98] Compiling Node Context.swift
[83/98] Compiling Node StructuredDataWrapper+Cases.swift
[84/98] Compiling Node StructuredDataWrapper+Convenience.swift
[85/98] Compiling Node StructuredDataWrapper+Equatable.swift
[86/98] Compiling Node StructuredDataWrapper+Literals.swift
[87/98] Compiling Node Array+Convertible.swift
[88/98] Compiling Node Dictionary+Convertible.swift
[89/98] Compiling Node Fuzzy+Any.swift
[90/98] Compiling Node FuzzyConverter.swift
[91/98] Emitting module Node
[92/98] Compiling Node Optional+Convertible.swift
[93/98] Compiling Node Set+Convertible.swift
[94/98] Compiling Node Number.swift
[95/98] Compiling Node StructuredData+Equatable.swift
[96/98] Compiling Node Errors.swift
[97/98] Compiling Node Exports.swift
[98/98] Compiling Node Identifier.swift
[99/107] Compiling JSON JSONRepresentable.swift
[100/107] Compiling JSON Sequence+Convertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSON.swift:11:23: warning: static property 'defaultContext' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public struct JSON: StructuredDataWrapper {
11 |     public static var defaultContext: Context? = jsonContext
   |                       |- warning: static property 'defaultContext' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultContext' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultContext' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public var wrapped: StructuredData
13 |     public let context: Context
[101/107] Compiling JSON JSON+Bytes.swift
[102/107] Compiling JSON JSON+Serialize.swift
[103/107] Compiling JSON JSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSON.swift:11:23: warning: static property 'defaultContext' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public struct JSON: StructuredDataWrapper {
11 |     public static var defaultContext: Context? = jsonContext
   |                       |- warning: static property 'defaultContext' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultContext' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultContext' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public var wrapped: StructuredData
13 |     public let context: Context
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSONContext.swift:6:12: warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public final class JSONContext: Context {
   |                    `- note: class 'JSONContext' does not conform to the 'Sendable' protocol
 2 |     internal static let shared = JSONContext()
 3 |     fileprivate init() {}
 4 | }
 5 |
 6 | public let jsonContext = JSONContext.shared
   |            |- warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'jsonContext' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | extension Context {
[104/107] Emitting module JSON
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSON.swift:11:23: warning: static property 'defaultContext' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public struct JSON: StructuredDataWrapper {
11 |     public static var defaultContext: Context? = jsonContext
   |                       |- warning: static property 'defaultContext' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultContext' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultContext' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public var wrapped: StructuredData
13 |     public let context: Context
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSONContext.swift:6:12: warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public final class JSONContext: Context {
   |                    `- note: class 'JSONContext' does not conform to the 'Sendable' protocol
 2 |     internal static let shared = JSONContext()
 3 |     fileprivate init() {}
 4 | }
 5 |
 6 | public let jsonContext = JSONContext.shared
   |            |- warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'jsonContext' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | extension Context {
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSONContext.swift:2:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public final class JSONContext: Context {
   |                    `- note: class 'JSONContext' does not conform to the 'Sendable' protocol
 2 |     internal static let shared = JSONContext()
   |                         |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 3 |     fileprivate init() {}
 4 | }
[105/107] Compiling JSON JSONContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSONContext.swift:2:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public final class JSONContext: Context {
   |                    `- note: class 'JSONContext' does not conform to the 'Sendable' protocol
 2 |     internal static let shared = JSONContext()
   |                         |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 3 |     fileprivate init() {}
 4 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSONContext.swift:6:12: warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public final class JSONContext: Context {
   |                    `- note: class 'JSONContext' does not conform to the 'Sendable' protocol
 2 |     internal static let shared = JSONContext()
 3 |     fileprivate init() {}
 4 | }
 5 |
 6 | public let jsonContext = JSONContext.shared
   |            |- warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'jsonContext' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | extension Context {
[106/107] Compiling JSON JSON+Parse.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSON.swift:11:23: warning: static property 'defaultContext' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public struct JSON: StructuredDataWrapper {
11 |     public static var defaultContext: Context? = jsonContext
   |                       |- warning: static property 'defaultContext' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultContext' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultContext' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public var wrapped: StructuredData
13 |     public let context: Context
/Users/admin/builder/spi-builder-workspace/.build/checkouts/node/Sources/Node/Convertibles/Date+Convertible.swift:53:23: warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |         the user is responsible for handling their date formatting manually.
 52 |     */
 53 |     public static var outgoingDateFormatter: DateFormatter = .iso8601
    |                       |- warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'outgoingDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'outgoingDateFormatter' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSON+Parse.swift:129:31: warning: reference to static property 'outgoingDateFormatter' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
127 |             return value
128 |         case .date(let date):
129 |             let string = Date.outgoingDateFormatter.string(from: date)
    |                               `- warning: reference to static property 'outgoingDateFormatter' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 |             return string
131 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/node/Sources/Node/Convertibles/Date+Convertible.swift:53:23: note: static property declared here
 51 |         the user is responsible for handling their date formatting manually.
 52 |     */
 53 |     public static var outgoingDateFormatter: DateFormatter = .iso8601
    |                       `- note: static property declared here
 54 |
 55 |     /**
[107/107] Compiling JSON JSON+Fuzzy.swift
Build complete! (26.53s)
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/core.git
[1/4211] Fetching node
[86/24354] Fetching node, core
Fetched https://github.com/vapor/node.git from cache (1.64s)
Fetched https://github.com/vapor/core.git from cache (1.64s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.70s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/260] Fetching debugging
[76/618] Fetching debugging, bits
Fetched https://github.com/vapor/debugging.git from cache (0.83s)
Fetched https://github.com/vapor/bits.git from cache (0.83s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.68s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.74s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.68s)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/core.git"
    },
    {
      "identity" : "node",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/node.git"
    }
  ],
  "manifest_display_name" : "JSON",
  "name" : "JSON",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JSON",
      "targets" : [
        "JSON"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONTests",
      "path" : "Tests/JSONTests",
      "sources" : [
        "JSONConvertibleTests.swift",
        "JSONTests.swift"
      ],
      "target_dependencies" : [
        "JSON"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSON",
      "module_type" : "SwiftTarget",
      "name" : "JSON",
      "path" : "Sources/JSON",
      "product_dependencies" : [
        "Core",
        "Node"
      ],
      "product_memberships" : [
        "JSON"
      ],
      "sources" : [
        "JSON+Bytes.swift",
        "JSON+Fuzzy.swift",
        "JSON+Parse.swift",
        "JSON+Serialize.swift",
        "JSON.swift",
        "JSONContext.swift",
        "JSONRepresentable.swift",
        "Sequence+Convertible.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.