The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Raylib with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/STREGAsGate/Raylib.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/STREGAsGate/Raylib
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 9e7c836 Make RaylibC accessible
Cloned https://github.com/STREGAsGate/Raylib.git
Revision (git rev-parse @):
9e7c83604f74211e4f8f3c38c1c52d4434f51bc1
SUCCESS checkout https://github.com/STREGAsGate/Raylib.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "raylib",
      "name": "Raylib",
      "url": "https://github.com/STREGAsGate/Raylib.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Raylib",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/STREGAsGate/Raylib.git from cache
Fetched https://github.com/STREGAsGate/Raylib.git (0.16s)
Creating working copy for https://github.com/STREGAsGate/Raylib.git
Working copy of https://github.com/STREGAsGate/Raylib.git resolved at master
warning: '.resolve-product-dependencies': dependency 'raylib' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/24] Compiling utils.c
[1/24] Compiling rshapes.c
[2/24] Compiling rtext.c
[3/24] Compiling rcore.c
[4/24] Compiling rmodels.c
[5/24] Compiling rtextures.c
[6/24] Compiling window.c
[7/24] Compiling monitor.c
[8/24] Compiling init.c
[9/24] Compiling vulkan.c
[10/24] Compiling posix_thread.c
[11/24] Compiling egl_context.c
[12/24] Compiling context.c
[13/24] Compiling cocoa_time.c
[14/24] Compiling input.c
[15/24] Compiling raygui.c
[16/24] Compiling osmesa_context.c
In file included from /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/raudio.c:211:
/Users/builder/builds/TDmZkXJm/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
        ^
1 warning generated.
[17/24] Compiling raudio.c
[18/24] Compiling cocoa_monitor.m
[19/24] Compiling nsgl_context.m
[20/24] Compiling cocoa_init.m
[21/24] Compiling cocoa_window.m
[22/24] Compiling cocoa_joystick.m
[24/59] Compiling Raylib NPatchLayout.swift
[25/59] Compiling Raylib PixelFormat.swift
[26/59] Compiling Raylib ShaderLocationIndex.swift
[27/59] Compiling Raylib ShaderUniformDataType.swift
[28/59] Compiling Raylib TextureFilter.swift
[29/59] Compiling Raylib Gestures.swift
[30/59] Compiling Raylib KeyboardKey.swift
[31/59] Compiling Raylib MaterialMapIndex.swift
[32/59] Compiling Raylib MouseButton.swift
[33/59] Compiling Raylib MouseCursor.swift
[34/59] Compiling Raylib ConfigFlags.swift
[35/59] Compiling Raylib CubemapLayout.swift
[36/59] Compiling Raylib FontType.swift
[37/59] Compiling Raylib GampadAxis.swift
[38/59] Compiling Raylib GampadButton.swift
[39/59] Compiling Raylib raylib_h_core.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:548:59: 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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:555:60: 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)
                                                           ^
[40/59] Compiling Raylib raylib_h_models.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:548:59: 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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:555:60: 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)
                                                           ^
[41/59] Compiling Raylib raylib_h_rcamera.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:548:59: 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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:555:60: 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)
                                                           ^
[42/59] Compiling Raylib raylib_h_rgestures.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:548:59: 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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:555:60: 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/63] Compiling Raylib DeprectationsRaylib-4_0_0.swift
[44/63] Compiling Raylib BlendMode.swift
[45/63] Compiling Raylib CameraMode.swift
[46/63] Compiling Raylib CameraProjection.swift
[47/63] Compiling Raylib Color.swift
[48/63] Emitting module Raylib
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:548:59: 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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Raylib/raylib_h_core.swift:555:60: 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)
                                                           ^
[49/63] Compiling Raylib Camera.swift
[50/63] Compiling Raylib Image.swift
[51/63] Compiling Raylib NPatchInfo.swift
[52/63] Compiling Raylib Texture.swift
[53/63] Compiling Raylib raylib_h_audio.swift
[54/63] Compiling Raylib TextureWrap.swift
[55/63] Compiling Raylib TraceLogLevel.swift
[56/63] Compiling Raylib easings_h.swift
[57/63] Compiling Raylib raygui_h.swift
[58/63] Compiling Raylib SwiftRaylib.swift
[59/63] Compiling Raylib raylib_h_shapes.swift
[60/63] Compiling Raylib raylib_h_text.swift
[61/63] Compiling Raylib raylib_h_textures.swift
[62/63] Compiling Raylib raymath_h.swift
[63/66] Compiling Example main.swift
[64/66] Compiling Example SnakeGame.swift
[65/66] Emitting module Example
[65/66] Linking Example
Build complete! (13.17s)
Build complete.
Done.