The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DockerClient with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/valeriomazzeo/docker-client-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "docker-client-swift",
      "name": "DockerClient",
      "url": "https://github.com/valeriomazzeo/docker-client-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/docker-client-swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/valeriomazzeo/docker-client-swift.git from cache
Fetched https://github.com/valeriomazzeo/docker-client-swift.git (0.17s)
Creating working copy for https://github.com/valeriomazzeo/docker-client-swift.git
Working copy of https://github.com/valeriomazzeo/docker-client-swift.git resolved at master
warning: '.resolve-product-dependencies': dependency 'docker-client-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Compiling Ccurl anchor.c
[2/4] Emitting module DockerClient
[3/4] Compiling DockerClient DockerClient.swift
[4/4] Compiling DockerClient CURLTask.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DockerClient/CURLTask.swift:150:70: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
            curl_easy_setopt_void(self.curl, CURLOPT_COPYPOSTFIELDS, UnsafeMutableRawPointer(mutating: bytes))
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DockerClient/CURLTask.swift:150:104: note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
            curl_easy_setopt_void(self.curl, CURLOPT_COPYPOSTFIELDS, UnsafeMutableRawPointer(mutating: bytes))
                                                                                                       ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DockerClient/CURLTask.swift:150:104: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
            curl_easy_setopt_void(self.curl, CURLOPT_COPYPOSTFIELDS, UnsafeMutableRawPointer(mutating: bytes))
                                                                                                       ^
Build complete! (6.95s)
Build complete.
Done.