The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DockerClient, reference master (32c7f7), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 05:23:06 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/valeriomazzeo/docker-client-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/valeriomazzeo/docker-client-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 32c7f7d Update README
Cloned https://github.com/valeriomazzeo/docker-client-swift.git
Revision (git rev-parse @):
32c7f7d95223936b9fa0d8f4b180fbb80d184e3c
SUCCESS checkout https://github.com/valeriomazzeo/docker-client-swift.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/valeriomazzeo/docker-client-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Compiling Ccurl anchor.c
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/6] Compiling DockerClient DockerClient.swift
[5/6] Emitting module DockerClient
[6/6] Compiling DockerClient CURLTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/DockerClient/CURLTask.swift:150:70: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer [#TemporaryPointers]
148 |
149 |             curl_easy_setopt_long(self.curl, CURLOPT_POSTFIELDSIZE_LARGE, bytes.count)
150 |             curl_easy_setopt_void(self.curl, CURLOPT_COPYPOSTFIELDS, UnsafeMutableRawPointer(mutating: bytes))
    |                                                                      |                                 |- note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
    |                                                                      |                                 `- note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                                                                      `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer [#TemporaryPointers]
151 |         }
152 |
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
Build complete! (3.28s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DockerClient",
  "name" : "DockerClient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DockerClient",
      "targets" : [
        "DockerClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DockerClient",
      "module_type" : "SwiftTarget",
      "name" : "DockerClient",
      "path" : "Sources/DockerClient",
      "product_memberships" : [
        "DockerClient"
      ],
      "sources" : [
        "CURLTask.swift",
        "DockerClient.swift"
      ],
      "target_dependencies" : [
        "Ccurl"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Ccurl",
      "module_type" : "ClangTarget",
      "name" : "Ccurl",
      "path" : "Sources/Ccurl",
      "product_memberships" : [
        "DockerClient"
      ],
      "sources" : [
        "anchor.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.