The Swift Package Index logo.Swift Package Index

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: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/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
========================================
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/1/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/1/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/1/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.63s)
Build complete.
Done.

Build Machine: Mac 7