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 JSONUtilities, reference master (e35b51), with Swift 6.2 (beta) for Linux on 18 Jun 2025 10:54:09 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lucianomarisi/JSONUtilities.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/lucianomarisi/JSONUtilities
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e35b516 Updated CHANGELOG for 6.0.1 release (#35)
Cloned https://github.com/lucianomarisi/JSONUtilities.git
Revision (git rev-parse @):
e35b5168eabae41000f4671ac350d5106db3589f
SUCCESS checkout https://github.com/lucianomarisi/JSONUtilities.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/lucianomarisi/JSONUtilities.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling JSONUtilities InvalidItemBehaviour.swift
[4/10] Compiling JSONUtilities JSONFileLoading.swift
/host/spi-builder-workspace/Sources/JSONUtilities/JSONFileLoading.swift:40:12: warning: result of call to 'url(forResource:withExtension:)' is unused [#no-usage]
38 |    */
39 |   static func from(filename: String, bundle: Bundle = .main) throws -> JSONDictionary {
40 |     bundle.url(forResource: filename, withExtension: "json")
   |            `- warning: result of call to 'url(forResource:withExtension:)' is unused [#no-usage]
41 |     guard let url = bundle.url(forResource: filename, withExtension: "json") else {
42 |       throw JSONUtilsError.couldNotFindFile
[5/11] Compiling JSONUtilities JSONObjectConvertible.swift
[6/11] Compiling JSONUtilities JSONPrimitiveConvertible.swift
[7/11] Compiling JSONUtilities Dictionary+KeyPath.swift
[8/11] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[9/11] Compiling JSONUtilities DecodingError.swift
/host/spi-builder-workspace/Sources/JSONUtilities/DecodingError.swift:20:14: warning: stored property 'dictionary' of 'Sendable'-conforming struct 'DecodingError' has non-Sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
18 |
19 |   /// dictionary in which the error occured
20 |   public let dictionary: [AnyHashable: Any]
   |              `- warning: stored property 'dictionary' of 'Sendable'-conforming struct 'DecodingError' has non-Sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
21 |
22 |   /// array in which the error occurred
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init()
[10/11] Emitting module JSONUtilities
/host/spi-builder-workspace/Sources/JSONUtilities/DecodingError.swift:20:14: warning: stored property 'dictionary' of 'Sendable'-conforming struct 'DecodingError' has non-Sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
18 |
19 |   /// dictionary in which the error occured
20 |   public let dictionary: [AnyHashable: Any]
   |              `- warning: stored property 'dictionary' of 'Sendable'-conforming struct 'DecodingError' has non-Sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
21 |
22 |   /// array in which the error occurred
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init()
[11/11] Compiling JSONUtilities Dictionary+JSONKey.swift
Build complete! (10.47s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSONUtilities",
  "name" : "JSONUtilities",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JSONUtilities",
      "targets" : [
        "JSONUtilities"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONUtilitiesTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONUtilitiesTests",
      "path" : "Tests/JSONUtilitiesTests",
      "sources" : [
        "Dictionary+KeyPathTests.swift",
        "FileLoadingTests.swift",
        "Helpers/Dictionary+Equatable.swift",
        "Helpers/XCTestCase+Additions.swift",
        "InlineDecodingTests.swift",
        "InvalidItemBehaviourTests.swift",
        "JSONDecodingTests.swift",
        "JSONPrimitiveConvertibleTests.swift",
        "Mocks/MockChild.swift",
        "Mocks/MockParent.swift",
        "Mocks/MockSimpleChild.swift",
        "Mocks/MockSimpleParent.swift",
        "TestFiles/JSONFiles.swift"
      ],
      "target_dependencies" : [
        "JSONUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONUtilities",
      "module_type" : "SwiftTarget",
      "name" : "JSONUtilities",
      "path" : "Sources/JSONUtilities",
      "product_memberships" : [
        "JSONUtilities"
      ],
      "sources" : [
        "DecodingError.swift",
        "Dictionary+JSONKey.swift",
        "Dictionary+KeyPath.swift",
        "InvalidItemBehaviour.swift",
        "JSONFileLoading.swift",
        "JSONObjectConvertible.swift",
        "JSONPrimitiveConvertible.swift",
        "URL+JSONPrimitiveConvertible.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.