Building on odawa (from windows-server-2022-amd64-ocaml-4.14.2) 2024-12-05 04:17.01 ---> using "b1ae2ad36af625524288c188f7e099c501706c4119a38e11e1b5610819652cec" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (env CI true) /: (env OPAM_HEALTH_CHECK_CI true) /: (run (shell "ln -f /usr/bin/opam-dev.exe /usr/bin/opam.exe")) 2024-12-05 04:17.01 ---> using "4b57a7007c87218b9b3ddcf81f74c22338c638c8bcdfdaa01c2afa888290f021" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 7b39fc24f35789a44ca1b10fba811400a1a38dc2")) 2024-12-05 04:17.01 ---> using "1fa70879a3989bc87ff2603e8c30aec34bbee149790eb31cee3d3ea8f333f536" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare ~/opam-repository")) User configuration: Updating ~\.bash_profile. [NOTE] Make sure that ~\.bash_profile is well sourced in your ~/.bashrc. Added 9 lines after line 1 in ~\.bash_profile. 2024-12-05 04:17.01 ---> using "a44fd9db54a1fd4485fc88d814988380bda790033b1bd30688665a0c9afa6bd8" from cache /: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache"))) (network host) (shell "opam switch create --repositories=default 'default' 'ocaml-base-compiler.4.14.2'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.2"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed arch-x86_64.1 -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed host-arch-x86_64.1 -> installed host-system-mingw.1 -> retrieved flexdll.0.43 (cached) -> retrieved ocaml-config.3 (cached) -> installed flexdll.0.43 -> installed ocaml-options-vanilla.1 -> retrieved mingw-w64-shims.0.2.0 (cached) -> installed conf-mingw-w64-gcc-x86_64.1 -> installed ocaml-env-mingw64.1 -> installed system-mingw.1 -> retrieved ocaml-base-compiler.4.14.2 (cached) -> installed mingw-w64-shims.0.2.0 -> installed ocaml-base-compiler.4.14.2 -> installed ocaml-config.3 -> installed ocaml.4.14.2 Done. # To update the current shell environment, run: eval $(opam env --switch=default) 2024-12-05 04:17.01 ---> using "50443fc62a4a5e7822489f23be826973ddcaa6ceefa815ff6f46ab38d9b0ea2f" from cache /: (run (network host) (shell "opam update --depexts")) 2024-12-05 04:17.01 ---> using "77c80a9e19680355e3caf997a9bfea1b8c2253e9d66cc7326cdaf231bf4877da" from cache /: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache"))) (network host) (shell "\ \nopam remove -y \"raylib.1.3.1\"\ \nopam install -vy \"raylib.1.3.1\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"raylib.1.3.1\" | grep -q '\"windows-server-2022-amd64-ocaml-4.14.2\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) Nothing to do. [NOTE] raylib.1.3.1 is not installed. The following actions will be performed: === install 9 packages - install bigarray-compat 1.1.0 [required by ctypes] - install csexp 1.5.2 [required by dune-configurator] - install ctypes 0.23.0 [required by raylib] - install dune 3.16.1 [required by raylib] - install dune-configurator 3.16.1 [required by raylib] - install integers 0.7.0 [required by raylib] - install patch 2.0.0 [required by raylib] - install raylib 1.3.1 - install stdlib-shims 0.3.0 [required by integers] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/26: [bigarray-compat.1.1.0: extract] Processing 2/26: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] Processing 3/26: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.23.0: extract] -> retrieved bigarray-compat.1.1.0 (cached) Processing 3/26: [csexp.1.5.2: extract] [ctypes.0.23.0: extract] Processing 4/26: [csexp.1.5.2: extract] [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] -> retrieved csexp.1.5.2 (cached) Processing 4/26: [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] Processing 5/26: [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] [integers.0.7.0: extract] -> retrieved integers.0.7.0 (cached) Processing 5/26: [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] Processing 6/26: [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] [patch.2.0.0: http] -> retrieved ctypes.0.23.0 (cached) Processing 6/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [patch.2.0.0: http] Processing 7/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [patch.2.0.0: http] [raylib.1.3.1: http] Processing 7/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [patch.2.0.0: extract] [raylib.1.3.1: http] -> retrieved patch.2.0.0 (https://github.com/hannesm/patch/releases/download/v2.0.0/patch-2.0.0.tbz) Processing 7/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [raylib.1.3.1: http] Processing 8/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [raylib.1.3.1: http] [stdlib-shims.0.3.0: extract] Processing 8/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [raylib.1.3.1: extract] [stdlib-shims.0.3.0: extract] -> retrieved stdlib-shims.0.3.0 (cached) Processing 8/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [raylib.1.3.1: extract] -> retrieved raylib.1.3.1 (https://github.com/tjammer/raylib-ocaml/releases/download/1.3.1/raylib-1.3.1.tbz) Processing 8/26: [dune.3.16.1, dune-configurator.3.16.1: extract] -> retrieved dune.3.16.1, dune-configurator.3.16.1 (cached) Processing 9/26: [dune: ocaml 31] + C:\Users\opam\AppData\Local\opam\default\bin\ocaml.exe "boot/bootstrap.ml" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune.3.16.1) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - .\.duneboot.exe -j 31 - Processing 9/26: [dune: ./_boot/dune.exe build] + C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune.3.16.1\./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune.3.16.1) -> compiled dune.3.16.1 -> installed dune.3.16.1 Processing 11/26: [bigarray-compat: dune build] Processing 12/26: [bigarray-compat: dune build] [csexp: dune build] Processing 13/26: [bigarray-compat: dune build] [csexp: dune build] [patch: dune build] Processing 14/26: [bigarray-compat: dune build] [csexp: dune build] [patch: dune build] [stdlib-shims: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "csexp" "-j" "31" "@install" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\csexp.1.5.2) -> compiled csexp.1.5.2 Processing 14/26: [bigarray-compat: dune build] [patch: dune build] [stdlib-shims: dune build] -> installed csexp.1.5.2 Processing 15/26: [bigarray-compat: dune build] [patch: dune build] [stdlib-shims: dune build] Processing 16/26: [bigarray-compat: dune build] [dune-configurator: rm] [patch: dune build] [stdlib-shims: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "bigarray-compat" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\bigarray-compat.1.1.0) -> compiled bigarray-compat.1.1.0 Processing 16/26: [dune-configurator: rm] [patch: dune build] [stdlib-shims: dune build] -> installed bigarray-compat.1.1.0 Processing 17/26: [dune-configurator: rm] [patch: dune build] [stdlib-shims: dune build] + C:\cygwin64\bin\rm.exe "-rf" "vendor/csexp" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune-configurator.3.16.1) + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "patch" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\patch.2.0.0) -> compiled patch.2.0.0 Processing 17/26: [dune-configurator: rm] [stdlib-shims: dune build] -> installed patch.2.0.0 Processing 18/26: [dune-configurator: rm] [stdlib-shims: dune build] + C:\cygwin64\bin\rm.exe "-rf" "vendor/pp" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune-configurator.3.16.1) Processing 18/26: [dune-configurator: dune build] [stdlib-shims: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "stdlib-shims" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\stdlib-shims.0.3.0) -> compiled stdlib-shims.0.3.0 Processing 18/26: [dune-configurator: dune build] -> installed stdlib-shims.0.3.0 Processing 19/26: [dune-configurator: dune build] Processing 20/26: [dune-configurator: dune build] [integers: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "integers" "-j" "31" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\integers.0.7.0) -> compiled integers.0.7.0 Processing 20/26: [dune-configurator: dune build] -> installed integers.0.7.0 Processing 21/26: [dune-configurator: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "dune-configurator" "-j" "31" "@install" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\dune-configurator.3.16.1) -> compiled dune-configurator.3.16.1 -> installed dune-configurator.3.16.1 Processing 23/26: [ctypes: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "ctypes" "-j" "31" "--promote-install-files=false" "@install" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\ctypes.0.23.0) Processing 23/26: [ctypes: dune install] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "install" "-p" "ctypes" "--create-install-files" "ctypes" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\ctypes.0.23.0) -> compiled ctypes.0.23.0 -> installed ctypes.0.23.0 Processing 25/26: [raylib: dune build] + C:\Users\opam\AppData\Local\opam\default\bin\dune.exe "build" "-p" "raylib" "-j" "31" "@install" (CWD=C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\raylib.1.3.1) - (cd _build/default/src/c && ./apply_patch.exe enable_jpg.patch) - vendor/raylib/src/config.h - patching vendor/raylib/src/config.h - (cd _build/default/src/c && ./apply_patch.exe mingw64.patch) - vendor/raylib/src/Makefile - patching vendor/raylib/src/Makefile - (cd _build/default/src/c && C:\cygwin64\bin\make.exe -C vendor/raylib/src RAYLIB_LIBTYPE=STATIC -j 8) - make: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/raylib.1.3.1/_build/default/src/c/vendor/raylib/src' - x86_64-w64-mingw32-gcc -c rcore.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw - x86_64-w64-mingw32-gcc -c rshapes.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw - x86_64-w64-mingw32-gcc -c rtextures.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw - x86_64-w64-mingw32-gcc -c rtext.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw - x86_64-w64-mingw32-gcc -c utils.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw - x86_64-w64-mingw32-gcc -c rglfw.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw - x86_64-w64-mingw32-gcc -c rmodels.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw - x86_64-w64-mingw32-gcc -c raudio.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw - x86_64-w64-mingw32-ar rcs ../src/libraylib.a rcore.o rshapes.o rtextures.o rtext.o utils.o rglfw.o rmodels.o raudio.o - raylib static library generated (libraylib.a) in ../src! - make: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/raylib.1.3.1/_build/default/src/c/vendor/raylib/src' - In file included from rtextures.c:216: - external/stb_image_resize2.h:2866:14: warning: 'stbir__support_zero' defined but not used [-Wunused-function] - 2866 | static float stbir__support_zero(float s, void * user_data) - | ^~~~~~~~~~~~~~~~~~~ - external/stb_image_resize2.h:2503:13: warning: 'stbir_simd_memcpy' defined but not used [-Wunused-function] - 2503 | static void stbir_simd_memcpy( void * dest, void const * src, size_t bytes ) - | ^~~~~~~~~~~~~~~~~ - In file included from raudio.c:176: - external/miniaudio.h: In function 'ma_resource_manager_data_stream_fill_page': - external/miniaudio.h:69721:9: warning: 'rangeBeg' may be used uninitialized [-Wmaybe-uninitialized] - 69721 | ma_data_source_set_range_in_pcm_frames(&pDataStream->decoder, rangeBeg, rangeEnd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/miniaudio.h:69713:19: note: 'rangeBeg' was declared here - 69713 | ma_uint64 rangeBeg; - | ^~~~~~~~ - external/miniaudio.h:69721:9: warning: 'rangeEnd' may be used uninitialized [-Wmaybe-uninitialized] - 69721 | ma_data_source_set_range_in_pcm_frames(&pDataStream->decoder, rangeBeg, rangeEnd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/miniaudio.h:69714:19: note: 'rangeEnd' was declared here - 69714 | ma_uint64 rangeEnd; - | ^~~~~~~~ - external/miniaudio.h:69724:9: warning: 'loopPointEnd' may be used uninitialized [-Wmaybe-uninitialized] - 69724 | ma_data_source_set_loop_point_in_pcm_frames(&pDataStream->decoder, loopPointBeg, loopPointEnd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/miniaudio.h:69716:19: note: 'loopPointEnd' was declared here - 69716 | ma_uint64 loopPointEnd; - | ^~~~~~~~~~~~ - external/miniaudio.h:69724:9: warning: 'loopPointBeg' may be used uninitialized [-Wmaybe-uninitialized] - 69724 | ma_data_source_set_loop_point_in_pcm_frames(&pDataStream->decoder, loopPointBeg, loopPointEnd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/miniaudio.h:69715:19: note: 'loopPointBeg' was declared here - 69715 | ma_uint64 loopPointBeg; - | ^~~~~~~~~~~~ - In file included from raudio.c:238: - external/qoa.h: In function 'qoa_encode_frame': - external/qoa.h:455:45: warning: 'best_scalefactor' may be used uninitialized [-Wmaybe-uninitialized] - 455 | prev_scalefactor[c] = best_scalefactor; - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ - external/qoa.h:411:29: note: 'best_scalefactor' was declared here - 411 | int best_scalefactor; - | ^~~~~~~~~~~~~~~~ - external/qoa.h:466:36: warning: 'best_slice' may be used uninitialized [-Wmaybe-uninitialized] - 466 | best_slice <<= (QOA_SLICE_LEN - slice_len) * 3; - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/qoa.h:409:38: note: 'best_slice' was declared here - 409 | qoa_uint64_t best_slice; - | ^~~~~~~~~~ - (cd _build/default/src/c && C:\cygwin64\bin\make.exe -C vendor/raylib/src clean) - make: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/raylib.1.3.1/_build/default/src/c/vendor/raylib/src' - del *.o /s - Microsoft Windows [Version 10.0.20348.524] - (c) Microsoft Corporation. All rights reserved. - - opam@WIN-FUT6IE2UD9J C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\raylib.1.3.1\_build\default\src\c\vendor\raylib\src>cd ../src & \ - del libraylib.a /s & \ - del libraylibdll.a /s & \ - del raylib.dll /s & \ - del raygui.c /s & \ - - Microsoft Windows [Version 10.0.20348.524] - (c) Microsoft Corporation. All rights reserved. - - opam@WIN-FUT6IE2UD9J C:\Users\opam\AppData\Local\opam\default\.opam-switch\build\raylib.1.3.1\_build\default\src\c\vendor\raylib\src>removed all generated files! - make: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/raylib.1.3.1/_build/default/src/c/vendor/raylib/src' - (cd _build/default/src/c && C:\cygwin64\bin\make.exe -C vendor/raylib/src RAYLIB_LIBTYPE=SHARED -j 8) - make: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/raylib.1.3.1/_build/default/src/c/vendor/raylib/src' - x86_64-w64-mingw32-gcc -shared -o ../src/raylib.dll rcore.o rshapes.o rtextures.o rtext.o utils.o rglfw.o rmodels.o raudio.o -L. -L../src -Wl,--out-implib,../src/libraylibdll.a -static-libgcc -lopengl32 -lgdi32 -lwinmm - raylib dynamic library (raylib.dll) and import library (libraylibdll.a) generated! - make: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/default/.opam-switch/build/raylib.1.3.1/_build/default/src/c/vendor/raylib/src' - (cd _build/default/src/c && C:\Users\opam\AppData\Local\opam\default\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -g -I C:/Users/opam/AppData/Local/opam/default/lib/ocaml -I C:\Users\opam\AppData\Local\opam\default\lib\bigarray-compat -I C:\Users\opam\AppData\Local\opam\default\lib\ctypes -I C:\Users\opam\AppData\Local\opam\default\lib\ctypes\stubs -I C:\Users\opam\AppData\Local\opam\default\lib\integers -I C:\Users\opam\AppData\Local\opam\default\lib\stdlib-shims -I functions -I types -I vendor/raylib/src -o c_generated_functions.o -c c_generated_functions.c) - c_generated_functions.c: In function 'raylib_stub_46_GetClipboardText': - c_generated_functions.c:259:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 259 | char* x175 = GetClipboardText(); - | ^~~~~~~~~~~~~~~~ - c_generated_functions.c: In function 'raylib_stub_111_UnloadFileData': - c_generated_functions.c:693:19: warning: passing argument 1 of 'UnloadFileData' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 693 | UnloadFileData(x523); - | ^~~~ - In file included from c_generated_functions.c:1: - vendor/raylib/src/raylib.h:1099:42: note: expected 'unsigned char *' but argument is of type 'const char *' - 1099 | RLAPI void UnloadFileData(unsigned char *data); // Unload file data allocated by LoadFileData() - | ~~~~~~~~~~~~~~~^~~~ - c_generated_functions.c: In function 'raylib_stub_115_UnloadFileText': - c_generated_functions.c:721:19: warning: passing argument 1 of 'UnloadFileText' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 721 | UnloadFileText(x547); - | ^~~~ - vendor/raylib/src/raylib.h:1103:33: note: expected 'char *' but argument is of type 'const char *' - 1103 | RLAPI void UnloadFileText(char *text); // Unload file text data allocated by LoadFileText() - | ~~~~~~^~~~ - c_generated_functions.c: In function 'raylib_stub_116_SaveFileText': - c_generated_functions.c:728:36: warning: passing argument 2 of 'SaveFileText' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 728 | _Bool x553 = SaveFileText(x551, x552); - | ^~~~ - vendor/raylib/src/raylib.h:1104:53: note: expected 'char *' but argument is of type 'const char *' - 1104 | RLAPI bool SaveFileText(const char *fileName, char *text); // Save text data to file (write), string must be '\0' terminated, returns true on success - | ~~~~~~^~~~ - c_generated_functions.c: In function 'raylib_stub_393_TextCopy': - c_generated_functions.c:3552:25: warning: passing argument 1 of 'TextCopy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3552 | int x3584 = TextCopy(x3582, x3583); - | ^~~~~ - vendor/raylib/src/raylib.h:1463:26: note: expected 'char *' but argument is of type 'const char *' - 1463 | RLAPI int TextCopy(char *dst, const char *src); // Copy one string to another, returns bytes copied - | ~~~~~~^~~ - c_generated_functions.c: In function 'raylib_stub_397_TextReplace': - c_generated_functions.c:3581:36: warning: passing argument 1 of 'TextReplace' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3581 | char const* x3610 = TextReplace(x3607, x3608, x3609); - | ^~~~~ - vendor/raylib/src/raylib.h:1468:31: note: expected 'char *' but argument is of type 'const char *' - 1468 | RLAPI char *TextReplace(char *text, const char *replace, const char *by); // Replace text string (WARNING: memory must be freed!) - | ~~~~~~^~~~ - c_generated_functions.c: In function 'raylib_stub_399_TextAppend': - c_generated_functions.c:3597:15: warning: passing argument 1 of 'TextAppend' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3597 | TextAppend(x3623, x3624, x3625); - | ^~~~~ - vendor/raylib/src/raylib.h:1472:29: note: expected 'char *' but argument is of type 'const char *' - 1472 | RLAPI void TextAppend(char *text, const char *append, int *position); // Append text at specific position and move cursor! - | ~~~~~~^~~~ -> compiled raylib.1.3.1 -> installed raylib.1.3.1 Done. # To update the current shell environment, run: eval $(opam env) 2024-12-05 04:18.54 ---> saved as "aee3923222bcd06f497854c74816f3cfcbe76a1e96776b7bff4c91c3f5e881c6" Job succeeded