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-4609320-1":/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: master
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
 * 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:         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-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/31] Compiling linux_joystick.c
[1/31] Compiling monitor.c
[2/31] Compiling init.c
[3/31] Compiling glx_context.c
[4/31] Compiling egl_context.c
[5/31] Compiling utils.c
[6/31] Compiling input.c
[7/31] Write swift-version-24593BA9C3E375BF.txt
[8/31] Compiling x11_window.c
[9/31] Compiling rshapes.c
[10/31] Compiling xkb_unicode.c
[11/31] Compiling x11_monitor.c
[12/31] Compiling rtext.c
[13/31] Compiling x11_init.c
[14/31] Compiling vulkan.c
[14/31] Compiling window.c
[16/31] Compiling posix_time.c
[17/31] Compiling posix_thread.c
[17/31] Write sources
[20/31] Compiling context.c
[21/31] Compiling osmesa_context.c
[22/31] 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-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.
[23/31] Compiling rmodels.c
[24/31] Compiling rtextures.c
[25/31] 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.
[26/31] Compiling raudio.c
[28/66] 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)
                                                           ^
[29/70] Compiling Raylib ConfigFlags.swift
[30/70] Compiling Raylib CubemapLayout.swift
[31/70] Compiling Raylib FontType.swift
[32/70] Compiling Raylib GampadAxis.swift
[33/70] Compiling Raylib GampadButton.swift
[34/70] Compiling Raylib DeprectationsRaylib-4_0_0.swift
[35/70] Compiling Raylib BlendMode.swift
[36/70] Compiling Raylib CameraMode.swift
[37/70] Compiling Raylib CameraProjection.swift
[38/70] Compiling Raylib Color.swift
[39/70] Compiling Raylib raylib_h_shapes.swift
[40/70] Compiling Raylib raylib_h_text.swift
[41/70] Compiling Raylib raylib_h_textures.swift
[42/70] Compiling Raylib raymath_h.swift
[43/70] 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)
                                                           ^
[44/70] 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)
                                                           ^
[45/70] 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)
                                                           ^
[46/70] 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)
                                                           ^
[47/70] Compiling Raylib TextureWrap.swift
[48/70] Compiling Raylib TraceLogLevel.swift
[49/70] Compiling Raylib easings_h.swift
[50/70] Compiling Raylib raygui_h.swift
[51/70] Compiling Raylib SwiftRaylib.swift
[52/70] Compiling Raylib Gestures.swift
[53/70] Compiling Raylib KeyboardKey.swift
[54/70] Compiling Raylib MaterialMapIndex.swift
[55/70] Compiling Raylib MouseButton.swift
[56/70] Compiling Raylib MouseCursor.swift
[57/70] Compiling Raylib NPatchLayout.swift
[58/70] Compiling Raylib PixelFormat.swift
[59/70] Compiling Raylib ShaderLocationIndex.swift
[60/70] Compiling Raylib ShaderUniformDataType.swift
[61/70] Compiling Raylib TextureFilter.swift
[62/70] Compiling Raylib Camera.swift
[63/70] Compiling Raylib Image.swift
[64/70] Compiling Raylib NPatchInfo.swift
[65/70] Compiling Raylib Texture.swift
[66/70] Compiling Raylib raylib_h_audio.swift
[67/71] Wrapping AST for Raylib for debugging
[69/74] Compiling Example main.swift
[70/74] Emitting module Example
[71/74] Compiling Example SnakeGame.swift
[72/75] Wrapping AST for Example for debugging
[73/75] Write Objects.LinkFileList
[74/75] Linking Example
Build complete! (15.61s)
Build complete.
Done.

Build Machine: Linux 2