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-1":/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: v4.0.0
Cloned https://github.com/STREGAsGate/Raylib.git into spi-builder-workspace
SUCCESS checkout https://github.com/STREGAsGate/Raylib.git at v4.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[0/26] Compiling context.c
[1/26] Compiling egl_context.c
[2/26] Compiling utils.c
[3/26] Compiling linux_joystick.c
[4/26] Compiling glx_context.c
[5/26] Compiling init.c
[6/26] Compiling input.c
[7/26] Compiling monitor.c
[8/26] Compiling rshapes.c
[9/26] Compiling xkb_unicode.c
[10/26] Compiling x11_window.c
[11/26] Compiling rtext.c
[12/26] Compiling x11_monitor.c
[13/26] Compiling x11_init.c
[14/26] Compiling posix_time.c
[15/26] Compiling posix_thread.c
[16/26] Compiling vulkan.c
[17/26] Compiling window.c
[18/26] Compiling osmesa_context.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.
[19/26] Compiling rmodels.c
[20/26] Compiling rtextures.c
[21/26] Compiling rcore.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.
[22/26] Compiling raudio.c
[24/59] Emitting module Raylib
/host/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)
                                                           ^
/host/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)
                                                            ^
[25/63] Compiling Raylib NPatchLayout.swift
[26/63] Compiling Raylib PixelFormat.swift
[27/63] Compiling Raylib ShaderLocationIndex.swift
[28/63] Compiling Raylib ShaderUniformDataType.swift
[29/63] Compiling Raylib TextureFilter.swift
[30/63] Compiling Raylib ConfigFlags.swift
[31/63] Compiling Raylib CubemapLayout.swift
[32/63] Compiling Raylib FontType.swift
[33/63] Compiling Raylib GampadAxis.swift
[34/63] Compiling Raylib GampadButton.swift
[35/63] Compiling Raylib raylib_h_core.swift
/host/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)
                                                           ^
/host/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)
                                                            ^
[36/63] Compiling Raylib raylib_h_models.swift
/host/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)
                                                           ^
/host/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)
                                                            ^
[37/63] Compiling Raylib raylib_h_rcamera.swift
/host/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)
                                                           ^
/host/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)
                                                            ^
[38/63] Compiling Raylib raylib_h_rgestures.swift
/host/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)
                                                           ^
/host/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)
                                                            ^
[39/63] Compiling Raylib raylib_h_shapes.swift
[40/63] Compiling Raylib raylib_h_text.swift
[41/63] Compiling Raylib raylib_h_textures.swift
[42/63] Compiling Raylib raymath_h.swift
[43/63] Compiling Raylib Image.swift
[44/63] Compiling Raylib NPatchInfo.swift
[45/63] Compiling Raylib Texture.swift
[46/63] Compiling Raylib raylib_h_audio.swift
[47/63] Compiling Raylib Gestures.swift
[48/63] Compiling Raylib KeyboardKey.swift
[49/63] Compiling Raylib MaterialMapIndex.swift
[50/63] Compiling Raylib MouseButton.swift
[51/63] Compiling Raylib MouseCursor.swift
[52/63] Compiling Raylib DeprectationsRaylib-4_0_0.swift
[53/63] Compiling Raylib BlendMode.swift
[54/63] Compiling Raylib CameraMode.swift
[55/63] Compiling Raylib CameraProjection.swift
[56/63] Compiling Raylib Color.swift
[57/63] Compiling Raylib TextureWrap.swift
[58/63] Compiling Raylib TraceLogLevel.swift
[59/63] Compiling Raylib SwiftRaylib.swift
[60/63] Compiling Raylib Camera.swift
[62/65] Wrapping AST for Raylib for debugging
[64/68] Compiling Example main.swift
[65/68] Compiling Example SnakeGame.swift
[66/68] Emitting module Example
[68/70] Wrapping AST for Example for debugging
[69/70] Linking Example
Build complete! (12.47s)
Build complete.
Done.

Build Machine: Linux 1