The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Raylib, reference master (9e7c83), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 21:45:40 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/STREGAsGate/Raylib.git
Reference: master
Initialized empty Git repository in /Users/admin/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/STREGAsGate/Raylib.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/30] Compiling init.c
[1/30] Compiling window.c
[1/30] Compiling vulkan.c
[3/30] Compiling context.c
[4/30] Compiling utils.c
[5/30] Compiling egl_context.c
[6/30] Write swift-version-1EA4D86E10B52AF.txt
[7/30] Compiling rshapes.c
[8/30] Compiling input.c
[9/30] Compiling monitor.c
[10/30] Compiling cocoa_time.c
[11/30] Compiling rtext.c
[12/30] Compiling posix_thread.c
[13/30] Compiling rtextures.c
[14/30] Compiling raygui.c
[15/30] Write sources
[17/30] Write Example-entitlement.plist
[18/30] Compiling osmesa_context.c
[19/30] Compiling rmodels.c
[20/30] Compiling rcore.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/raudio.c:211:
/Users/admin/builder/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/jar_xm.h:242:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
  242 | #define DEBUG(...)
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define DEBUG 1
      |         ^
1 warning generated.
[21/30] Compiling raudio.c
[22/30] Compiling cocoa_monitor.m
[23/30] Compiling cocoa_init.m
[24/30] Compiling cocoa_window.m
[25/30] Compiling cocoa_joystick.m
[26/30] Compiling nsgl_context.m
[28/66] Compiling Raylib MaterialMapIndex.swift
[29/66] Compiling Raylib MouseButton.swift
[30/66] Compiling Raylib MouseCursor.swift
[31/66] Compiling Raylib NPatchLayout.swift
[32/69] Compiling Raylib PixelFormat.swift
[33/69] Compiling Raylib ShaderLocationIndex.swift
[34/69] Compiling Raylib ShaderUniformDataType.swift
[35/69] Compiling Raylib TextureFilter.swift
[36/69] Compiling Raylib DeprectationsRaylib-4_0_0.swift
[37/69] Compiling Raylib BlendMode.swift
[38/69] Compiling Raylib CameraMode.swift
[39/69] Compiling Raylib CameraProjection.swift
[40/69] Compiling Raylib TextureWrap.swift
[41/69] Compiling Raylib TraceLogLevel.swift
[42/69] Compiling Raylib easings_h.swift
[43/69] Compiling Raylib raygui_h.swift
[44/69] Compiling Raylib Color.swift
[45/69] Compiling Raylib ConfigFlags.swift
[46/69] Compiling Raylib CubemapLayout.swift
[47/69] Compiling Raylib FontType.swift
[48/69] Compiling Raylib GampadAxis.swift
[49/69] Compiling Raylib GampadButton.swift
[50/69] Compiling Raylib Gestures.swift
[51/69] Compiling Raylib KeyboardKey.swift
[52/69] Emitting module Raylib
/Users/admin/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.
 546 |     static func setShaderValue(_ shader: Shader, _ locIndex: ShaderLocationIndex, _ value: Any, _ uniformType: ShaderUniformDataType) {
 547 |         var _value = value
 548 |         RaylibC.SetShaderValue(shader, locIndex.rawValue, &_value, uniformType.rawValue)
     |                                                           `- warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
 549 |     }
 550 |
/Users/admin/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.
 553 |     static func setShaderValueV(_ shader: Shader, _ locIndex: ShaderLocationIndex, _ value: Any, _ uniformType: ShaderUniformDataType, _ count: Int32) {
 554 |         var _value = value
 555 |         RaylibC.SetShaderValueV(shader, locIndex.rawValue, &_value, uniformType.rawValue, count)
     |                                                            `- warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
 556 |     }
 557 |
[53/69] Compiling Raylib raylib_h_text.swift
[54/69] Compiling Raylib raylib_h_textures.swift
[55/69] Compiling Raylib raymath_h.swift
[56/69] Compiling Raylib SwiftRaylib.swift
[57/69] Compiling Raylib Camera.swift
[58/69] Compiling Raylib Image.swift
[59/69] Compiling Raylib NPatchInfo.swift
[60/69] Compiling Raylib raylib_h_rcamera.swift
[61/69] Compiling Raylib raylib_h_rgestures.swift
[62/69] Compiling Raylib raylib_h_shapes.swift
[63/69] Compiling Raylib Texture.swift
/Users/admin/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.
 546 |     static func setShaderValue(_ shader: Shader, _ locIndex: ShaderLocationIndex, _ value: Any, _ uniformType: ShaderUniformDataType) {
 547 |         var _value = value
 548 |         RaylibC.SetShaderValue(shader, locIndex.rawValue, &_value, uniformType.rawValue)
     |                                                           `- warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
 549 |     }
 550 |
/Users/admin/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.
 553 |     static func setShaderValueV(_ shader: Shader, _ locIndex: ShaderLocationIndex, _ value: Any, _ uniformType: ShaderUniformDataType, _ count: Int32) {
 554 |         var _value = value
 555 |         RaylibC.SetShaderValueV(shader, locIndex.rawValue, &_value, uniformType.rawValue, count)
     |                                                            `- warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
 556 |     }
 557 |
[64/69] Compiling Raylib raylib_h_audio.swift
/Users/admin/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.
 546 |     static func setShaderValue(_ shader: Shader, _ locIndex: ShaderLocationIndex, _ value: Any, _ uniformType: ShaderUniformDataType) {
 547 |         var _value = value
 548 |         RaylibC.SetShaderValue(shader, locIndex.rawValue, &_value, uniformType.rawValue)
     |                                                           `- warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
 549 |     }
 550 |
/Users/admin/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.
 553 |     static func setShaderValueV(_ shader: Shader, _ locIndex: ShaderLocationIndex, _ value: Any, _ uniformType: ShaderUniformDataType, _ count: Int32) {
 554 |         var _value = value
 555 |         RaylibC.SetShaderValueV(shader, locIndex.rawValue, &_value, uniformType.rawValue, count)
     |                                                            `- warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
 556 |     }
 557 |
[65/69] Compiling Raylib raylib_h_core.swift
/Users/admin/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.
 546 |     static func setShaderValue(_ shader: Shader, _ locIndex: ShaderLocationIndex, _ value: Any, _ uniformType: ShaderUniformDataType) {
 547 |         var _value = value
 548 |         RaylibC.SetShaderValue(shader, locIndex.rawValue, &_value, uniformType.rawValue)
     |                                                           `- warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
 549 |     }
 550 |
/Users/admin/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.
 553 |     static func setShaderValueV(_ shader: Shader, _ locIndex: ShaderLocationIndex, _ value: Any, _ uniformType: ShaderUniformDataType, _ count: Int32) {
 554 |         var _value = value
 555 |         RaylibC.SetShaderValueV(shader, locIndex.rawValue, &_value, uniformType.rawValue, count)
     |                                                            `- warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
 556 |     }
 557 |
[66/69] Compiling Raylib raylib_h_models.swift
/Users/admin/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.
 546 |     static func setShaderValue(_ shader: Shader, _ locIndex: ShaderLocationIndex, _ value: Any, _ uniformType: ShaderUniformDataType) {
 547 |         var _value = value
 548 |         RaylibC.SetShaderValue(shader, locIndex.rawValue, &_value, uniformType.rawValue)
     |                                                           `- warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
 549 |     }
 550 |
/Users/admin/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.
 553 |     static func setShaderValueV(_ shader: Shader, _ locIndex: ShaderLocationIndex, _ value: Any, _ uniformType: ShaderUniformDataType, _ count: Int32) {
 554 |         var _value = value
 555 |         RaylibC.SetShaderValueV(shader, locIndex.rawValue, &_value, uniformType.rawValue, count)
     |                                                            `- warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
 556 |     }
 557 |
[67/72] Compiling Example main.swift
[68/72] Emitting module Example
[69/72] Compiling Example SnakeGame.swift
[69/72] Write Objects.LinkFileList
[70/72] Linking Example
[71/72] Applying Example
Build complete! (8.24s)
Build complete.
{
  "c_language_standard" : "c99",
  "dependencies" : [
  ],
  "manifest_display_name" : "Raylib",
  "name" : "Raylib",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Raylib",
      "targets" : [
        "Raylib",
        "RaylibC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RaylibC",
      "targets" : [
        "RaylibC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RaylibC",
      "module_type" : "ClangTarget",
      "name" : "RaylibC",
      "path" : "Sources/RaylibC",
      "product_memberships" : [
        "Raylib",
        "RaylibC",
        "Example"
      ],
      "sources" : [
        "ModifiedRaylibSrc/external/glfw/src/cocoa_init.m",
        "ModifiedRaylibSrc/external/glfw/src/cocoa_window.m",
        "ModifiedRaylibSrc/external/glfw/src/nsgl_context.m",
        "ModifiedRaylibSrc/extras/raygui.c",
        "UnmodifiedRaylibSrc/external/glfw/src/cocoa_joystick.m",
        "UnmodifiedRaylibSrc/external/glfw/src/cocoa_monitor.m",
        "UnmodifiedRaylibSrc/external/glfw/src/cocoa_time.c",
        "UnmodifiedRaylibSrc/external/glfw/src/context.c",
        "UnmodifiedRaylibSrc/external/glfw/src/egl_context.c",
        "UnmodifiedRaylibSrc/external/glfw/src/init.c",
        "UnmodifiedRaylibSrc/external/glfw/src/input.c",
        "UnmodifiedRaylibSrc/external/glfw/src/monitor.c",
        "UnmodifiedRaylibSrc/external/glfw/src/osmesa_context.c",
        "UnmodifiedRaylibSrc/external/glfw/src/posix_thread.c",
        "UnmodifiedRaylibSrc/external/glfw/src/vulkan.c",
        "UnmodifiedRaylibSrc/external/glfw/src/window.c",
        "UnmodifiedRaylibSrc/raudio.c",
        "UnmodifiedRaylibSrc/rcore.c",
        "UnmodifiedRaylibSrc/rmodels.c",
        "UnmodifiedRaylibSrc/rshapes.c",
        "UnmodifiedRaylibSrc/rtext.c",
        "UnmodifiedRaylibSrc/rtextures.c",
        "UnmodifiedRaylibSrc/utils.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Raylib",
      "module_type" : "SwiftTarget",
      "name" : "Raylib",
      "path" : "Sources/Raylib",
      "product_memberships" : [
        "Raylib",
        "Example"
      ],
      "sources" : [
        "Deprectations/DeprectationsRaylib-4_0_0.swift",
        "Enums/BlendMode.swift",
        "Enums/CameraMode.swift",
        "Enums/CameraProjection.swift",
        "Enums/Color.swift",
        "Enums/ConfigFlags.swift",
        "Enums/CubemapLayout.swift",
        "Enums/FontType.swift",
        "Enums/GampadAxis.swift",
        "Enums/GampadButton.swift",
        "Enums/Gestures.swift",
        "Enums/KeyboardKey.swift",
        "Enums/MaterialMapIndex.swift",
        "Enums/MouseButton.swift",
        "Enums/MouseCursor.swift",
        "Enums/NPatchLayout.swift",
        "Enums/PixelFormat.swift",
        "Enums/ShaderLocationIndex.swift",
        "Enums/ShaderUniformDataType.swift",
        "Enums/TextureFilter.swift",
        "Enums/TextureWrap.swift",
        "Enums/TraceLogLevel.swift",
        "Extras/easings_h.swift",
        "Extras/raygui_h.swift",
        "SwiftRaylib.swift",
        "Swifty/Camera.swift",
        "Swifty/Image.swift",
        "Swifty/NPatchInfo.swift",
        "Swifty/Texture.swift",
        "raylib_h_audio.swift",
        "raylib_h_core.swift",
        "raylib_h_models.swift",
        "raylib_h_rcamera.swift",
        "raylib_h_rgestures.swift",
        "raylib_h_shapes.swift",
        "raylib_h_text.swift",
        "raylib_h_textures.swift",
        "raymath_h.swift"
      ],
      "target_dependencies" : [
        "RaylibC"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Sources/Example",
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "SnakeGame.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Raylib"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Done.