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 JSONHTTPClient, reference develop (345021), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 04:39:29 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/otaviokz/JSONHTTPClient.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/otaviokz/JSONHTTPClient
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 3450210 Merge pull request #3 from otaviokz/v1.1.0
Cloned https://github.com/otaviokz/JSONHTTPClient.git
Revision (git rev-parse @):
34502106a676cac3d86209814a9bb99ddab66ea2
SUCCESS checkout https://github.com/otaviokz/JSONHTTPClient.git at develop
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "jsonhttpclient",
      "name": "JSONHTTPClient",
      "url": "https://github.com/otaviokz/JSONHTTPClient.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JSONHTTPClient",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/otaviokz/JSONHTTPClient.git
[1/45] Fetching jsonhttpclient
Fetched https://github.com/otaviokz/JSONHTTPClient.git from cache (0.68s)
Creating working copy for https://github.com/otaviokz/JSONHTTPClient.git
Working copy of https://github.com/otaviokz/JSONHTTPClient.git resolved at develop (3450210)
warning: '.resolve-product-dependencies': dependency 'jsonhttpclient' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/otaviokz/JSONHTTPClient.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSONHTTPClient",
  "name" : "JSONHTTPClient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "JSONHTTPClient",
      "targets" : [
        "JSONHTTPClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONHTTPClientTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONHTTPClientTests",
      "path" : "Tests/JSONHTTPClientTests",
      "sources" : [
        "JSONHTTPClientTests.swift"
      ],
      "target_dependencies" : [
        "JSONHTTPClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONHTTPClient",
      "module_type" : "SwiftTarget",
      "name" : "JSONHTTPClient",
      "path" : "Sources/JSONHTTPClient",
      "product_memberships" : [
        "JSONHTTPClient"
      ],
      "sources" : [
        "JSONHTTPClient.swift",
        "JSONHTTPClientError.swift",
        "URLRequests+Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/6] Compiling JSONHTTPClient JSONHTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONHTTPClient/JSONHTTPClient.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONHTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | @available(iOS 13.0.0, *)
13 | public struct JSONHTTPClient: JSONHTTPClientType {
   |               `- note: consider making struct 'JSONHTTPClient' conform to the 'Sendable' protocol
14 |     public static let shared = JSONHTTPClient()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONHTTPClient' 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
15 |
16 |     private init() {}
[4/6] Compiling JSONHTTPClient JSONHTTPClientError.swift
[5/6] Emitting module JSONHTTPClient
/Users/admin/builder/spi-builder-workspace/Sources/JSONHTTPClient/JSONHTTPClient.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONHTTPClient' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | @available(iOS 13.0.0, *)
13 | public struct JSONHTTPClient: JSONHTTPClientType {
   |               `- note: consider making struct 'JSONHTTPClient' conform to the 'Sendable' protocol
14 |     public static let shared = JSONHTTPClient()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONHTTPClient' 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
15 |
16 |     private init() {}
[6/6] Compiling JSONHTTPClient URLRequests+Utils.swift
Build complete! (7.17s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSONHTTPClient",
  "name" : "JSONHTTPClient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "JSONHTTPClient",
      "targets" : [
        "JSONHTTPClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONHTTPClientTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONHTTPClientTests",
      "path" : "Tests/JSONHTTPClientTests",
      "sources" : [
        "JSONHTTPClientTests.swift"
      ],
      "target_dependencies" : [
        "JSONHTTPClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONHTTPClient",
      "module_type" : "SwiftTarget",
      "name" : "JSONHTTPClient",
      "path" : "Sources/JSONHTTPClient",
      "product_memberships" : [
        "JSONHTTPClient"
      ],
      "sources" : [
        "JSONHTTPClient.swift",
        "JSONHTTPClientError.swift",
        "URLRequests+Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.