The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Raylib 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/STREGAsGate/Raylib.git
Reference: v4.0.0
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/STREGAsGate/Raylib
 * tag               v4.0.0     -> FETCH_HEAD
HEAD is now at ad7bdce Finish 4.0 upgrade.
Cloned https://github.com/STREGAsGate/Raylib.git
Revision (git rev-parse @):
ad7bdce515cea316789b9b582dc456cb326e87fc
SUCCESS checkout https://github.com/STREGAsGate/Raylib.git at v4.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/STREGAsGate/Raylib.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/29] Write swift-version--423B1241ED78D482.txt
[1/29] Compiling utils.c
[2/29] Compiling rshapes.c
[3/29] Compiling rtext.c
[4/29] Compiling rtextures.c
[5/29] Compiling rmodels.c
[5/29] Compiling rcore.c
In file included from /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/raudio.c:211:
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/jar_xm.h:242:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(...)
        ^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
        ^
In file included from /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/raudio.c:211:
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/jar_xm.h:521:9: warning: 'ALIGN' macro redefined [-Wmacro-redefined]
#define ALIGN(x, b) (((x) + ((b) - 1)) & ~((b) - 1))
        ^
/Applications/Xcode-15.3.0-Beta.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/arm/param.h:61:9: note: previous definition is here
#define ALIGN(p)        __DARWIN_ALIGN(p)
        ^
2 warnings generated.
[7/29] Compiling raudio.c
[8/29] Compiling vulkan.c
[9/29] Compiling context.c
[10/29] Compiling cocoa_monitor.m
[11/29] Compiling posix_thread.c
[12/29] Compiling window.c
[13/29] Compiling monitor.c
[14/29] Compiling osmesa_context.c
[15/29] Compiling input.c
[16/29] Write sources
[18/29] Write Example-entitlement.plist
[19/29] Compiling init.c
[20/29] Compiling egl_context.c
[21/29] Compiling cocoa_time.c
[22/29] Compiling cocoa_init.m
[23/29] Compiling cocoa_window.m
[24/29] Compiling nsgl_context.m
[25/29] Compiling cocoa_joystick.m
[27/62] Compiling Raylib ConfigFlags.swift
[28/62] Compiling Raylib CubemapLayout.swift
[29/62] Compiling Raylib FontType.swift
[30/62] Compiling Raylib GampadAxis.swift
[31/62] Compiling Raylib GampadButton.swift
[32/66] Compiling Raylib Gestures.swift
[33/66] Compiling Raylib KeyboardKey.swift
[34/66] Compiling Raylib MaterialMapIndex.swift
[35/66] Compiling Raylib MouseButton.swift
[36/66] Compiling Raylib MouseCursor.swift
[37/66] Compiling Raylib DeprectationsRaylib-4_0_0.swift
[38/66] Compiling Raylib BlendMode.swift
[39/66] Compiling Raylib CameraMode.swift
[40/66] Compiling Raylib CameraProjection.swift
[41/66] Compiling Raylib Color.swift
[42/66] Compiling Raylib raylib_h_core.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:548:60: warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
        _RaylibC.SetShaderValue(shader, locIndex.rawValue, &_value, uniformType.rawValue)
                                                           ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:555:61: warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
        _RaylibC.SetShaderValueV(shader, locIndex.rawValue, &_value, uniformType.rawValue, count)
                                                            ^
[43/66] Compiling Raylib raylib_h_models.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:548:60: warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
        _RaylibC.SetShaderValue(shader, locIndex.rawValue, &_value, uniformType.rawValue)
                                                           ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:555:61: warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
        _RaylibC.SetShaderValueV(shader, locIndex.rawValue, &_value, uniformType.rawValue, count)
                                                            ^
[44/66] Compiling Raylib raylib_h_rcamera.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:548:60: warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
        _RaylibC.SetShaderValue(shader, locIndex.rawValue, &_value, uniformType.rawValue)
                                                           ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:555:61: warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
        _RaylibC.SetShaderValueV(shader, locIndex.rawValue, &_value, uniformType.rawValue, count)
                                                            ^
[45/66] Compiling Raylib raylib_h_rgestures.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:548:60: warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
        _RaylibC.SetShaderValue(shader, locIndex.rawValue, &_value, uniformType.rawValue)
                                                           ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:555:61: warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
        _RaylibC.SetShaderValueV(shader, locIndex.rawValue, &_value, uniformType.rawValue, count)
                                                            ^
[46/66] Compiling Raylib NPatchLayout.swift
[47/66] Compiling Raylib PixelFormat.swift
[48/66] Compiling Raylib ShaderLocationIndex.swift
[49/66] Compiling Raylib ShaderUniformDataType.swift
[50/66] Compiling Raylib TextureFilter.swift
[51/66] Compiling Raylib raylib_h_shapes.swift
[52/66] Compiling Raylib raylib_h_text.swift
[53/66] Compiling Raylib raylib_h_textures.swift
[54/66] Compiling Raylib raymath_h.swift
[55/66] Emitting module Raylib
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:548:60: warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
        _RaylibC.SetShaderValue(shader, locIndex.rawValue, &_value, uniformType.rawValue)
                                                           ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:555:61: warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
        _RaylibC.SetShaderValueV(shader, locIndex.rawValue, &_value, uniformType.rawValue, count)
                                                            ^
[56/66] Compiling Raylib TextureWrap.swift
[57/66] Compiling Raylib TraceLogLevel.swift
[58/66] Compiling Raylib SwiftRaylib.swift
[59/66] Compiling Raylib Camera.swift
[60/66] Compiling Raylib Image.swift
[61/66] Compiling Raylib NPatchInfo.swift
[62/66] Compiling Raylib Texture.swift
[63/66] Compiling Raylib raylib_h_audio.swift
[64/69] Compiling Example main.swift
[65/69] Compiling Example SnakeGame.swift
[66/69] Emitting module Example
[66/69] Write Objects.LinkFileList
[67/69] Linking Example
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Example: replacing existing signature
[68/69] Applying Example
Build complete! (5.39s)
Build complete.
Done.

Build Machine: Mac 7