Build Information
Successful build of Kinzoku with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/obvgab/kinzoku.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/obvgab/kinzoku
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1e35d3d Merge pull request #2 from stackotter/triangle
Cloned https://github.com/obvgab/kinzoku.git
Revision (git rev-parse @):
1e35d3d2bb1c9cfd7cf7917c94fe19c6792ea0c3
SUCCESS checkout https://github.com/obvgab/kinzoku.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/obvgab/kinzoku.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Copying x86_64.so
[0/5] Copying x86_64.dylib
[0/5] Copying aarch64.so
[3/5] Copying aarch64.dylib
[4/5] Compiling WgpuHeaders WgpuHeader.c
[6/18] Emitting module Kinzoku
[7/22] Compiling Kinzoku Queue.swift
[8/22] Compiling Kinzoku ShaderModule.swift
[9/22] Compiling Kinzoku Surface.swift
[10/22] Compiling Kinzoku resource_bundle_accessor.swift
[11/22] Compiling Kinzoku ComputePassEncoder.swift
[12/22] Compiling Kinzoku Device.swift
[13/22] Compiling Kinzoku Enums.swift
[14/22] Compiling Kinzoku Functions.swift
[15/22] Compiling Kinzoku Structs.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Kinzoku/Kinzoku.swift:34:12: warning: initialization of 'UnsafeMutablePointer<T>' results in a dangling pointer
return UnsafeMutablePointer(&data)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Kinzoku/Kinzoku.swift:34:33: note: implicit argument conversion from 'T' to 'UnsafeMutablePointer<T>' produces a pointer valid only for the duration of the call to 'init(_:)'
return UnsafeMutablePointer(&data)
^~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Kinzoku/Kinzoku.swift:34:33: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
return UnsafeMutablePointer(&data)
^
[16/22] Compiling Kinzoku Instance.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Kinzoku/Kinzoku.swift:34:12: warning: initialization of 'UnsafeMutablePointer<T>' results in a dangling pointer
return UnsafeMutablePointer(&data)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Kinzoku/Kinzoku.swift:34:33: note: implicit argument conversion from 'T' to 'UnsafeMutablePointer<T>' produces a pointer valid only for the duration of the call to 'init(_:)'
return UnsafeMutablePointer(&data)
^~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Kinzoku/Kinzoku.swift:34:33: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
return UnsafeMutablePointer(&data)
^
[17/22] Compiling Kinzoku Kinzoku.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Kinzoku/Kinzoku.swift:34:12: warning: initialization of 'UnsafeMutablePointer<T>' results in a dangling pointer
return UnsafeMutablePointer(&data)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Kinzoku/Kinzoku.swift:34:33: note: implicit argument conversion from 'T' to 'UnsafeMutablePointer<T>' produces a pointer valid only for the duration of the call to 'init(_:)'
return UnsafeMutablePointer(&data)
^~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Kinzoku/Kinzoku.swift:34:33: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
return UnsafeMutablePointer(&data)
^
[18/22] Compiling Kinzoku Pipeline.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Kinzoku/Kinzoku.swift:34:12: warning: initialization of 'UnsafeMutablePointer<T>' results in a dangling pointer
return UnsafeMutablePointer(&data)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Kinzoku/Kinzoku.swift:34:33: note: implicit argument conversion from 'T' to 'UnsafeMutablePointer<T>' produces a pointer valid only for the duration of the call to 'init(_:)'
return UnsafeMutablePointer(&data)
^~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Kinzoku/Kinzoku.swift:34:33: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
return UnsafeMutablePointer(&data)
^
[19/22] Compiling Kinzoku Adapter.swift
[20/22] Compiling Kinzoku BindGroup.swift
[21/22] Compiling Kinzoku Chained.swift
[22/22] Compiling Kinzoku CommandEncoder.swift
Build complete! (13.62s)
Fetching https://github.com/thepotatoking55/SwiftGLFW.git
[8/741] Fetching swiftglfw
Fetched https://github.com/thepotatoking55/SwiftGLFW.git (0.32s)
Fetching https://github.com/thepotatoking55/CGLFW3.git
[1/215] Fetching cglfw3
Fetched https://github.com/thepotatoking55/CGLFW3.git (0.36s)
Creating working copy for https://github.com/thepotatoking55/SwiftGLFW.git
Working copy of https://github.com/thepotatoking55/SwiftGLFW.git resolved at main
Creating working copy for https://github.com/thepotatoking55/CGLFW3.git
Working copy of https://github.com/thepotatoking55/CGLFW3.git resolved at main
Build complete.
Done.