The Swift Package Index logo.Swift Package Index

Build Information

Successful build of BaseMath with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jph00/basemath.git
Reference: 1.0.1
Cloned https://github.com/jph00/basemath.git into spi-builder-workspace
SUCCESS checkout https://github.com/jph00/basemath.git at 1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[0/1] Compiling CBaseMath CBaseMath.c
[2/5] Compiling BaseMath Storage.swift
/host/spi-builder-workspace/Sources/BaseMath/Storage.swift:7:37: warning: initialization of 'UnsafeMutablePointer<Element>' results in a dangling pointer
  public var p:MutPtrT {get {return UnsafeMutablePointer(mutating: self)}}
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BaseMath/Storage.swift:7:68: note: implicit argument conversion from 'Array<Element>' to 'UnsafePointer<Element>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
  public var p:MutPtrT {get {return UnsafeMutablePointer(mutating: self)}}
                                                                   ^~~~
/host/spi-builder-workspace/Sources/BaseMath/Storage.swift:7:68: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
  public var p:MutPtrT {get {return UnsafeMutablePointer(mutating: self)}}
                                                                   ^
[3/5] Compiling BaseMath BaseMath.swift
[4/5] Compiling BaseMath BaseVector.swift
[5/5] Emitting module BaseMath
Build complete! (10.03s)
Build complete.
Done.

Build Machine: Linux 2