The Swift Package Index logo.Swift Package Index

Build Information

Successful build of BerkananFoundation with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-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/zssz/BerkananFoundation.git
Reference: 1.0.0
Cloned https://github.com/zssz/BerkananFoundation.git into spi-builder-workspace
SUCCESS checkout https://github.com/zssz/BerkananFoundation.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/4] Compiling BerkananFoundation DataRepresentable.swift
/host/spi-builder-workspace/Sources/BerkananFoundation/DataRepresentable.swift:36:25: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer
    return Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BerkananFoundation/DataRepresentable.swift:36:52: note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    return Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
                                                   ^~~~~~
/host/spi-builder-workspace/Sources/BerkananFoundation/DataRepresentable.swift:36:52: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    return Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
                                                   ^
[2/4] Compiling BerkananFoundation String+Quotes.swift
[3/4] Emitting module BerkananFoundation
[4/4] Compiling BerkananFoundation Types+DataRepresentable.swift
Build complete! (5.94s)
Build complete.
Done.

Build Machine: Linux 1