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-Beta.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/valeriomazzeo/docker-client-swift.git
Reference: 1.0.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/valeriomazzeo/docker-client-swift
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 470e2f9 response type
Cloned https://github.com/valeriomazzeo/docker-client-swift.git into spi-builder-workspace
470e2f96046563648174ef2602abe3de9f777006
SUCCESS checkout https://github.com/valeriomazzeo/docker-client-swift.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Building for debugging...
[0/1] Compiling Ccurl anchor.c
[2/4] Emitting module DockerClient
[3/4] Compiling DockerClient CURLTask.swift
/Users/builder/builds/TDmZkXJm/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/builder/builds/TDmZkXJm/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/builder/builds/TDmZkXJm/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))
                                                                                                       ^
[4/4] Compiling DockerClient DockerClient.swift
Build complete! (3.06s)
Build complete.
Done.