The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Raylib with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/STREGAsGate/Raylib.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/30] Compiling osmesa_context.c
[1/30] Compiling monitor.c
[2/30] Compiling linux_joystick.c
[3/30] Compiling glx_context.c
[4/30] Compiling utils.c
[5/30] Compiling init.c
[6/30] Write swift-version-24593BA9C3E375BF.txt
[7/30] Compiling input.c
[8/30] Compiling xkb_unicode.c
[9/30] Compiling rshapes.c
[10/30] Compiling rtext.c
[11/30] Compiling x11_monitor.c
[12/30] Compiling x11_init.c
[13/30] Compiling x11_window.c
[14/30] Compiling posix_time.c
[15/30] Compiling vulkan.c
[16/30] Compiling posix_thread.c
[16/30] Write sources
[19/30] Compiling egl_context.c
[20/30] Compiling window.c
[21/30] Compiling 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-const-int-float-conversion]
    float r = (float) rand() / RAND_MAX;
                             ~ ^~~~~~~~
/usr/include/stdlib.h:87:18: note: expanded from macro 'RAND_MAX'
#define RAND_MAX        2147483647
                        ^~~~~~~~~~
1 warning generated.
[22/30] Compiling rmodels.c
[23/30] Compiling rcore.c
[24/30] 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.
[25/30] Compiling raudio.c
[27/63] 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)
                                                            ^
[28/67] Compiling Raylib NPatchLayout.swift
[29/67] Compiling Raylib PixelFormat.swift
[30/67] Compiling Raylib ShaderLocationIndex.swift
[31/67] Compiling Raylib ShaderUniformDataType.swift
[32/67] Compiling Raylib TextureFilter.swift
[33/67] Compiling Raylib ConfigFlags.swift
[34/67] Compiling Raylib CubemapLayout.swift
[35/67] Compiling Raylib FontType.swift
[36/67] Compiling Raylib GampadAxis.swift
[37/67] Compiling Raylib GampadButton.swift
[38/67] 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)
                                                            ^
[39/67] 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)
                                                            ^
[40/67] 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)
                                                            ^
[41/67] 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)
                                                            ^
[42/67] Compiling Raylib raylib_h_shapes.swift
[43/67] Compiling Raylib raylib_h_text.swift
[44/67] Compiling Raylib raylib_h_textures.swift
[45/67] Compiling Raylib raymath_h.swift
[46/67] Compiling Raylib DeprectationsRaylib-4_0_0.swift
[47/67] Compiling Raylib BlendMode.swift
[48/67] Compiling Raylib CameraMode.swift
[49/67] Compiling Raylib CameraProjection.swift
[50/67] Compiling Raylib Color.swift
[51/67] Compiling Raylib Gestures.swift
[52/67] Compiling Raylib KeyboardKey.swift
[53/67] Compiling Raylib MaterialMapIndex.swift
[54/67] Compiling Raylib MouseButton.swift
[55/67] Compiling Raylib MouseCursor.swift
[56/67] Compiling Raylib TextureWrap.swift
[57/67] Compiling Raylib TraceLogLevel.swift
[58/67] Compiling Raylib SwiftRaylib.swift
[59/67] Compiling Raylib Camera.swift
[60/67] Compiling Raylib Image.swift
[61/67] Compiling Raylib NPatchInfo.swift
[62/67] Compiling Raylib Texture.swift
[63/67] Compiling Raylib raylib_h_audio.swift
[64/68] Wrapping AST for Raylib for debugging
[66/71] Compiling Example main.swift
[67/71] Emitting module Example
[68/71] Compiling Example SnakeGame.swift
[69/72] Wrapping AST for Example for debugging
[70/72] Write Objects.LinkFileList
[71/72] Linking Example
Build complete! (11.71s)
Build complete.
Done.

Build Machine: Linux 1