The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Raylib 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/STREGAsGate/Raylib.git
Reference: master
Cloned https://github.com/STREGAsGate/Raylib.git into spi-builder-workspace
SUCCESS checkout https://github.com/STREGAsGate/Raylib.git at master
========================================
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...
[0/27] Compiling utils.c
[0/27] Compiling context.c
[2/27] Compiling linux_joystick.c
[3/27] Compiling egl_context.c
[4/27] Compiling input.c
[5/27] Compiling window.c
[6/27] Compiling rshapes.c
[7/27] Compiling xkb_unicode.c
[8/27] Compiling rtext.c
[9/27] Compiling x11_monitor.c
[10/27] Compiling x11_window.c
[11/27] Compiling posix_time.c
[12/27] Compiling x11_init.c
[13/27] Compiling vulkan.c
[14/27] Compiling posix_thread.c
[15/27] Compiling osmesa_context.c
[16/27] Compiling monitor.c
[17/27] Compiling glx_context.c
[18/27] Compiling init.c
[19/27] Compiling raygui.c
In file included from /host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/rmodels.c:96:
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/par_shapes.h:1133:32: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-int-float-conversion]
    float r = (float) rand() / RAND_MAX;
                             ~ ^~~~~~~~
/usr/include/stdlib.h:86:18: note: expanded from macro 'RAND_MAX'
#define RAND_MAX        2147483647
                        ^~~~~~~~~~
1 warning generated.
[20/27] Compiling rmodels.c
[21/27] Compiling rcore.c
[22/27] Compiling rtextures.c
In file included from /host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/raudio.c:211:
/host/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.
[23/27] Compiling raudio.c
[25/62] Emitting module Raylib
/host/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)
                                                          ^
/host/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)
                                                           ^
[26/62] Compiling Raylib raylib_h_core.swift
/host/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)
                                                          ^
/host/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)
                                                           ^
[27/62] Compiling Raylib raylib_h_models.swift
/host/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)
                                                          ^
/host/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)
                                                           ^
[28/62] Compiling Raylib raylib_h_rcamera.swift
/host/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)
                                                          ^
/host/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)
                                                           ^
[29/62] Compiling Raylib raylib_h_rgestures.swift
/host/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)
                                                          ^
/host/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)
                                                           ^
[30/66] Compiling Raylib raylib_h_shapes.swift
[31/66] Compiling Raylib raylib_h_text.swift
[32/66] Compiling Raylib raylib_h_textures.swift
[33/66] Compiling Raylib raymath_h.swift
[34/66] Compiling Raylib TextureWrap.swift
[35/66] Compiling Raylib TraceLogLevel.swift
[36/66] Compiling Raylib easings_h.swift
[37/66] Compiling Raylib raygui_h.swift
[38/66] Compiling Raylib SwiftRaylib.swift
[39/66] Compiling Raylib ConfigFlags.swift
[40/66] Compiling Raylib CubemapLayout.swift
[41/66] Compiling Raylib FontType.swift
[42/66] Compiling Raylib GampadAxis.swift
[43/66] Compiling Raylib GampadButton.swift
[44/66] Compiling Raylib DeprectationsRaylib-4_0_0.swift
[45/66] Compiling Raylib BlendMode.swift
[46/66] Compiling Raylib CameraMode.swift
[47/66] Compiling Raylib CameraProjection.swift
[48/66] Compiling Raylib Color.swift
[49/66] Compiling Raylib Gestures.swift
[50/66] Compiling Raylib KeyboardKey.swift
[51/66] Compiling Raylib MaterialMapIndex.swift
[52/66] Compiling Raylib MouseButton.swift
[53/66] Compiling Raylib MouseCursor.swift
[54/66] Compiling Raylib NPatchLayout.swift
[55/66] Compiling Raylib PixelFormat.swift
[56/66] Compiling Raylib ShaderLocationIndex.swift
[57/66] Compiling Raylib ShaderUniformDataType.swift
[58/66] Compiling Raylib TextureFilter.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
[65/68] Wrapping AST for Raylib for debugging
[67/71] Compiling Example main.swift
[68/71] Compiling Example SnakeGame.swift
[69/71] Emitting module Example
[71/73] Wrapping AST for Example for debugging
[72/73] Linking Example
Build complete! (12.82s)
Build complete.
Done.

Build Machine: Linux 1