Build Information
Successful build of DockerClient with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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/UKfvDsi8u/3/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
Revision (git rev-parse @):
470e2f96046563648174ef2602abe3de9f777006
SUCCESS checkout https://github.com/valeriomazzeo/docker-client-swift.git at 1.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/valeriomazzeo/docker-client-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Compiling Ccurl anchor.c
[2/3] Write swift-version--423B1241ED78D482.txt
[4/6] Compiling DockerClient DockerClient.swift
[5/6] Emitting module DockerClient
[6/6] Compiling DockerClient CURLTask.swift
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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! (2.94s)
Build complete.
Done.
Build Machine: Mac 7