OCamllabs icon Home|Differences with the last checks|Previous runs


Building on doris.caelum.ci.dev

(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
7f7d5c240a4a: Pulling fs layer
7f7d5c240a4a: Verifying Checksum
7f7d5c240a4a: Download complete
7f7d5c240a4a: Pull complete
Digest: sha256:81ff3a8ed6b61297aaebfb477e71e1e69be937d68ac0f11bc75b0a2271c50cdd
Status: Downloaded newer image for ocaml/opam:debian-unstable
2025-01-01 15:42.33 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" 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 "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-01-01 15:42.33 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" 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 2d85539cd05071ec4f91d6c4ee35d2adc44aa283"))
2025-01-01 15:42.33 ---> using "c3dc34689001c88c5c748166aac21d000b27417b693a8a050c46c712e4c6f12f" from cache

/: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.


<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised

User configuration:
  ~/.profile is already up-to-date.
[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.

2025-01-01 15:42.33 ---> using "5a348168a87ee09c4f105e0c0448a2ea8bfb106cbf2d1e7ff2090f1392205351" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=default '4.13' '4.13.1'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.13.1"} | "ocaml-system" {= "4.13.1"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.2  (cached)
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.4.13.1  (cached)
-> installed ocaml-base-compiler.4.13.1
-> installed ocaml-config.2
-> installed ocaml.4.13.1
Done.
# To update the current shell environment, run: eval $(opam env --switch=4.13)
2025-01-01 15:42.33 ---> using "521926dc79a97683ef70d2a3ad555630f79093c4d503f1cb87a5740622a8b754" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [205 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-01-01-0804.38-F-2024-12-27-1406.27.pdiff [468 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-01-01-0804.38-F-2024-12-27-1406.27.pdiff [468 kB]
- Fetched 737 kB in 2s (455 kB/s)
- Reading package lists...
- 
2025-01-01 15:42.33 ---> using "d5ace38b3bf6c2e46a1faed1cf8c4a120905dcd8612d75609c789220967b9088" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "\
               \nopam remove -y \"binaryen.0.1.0\"\
               \nopam install -vy \"binaryen.0.1.0\"\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: \"binaryen.0.1.0\" | grep -q '\"debian-unstable\"'; 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"))
[NOTE] binaryen.0.1.0 is not installed.

Nothing to do.
The following actions will be performed:
=== install 4 packages
  - install binaryen      0.1.0
  - install conf-cmake    1      [required by binaryen]
  - install conf-python-3 9.0.0  [required by binaryen]
  - install dune          3.17.1 [required by binaryen]

The following system packages will first need to be installed:
    cmake python3

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "cmake" "python3"
- Selecting previously unselected package libpython3.12-minimal:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19805 files and directories currently installed.)
- Preparing to unpack .../libpython3.12-minimal_3.12.8-3_amd64.deb ...
- Unpacking libpython3.12-minimal:amd64 (3.12.8-3) ...
- Selecting previously unselected package python3.12-minimal.
- Preparing to unpack .../python3.12-minimal_3.12.8-3_amd64.deb ...
- Unpacking python3.12-minimal (3.12.8-3) ...
- Setting up libpython3.12-minimal:amd64 (3.12.8-3) ...
- Setting up python3.12-minimal (3.12.8-3) ...
- Selecting previously unselected package python3-minimal.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20116 files and directories currently installed.)
- Preparing to unpack .../0-python3-minimal_3.12.8-1_amd64.deb ...
- Unpacking python3-minimal (3.12.8-1) ...
- Selecting previously unselected package media-types.
- Preparing to unpack .../1-media-types_10.1.0_all.deb ...
- Unpacking media-types (10.1.0) ...
- Selecting previously unselected package libtirpc-common.
- Preparing to unpack .../2-libtirpc-common_1.3.4+ds-1.3_all.deb ...
- Unpacking libtirpc-common (1.3.4+ds-1.3) ...
- Selecting previously unselected package libtirpc3t64:amd64.
- Preparing to unpack .../3-libtirpc3t64_1.3.4+ds-1.3+b1_amd64.deb ...
- Adding 'diversion of /lib/x86_64-linux-gnu/libtirpc.so.3 to /lib/x86_64-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64'
- Adding 'diversion of /lib/x86_64-linux-gnu/libtirpc.so.3.0.0 to /lib/x86_64-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64'
- Unpacking libtirpc3t64:amd64 (1.3.4+ds-1.3+b1) ...
- Selecting previously unselected package libnsl2:amd64.
- Preparing to unpack .../4-libnsl2_1.3.0-3+b3_amd64.deb ...
- Unpacking libnsl2:amd64 (1.3.0-3+b3) ...
- Selecting previously unselected package libpython3.12-stdlib:amd64.
- Preparing to unpack .../5-libpython3.12-stdlib_3.12.8-3_amd64.deb ...
- Unpacking libpython3.12-stdlib:amd64 (3.12.8-3) ...
- Selecting previously unselected package python3.12.
- Preparing to unpack .../6-python3.12_3.12.8-3_amd64.deb ...
- Unpacking python3.12 (3.12.8-3) ...
- Selecting previously unselected package libpython3-stdlib:amd64.
- Preparing to unpack .../7-libpython3-stdlib_3.12.8-1_amd64.deb ...
- Unpacking libpython3-stdlib:amd64 (3.12.8-1) ...
- Setting up python3-minimal (3.12.8-1) ...
- Selecting previously unselected package python3.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20582 files and directories currently installed.)
- Preparing to unpack .../0-python3_3.12.8-1_amd64.deb ...
- Unpacking python3 (3.12.8-1) ...
- Selecting previously unselected package cmake-data.
- Preparing to unpack .../1-cmake-data_3.31.2-1_all.deb ...
- Unpacking cmake-data (3.31.2-1) ...
- Selecting previously unselected package libicu72:amd64.
- Preparing to unpack .../2-libicu72_72.1-5+b1_amd64.deb ...
- Unpacking libicu72:amd64 (72.1-5+b1) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../3-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_amd64.deb ...
- Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ...
- Selecting previously unselected package libarchive13t64:amd64.
- Preparing to unpack .../4-libarchive13t64_3.7.4-1.1_amd64.deb ...
- Unpacking libarchive13t64:amd64 (3.7.4-1.1) ...
- Selecting previously unselected package libcurl4t64:amd64.
- Preparing to unpack .../5-libcurl4t64_8.11.1-1_amd64.deb ...
- Unpacking libcurl4t64:amd64 (8.11.1-1) ...
- Selecting previously unselected package libjsoncpp26:amd64.
- Preparing to unpack .../6-libjsoncpp26_1.9.6-3_amd64.deb ...
- Unpacking libjsoncpp26:amd64 (1.9.6-3) ...
- Selecting previously unselected package librhash1:amd64.
- Preparing to unpack .../7-librhash1_1.4.5-1_amd64.deb ...
- Unpacking librhash1:amd64 (1.4.5-1) ...
- Selecting previously unselected package libuv1t64:amd64.
- Preparing to unpack .../8-libuv1t64_1.48.0-7_amd64.deb ...
- Unpacking libuv1t64:amd64 (1.48.0-7) ...
- Selecting previously unselected package cmake.
- Preparing to unpack .../9-cmake_3.31.2-1_amd64.deb ...
- Unpacking cmake (3.31.2-1) ...
- Setting up media-types (10.1.0) ...
- Setting up libicu72:amd64 (72.1-5+b1) ...
- Setting up libcurl4t64:amd64 (8.11.1-1) ...
- Setting up libtirpc-common (1.3.4+ds-1.3) ...
- Setting up libuv1t64:amd64 (1.48.0-7) ...
- Setting up libjsoncpp26:amd64 (1.9.6-3) ...
- Setting up cmake-data (3.31.2-1) ...
- Setting up librhash1:amd64 (1.4.5-1) ...
- Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ...
- Setting up libtirpc3t64:amd64 (1.3.4+ds-1.3+b1) ...
- Setting up libnsl2:amd64 (1.3.0-3+b3) ...
- Setting up libarchive13t64:amd64 (3.7.4-1.1) ...
- Setting up libpython3.12-stdlib:amd64 (3.12.8-3) ...
- Setting up python3.12 (3.12.8-3) ...
- Setting up cmake (3.31.2-1) ...
- Setting up libpython3-stdlib:amd64 (3.12.8-1) ...
- Setting up python3 (3.12.8-1) ...
- running python rtupdate hooks for python3.12...
- running python post-rtupdate hooks for python3.12...
- Processing triggers for libc-bin (2.40-4) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/12: [binaryen.0.1.0: http]
-> retrieved conf-cmake.1  (cached)
Processing  2/12: [binaryen.0.1.0: http]
-> retrieved conf-python-3.9.0.0  (cached)
Processing  3/12: [binaryen.0.1.0: http]
Processing  4/12: [binaryen.0.1.0: http] [dune.3.17.1: extract]
Processing  5/12: [binaryen.0.1.0: http] [dune.3.17.1: extract] [conf-cmake: sh configure.sh]
Processing  6/12: [binaryen.0.1.0: http] [dune.3.17.1: extract] [conf-cmake: sh configure.sh] [conf-python-3: python3 test.py]
Processing  6/12: [binaryen.0.1.0: extract] [dune.3.17.1: extract] [conf-cmake: sh configure.sh] [conf-python-3: python3 test.py]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-ex" "configure.sh" (CWD=/home/opam/.opam/4.13/.opam-switch/build/conf-cmake.1)
- + command -v cmake3
- + command -v cmake
- /usr/bin/cmake
- + cmake_cmd=cmake
- + echo cmd: "cmake"
-> compiled  conf-cmake.1
Processing  6/12: [binaryen.0.1.0: extract] [dune.3.17.1: extract] [conf-python-3: python3 test.py]
-> installed conf-cmake.1
Processing  7/12: [binaryen.0.1.0: extract] [dune.3.17.1: extract] [conf-python-3: python3 test.py]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "python3" "test.py" (CWD=/home/opam/.opam/4.13/.opam-switch/build/conf-python-3.9.0.0)
- python-3 OK
-> compiled  conf-python-3.9.0.0
Processing  7/12: [binaryen.0.1.0: extract] [dune.3.17.1: extract]
-> installed conf-python-3.9.0.0
Processing  8/12: [binaryen.0.1.0: extract] [dune.3.17.1: extract]
-> retrieved dune.3.17.1  (cached)
Processing  8/12: [binaryen.0.1.0: extract]
Processing  9/12: [binaryen.0.1.0: extract] [dune: ocaml 255]
-> retrieved binaryen.0.1.0  (https://github.com/grain-lang/binaryen.ml/releases/download/v0.1.0/binaryen-archive-v0.1.0.tar.gz)
Processing  9/12: [dune: ocaml 255]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "255" (CWD=/home/opam/.opam/4.13/.opam-switch/build/dune.3.17.1)
- ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 255
- 

Processing  9/12: [dune: ./_boot/dune.exe build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./_boot/dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "255" (CWD=/home/opam/.opam/4.13/.opam-switch/build/dune.3.17.1)
-> compiled  dune.3.17.1
-> installed dune.3.17.1
Processing 11/12: [binaryen: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "binaryen" "-j" "255" "--no-buffer" (CWD=/home/opam/.opam/4.13/.opam-switch/build/binaryen.0.1.0)
- CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
-   Compatibility with CMake < 3.10 will be removed from a future version of
-   CMake.
- 
-   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
-   to tell CMake that the project requires at least <min> but has been updated
-   to work with policies introduced by <max> or earlier.
- 
- 
- In file included from binaryen_stubs_expressions.c:2:
- binaryen_stubs_expressions.c: In function 'caml_binaryen_block':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_expressions.c:21:16: note: in expansion of macro 'String_val'
-    21 |   char* name = String_val(_name);
-       |                ^~~~~~~~~~
- binaryen_stubs_expressions.c: In function 'caml_binaryen_loop':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_expressions.c:47:16: note: in expansion of macro 'String_val'
-    47 |   char* name = String_val(_name);
-       |                ^~~~~~~~~~
- binaryen_stubs_expressions.c: In function 'caml_binaryen_break':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_expressions.c:57:16: note: in expansion of macro 'String_val'
-    57 |   char* name = String_val(_name);
-       |                ^~~~~~~~~~
- binaryen_stubs_expressions.c: In function 'caml_binaryen_switch':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_expressions.c:74:23: note: in expansion of macro 'String_val'
-    74 |   char* defaultName = String_val(_defaultName);
-       |                       ^~~~~~~~~~
- binaryen_stubs_expressions.c: In function 'caml_binaryen_call':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_expressions.c:85:16: note: in expansion of macro 'String_val'
-    85 |   char* name = String_val(_name);
-       |                ^~~~~~~~~~
- binaryen_stubs_expressions.c: In function 'caml_binaryen_return_call':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_expressions.c:118:16: note: in expansion of macro 'String_val'
-   118 |   char* name = String_val(_name);
-       |                ^~~~~~~~~~
- binaryen_stubs_expressions.c: In function 'caml_binaryen_global_get':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_expressions.c:182:16: note: in expansion of macro 'String_val'
-   182 |   char* name = String_val(_name);
-       |                ^~~~~~~~~~
- binaryen_stubs_expressions.c: In function 'caml_binaryen_global_set':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_expressions.c:192:16: note: in expansion of macro 'String_val'
-   192 |   char* name = String_val(_name);
-       |                ^~~~~~~~~~
- In file included from binaryen_stubs_globals.c:2:
- binaryen_stubs_globals.c: In function 'caml_binaryen_add_global':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_globals.c:21:16: note: in expansion of macro 'String_val'
-    21 |   char* name = String_val(_name);
-       |                ^~~~~~~~~~
- binaryen_stubs_globals.c: In function 'caml_binaryen_get_global':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_globals.c:33:16: note: in expansion of macro 'String_val'
-    33 |   char* name = String_val(_name);
-       |                ^~~~~~~~~~
- binaryen_stubs_globals.c: In function 'caml_binaryen_remove_global':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_globals.c:42:16: note: in expansion of macro 'String_val'
-    42 |   char* name = String_val(_name);
-       |                ^~~~~~~~~~
- In file included from binaryen_stubs_imports.c:2:
- binaryen_stubs_imports.c: In function 'caml_binaryen_add_function_import':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_imports.c:14:24: note: in expansion of macro 'String_val'
-    14 |   char* internalName = String_val(_internalName);
-       |                        ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_imports.c:15:30: note: in expansion of macro 'String_val'
-    15 |   char* externalModuleName = String_val(_externalModuleName);
-       |                              ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_imports.c:16:28: note: in expansion of macro 'String_val'
-    16 |   char* externalBaseName = String_val(_externalBaseName);
-       |                            ^~~~~~~~~~
- binaryen_stubs_imports.c: In function 'caml_binaryen_add_table_import':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_imports.c:31:24: note: in expansion of macro 'String_val'
-    31 |   char* internalName = String_val(_internalName);
-       |                        ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_imports.c:32:30: note: in expansion of macro 'String_val'
-    32 |   char* externalModuleName = String_val(_externalModuleName);
-       |                              ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_imports.c:33:28: note: in expansion of macro 'String_val'
-    33 |   char* externalBaseName = String_val(_externalBaseName);
-       |                            ^~~~~~~~~~
- binaryen_stubs_imports.c: In function 'caml_binaryen_add_memory_import':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_imports.c:42:24: note: in expansion of macro 'String_val'
-    42 |   char* internalName = String_val(_internalName);
-       |                        ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_imports.c:43:30: note: in expansion of macro 'String_val'
-    43 |   char* externalModuleName = String_val(_externalModuleName);
-       |                              ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_imports.c:44:28: note: in expansion of macro 'String_val'
-    44 |   char* externalBaseName = String_val(_externalBaseName);
-       |                            ^~~~~~~~~~
- binaryen_stubs_imports.c: In function 'caml_binaryen_add_global_import':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_imports.c:55:24: note: in expansion of macro 'String_val'
-    55 |   char* internalName = String_val(_internalName);
-       |                        ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_imports.c:56:30: note: in expansion of macro 'String_val'
-    56 |   char* externalModuleName = String_val(_externalModuleName);
-       |                              ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_imports.c:57:28: note: in expansion of macro 'String_val'
-    57 |   char* externalBaseName = String_val(_externalBaseName);
-       |                            ^~~~~~~~~~
- In file included from binaryen_stubs_imports.c:7:
- ocaml_helpers.h: At top level:
- ocaml_helpers.h:11:33: warning: 'binaryen_ops' defined but not used [-Wunused-variable]
-    11 | static struct custom_operations binaryen_ops;
-       |                                 ^~~~~~~~~~~~
- In file included from binaryen_stubs_memory.c:2:
- binaryen_stubs_memory.c: In function 'caml_binaryen_set_memory':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_memory.c:16:22: note: in expansion of macro 'String_val'
-    16 |   char* exportName = String_val(_exportName);
-       |                      ^~~~~~~~~~
- In file included from binaryen_stubs_memory.c:7:
- ocaml_helpers.h: At top level:
- ocaml_helpers.h:11:33: warning: 'binaryen_ops' defined but not used [-Wunused-variable]
-    11 | static struct custom_operations binaryen_ops;
-       |                                 ^~~~~~~~~~~~
- In file included from binaryen_stubs_function_tables.c:7:
- ocaml_helpers.h:11:33: warning: 'binaryen_ops' defined but not used [-Wunused-variable]
-    11 | static struct custom_operations binaryen_ops;
-       |                                 ^~~~~~~~~~~~
- In file included from binaryen_stubs_exports.c:2:
- binaryen_stubs_exports.c: In function 'caml_binaryen_add_function_export':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_exports.c:21:24: note: in expansion of macro 'String_val'
-    21 |   char* internalName = String_val(_internalName);
-       |                        ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_exports.c:22:24: note: in expansion of macro 'String_val'
-    22 |   char* externalName = String_val(_externalName);
-       |                        ^~~~~~~~~~
- binaryen_stubs_exports.c: In function 'caml_binaryen_add_table_export':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_exports.c:31:24: note: in expansion of macro 'String_val'
-    31 |   char* internalName = String_val(_internalName);
-       |                        ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_exports.c:32:24: note: in expansion of macro 'String_val'
-    32 |   char* externalName = String_val(_externalName);
-       |                        ^~~~~~~~~~
- binaryen_stubs_exports.c: In function 'caml_binaryen_add_memory_export':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_exports.c:41:24: note: in expansion of macro 'String_val'
-    41 |   char* internalName = String_val(_internalName);
-       |                        ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_exports.c:42:24: note: in expansion of macro 'String_val'
-    42 |   char* externalName = String_val(_externalName);
-       |                        ^~~~~~~~~~
- binaryen_stubs_exports.c: In function 'caml_binaryen_add_global_export':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_exports.c:51:24: note: in expansion of macro 'String_val'
-    51 |   char* internalName = String_val(_internalName);
-       |                        ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_exports.c:52:24: note: in expansion of macro 'String_val'
-    52 |   char* externalName = String_val(_externalName);
-       |                        ^~~~~~~~~~
- binaryen_stubs_exports.c: In function 'caml_binaryen_remove_export':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_exports.c:61:24: note: in expansion of macro 'String_val'
-    61 |   char* externalName = String_val(_externalName);
-       |                        ^~~~~~~~~~
- In file included from binaryen_stubs_functions.c:2:
- binaryen_stubs_functions.c: In function 'caml_binaryen_add_function':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_functions.c:22:16: note: in expansion of macro 'String_val'
-    22 |   char* name = String_val(_name);
-       |                ^~~~~~~~~~
- binaryen_stubs_functions.c: In function 'caml_binaryen_get_function':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_functions.c:43:16: note: in expansion of macro 'String_val'
-    43 |   char* name = String_val(_name);
-       |                ^~~~~~~~~~
- binaryen_stubs_functions.c: In function 'caml_binaryen_remove_function':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_functions.c:52:16: note: in expansion of macro 'String_val'
-    52 |   char* name = String_val(_name);
-       |                ^~~~~~~~~~
- -- The C compiler identification is GNU 14.2.0
- In file included from binaryen_stubs_modules.c:2:
- binaryen_stubs_modules.c: In function 'caml_binaryen_module_read':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- binaryen_stubs_modules.c:252:17: note: in expansion of macro 'String_val'
-   252 |   char* bytes = String_val(_bytes);
-       |                 ^~~~~~~~~~
- ocaml_helpers.c:9:33: warning: 'binaryen_ops' defined but not used [-Wunused-variable]
-     9 | static struct custom_operations binaryen_ops = {
-       |                                 ^~~~~~~~~~~~
- -- The CXX compiler identification is GNU 14.2.0
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Check for working C compiler: /usr/bin/cc - skipped
- -- Detecting C compile features
- -- Detecting C compile features - done
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Check for working CXX compiler: /usr/bin/c++ - skipped
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
- -- No build type selected, default to Release
- -- Building with -DBUILD_LLVM_DWARF
- -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
- -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
- -- Found Threads: TRUE
- -- Building with -std=c++14
- -- Building with -Wall
- -- Building with -Werror
- -- Building with -Wextra
- -- Building with -Wno-unused-parameter
- -- Building with -fno-omit-frame-pointer
- -- Building with -Wno-implicit-int-float-conversion
- -- Building with -Wno-unknown-warning-option
- -- Building with -Wswitch
- -- Building with -fPIC
- -- Building with -O2
- -- Building with -UNDEBUG
- CMake Warning (dev) at src/passes/CMakeLists.txt:2 (find_package):
-   Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
-   are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
-   the cmake_policy command to set the policy and suppress this warning.
- 
- This warning is for project developers.  Use -Wno-dev to suppress it.
- 
- -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.12.8", minimum required is "3.5")
- -- Building libbinaryen as statically linked library.
- -- Configuring done (2.3s)
- -- Generating done (0.2s)
- -- Build files have been written to: /home/opam/.opam/4.13/.opam-switch/build/binaryen.0.1.0/_build/default/src/binaryen
- [  1%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Binary.cpp.o
- [  2%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/ConvertUTF.cpp.o
- [  2%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DataExtractor.cpp.o
- [  3%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Debug.cpp.o
- [  3%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DJB.cpp.o
- [  4%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Dwarf.cpp.o
- [  4%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/dwarf2yaml.cpp.o
- [  5%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFAbbreviationDeclaration.cpp.o
- [  5%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFAcceleratorTable.cpp.o
- [  6%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFAddressRange.cpp.o
- [  6%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFCompileUnit.cpp.o
- [  7%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFContext.cpp.o
- [  7%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDataExtractor.cpp.o
- [  8%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugAbbrev.cpp.o
- [  8%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugAddr.cpp.o
- [  9%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugAranges.cpp.o
- [ 10%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugArangeSet.cpp.o
- [ 10%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugFrame.cpp.o
- [ 11%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugInfoEntry.cpp.o
- [ 11%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugLine.cpp.o
- [ 12%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugLoc.cpp.o
- [ 12%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugMacro.cpp.o
- [ 13%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugPubTable.cpp.o
- [ 13%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugRangeList.cpp.o
- [ 14%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugRnglists.cpp.o
- [ 14%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDie.cpp.o
- [ 15%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFEmitter.cpp.o
- [ 15%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFExpression.cpp.o
- [ 16%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFFormValue.cpp.o
- [ 16%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFGdbIndex.cpp.o
- [ 17%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFListTable.cpp.o
- [ 18%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFTypeUnit.cpp.o
- [ 18%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFUnit.cpp.o
- [ 19%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFUnitIndex.cpp.o
- [ 19%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFVerifier.cpp.o
- [ 20%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFVisitor.cpp.o
- [ 20%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFYAML.cpp.o
- [ 21%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Error.cpp.o
- [ 21%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/ErrorHandling.cpp.o
- [ 22%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/FormatVariadic.cpp.o
- [ 22%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Hashing.cpp.o
- [ 23%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/LEB128.cpp.o
- [ 23%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/LineIterator.cpp.o
- [ 24%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/MCRegisterInfo.cpp.o
- [ 24%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/MD5.cpp.o
- [ 25%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/MemoryBuffer.cpp.o
- [ 25%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/NativeFormatting.cpp.o
- [ 26%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/ObjectFile.cpp.o
- [ 27%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/obj2yaml_Error.cpp.o
- [ 27%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Optional.cpp.o
- [ 28%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Path.cpp.o
- [ 28%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/raw_ostream.cpp.o
- [ 29%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/ScopedPrinter.cpp.o
- [ 29%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/SmallVector.cpp.o
- [ 30%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/SourceMgr.cpp.o
- [ 30%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/StringMap.cpp.o
- [ 31%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/StringRef.cpp.o
- [ 31%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/SymbolicFile.cpp.o
- [ 32%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Twine.cpp.o
- [ 32%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/UnicodeCaseFold.cpp.o
- [ 33%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/WithColor.cpp.o
- [ 33%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/YAMLParser.cpp.o
- [ 34%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/YAMLTraits.cpp.o
- [ 34%] Built target llvm_dwarf
- [ 35%] Building CXX object src/ir/CMakeFiles/ir.dir/ExpressionAnalyzer.cpp.o
- [ 35%] Building CXX object src/ir/CMakeFiles/ir.dir/ExpressionManipulator.cpp.o
- [ 36%] Building CXX object src/ir/CMakeFiles/ir.dir/LocalGraph.cpp.o
- [ 36%] Building CXX object src/ir/CMakeFiles/ir.dir/ReFinalize.cpp.o
- [ 36%] Built target ir
- [ 36%] Building CXX object src/asmjs/CMakeFiles/asmjs.dir/asm_v_wasm.cpp.o
- [ 37%] Building CXX object src/asmjs/CMakeFiles/asmjs.dir/asmangle.cpp.o
- [ 37%] Building CXX object src/asmjs/CMakeFiles/asmjs.dir/shared-constants.cpp.o
- [ 37%] Built target asmjs
- [ 38%] Building CXX object src/cfg/CMakeFiles/cfg.dir/Relooper.cpp.o
- [ 38%] Built target cfg
- [ 38%] Building CXX object src/emscripten-optimizer/CMakeFiles/emscripten-optimizer.dir/optimizer-shared.cpp.o
- [ 39%] Building CXX object src/emscripten-optimizer/CMakeFiles/emscripten-optimizer.dir/parser.cpp.o
- [ 39%] Building CXX object src/emscripten-optimizer/CMakeFiles/emscripten-optimizer.dir/simple_ast.cpp.o
- [ 39%] Built target emscripten-optimizer
- [ 40%] Generating WasmIntrinsics.cpp
- [ 40%] Building CXX object src/passes/CMakeFiles/passes.dir/pass.cpp.o
- [ 41%] Building CXX object src/passes/CMakeFiles/passes.dir/AlignmentLowering.cpp.o
- [ 41%] Building CXX object src/passes/CMakeFiles/passes.dir/Asyncify.cpp.o
- /home/opam/.opam/4.13/.opam-switch/build/binaryen.0.1.0/_build/default/src/binaryen/src/passes/Asyncify.cpp: In member function 'wasm::Expression* wasm::{anonymous}::AsyncifyLocals::makeLocalLoading()':
- /home/opam/.opam/4.13/.opam-switch/build/binaryen.0.1.0/_build/default/src/binaryen/src/passes/Asyncify.cpp:1189:19: error: possibly dangling reference to a temporary [-Werror=dangling-reference]
-  1189 |       const auto& types = func->getLocalType(i).expand();
-       |                   ^~~~~
- /home/opam/.opam/4.13/.opam-switch/build/binaryen.0.1.0/_build/default/src/binaryen/src/passes/Asyncify.cpp:1189:55: note: the temporary was destroyed at the end of the full expression 'func->wasm::Function::getLocalType(i).wasm::Type::expand()'
-  1189 |       const auto& types = func->getLocalType(i).expand();
-       |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
[ERROR] The compilation of binaryen.0.1.0 failed at "dune build -p binaryen -j 255 --no-buffer".

#=== ERROR while compiling binaryen.0.1.0 =====================================#
# context              2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.4.13.1 | file:///home/opam/opam-repository
# path                 ~/.opam/4.13/.opam-switch/build/binaryen.0.1.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p binaryen -j 255 --no-buffer
# exit-code            1
# env-file             ~/.opam/log/binaryen-8-e0eae5.env
# output-file          ~/.opam/log/binaryen-8-e0eae5.out
### output ###
# CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
#   Compatibility with CMake < 3.10 will be removed from a future version of
#   CMake.
# 
#   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
#   to tell CMake that the project requires at least <min> but has been updated
#   to work with policies introduced by <max> or earlier.
# 
# 
# In file included from binaryen_stubs_expressions.c:2:
# binaryen_stubs_expressions.c: In function 'caml_binaryen_block':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_expressions.c:21:16: note: in expansion of macro 'String_val'
#    21 |   char* name = String_val(_name);
#       |                ^~~~~~~~~~
# binaryen_stubs_expressions.c: In function 'caml_binaryen_loop':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_expressions.c:47:16: note: in expansion of macro 'String_val'
#    47 |   char* name = String_val(_name);
#       |                ^~~~~~~~~~
# binaryen_stubs_expressions.c: In function 'caml_binaryen_break':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_expressions.c:57:16: note: in expansion of macro 'String_val'
#    57 |   char* name = String_val(_name);
#       |                ^~~~~~~~~~
# binaryen_stubs_expressions.c: In function 'caml_binaryen_switch':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_expressions.c:74:23: note: in expansion of macro 'String_val'
#    74 |   char* defaultName = String_val(_defaultName);
#       |                       ^~~~~~~~~~
# binaryen_stubs_expressions.c: In function 'caml_binaryen_call':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_expressions.c:85:16: note: in expansion of macro 'String_val'
#    85 |   char* name = String_val(_name);
#       |                ^~~~~~~~~~
# binaryen_stubs_expressions.c: In function 'caml_binaryen_return_call':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_expressions.c:118:16: note: in expansion of macro 'String_val'
#   118 |   char* name = String_val(_name);
#       |                ^~~~~~~~~~
# binaryen_stubs_expressions.c: In function 'caml_binaryen_global_get':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_expressions.c:182:16: note: in expansion of macro 'String_val'
#   182 |   char* name = String_val(_name);
#       |                ^~~~~~~~~~
# binaryen_stubs_expressions.c: In function 'caml_binaryen_global_set':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_expressions.c:192:16: note: in expansion of macro 'String_val'
#   192 |   char* name = String_val(_name);
#       |                ^~~~~~~~~~
# In file included from binaryen_stubs_globals.c:2:
# binaryen_stubs_globals.c: In function 'caml_binaryen_add_global':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_globals.c:21:16: note: in expansion of macro 'String_val'
#    21 |   char* name = String_val(_name);
#       |                ^~~~~~~~~~
# binaryen_stubs_globals.c: In function 'caml_binaryen_get_global':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_globals.c:33:16: note: in expansion of macro 'String_val'
#    33 |   char* name = String_val(_name);
#       |                ^~~~~~~~~~
# binaryen_stubs_globals.c: In function 'caml_binaryen_remove_global':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_globals.c:42:16: note: in expansion of macro 'String_val'
#    42 |   char* name = String_val(_name);
#       |                ^~~~~~~~~~
# In file included from binaryen_stubs_imports.c:2:
# binaryen_stubs_imports.c: In function 'caml_binaryen_add_function_import':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_imports.c:14:24: note: in expansion of macro 'String_val'
#    14 |   char* internalName = String_val(_internalName);
#       |                        ^~~~~~~~~~
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_imports.c:15:30: note: in expansion of macro 'String_val'
#    15 |   char* externalModuleName = String_val(_externalModuleName);
#       |                              ^~~~~~~~~~
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_imports.c:16:28: note: in expansion of macro 'String_val'
#    16 |   char* externalBaseName = String_val(_externalBaseName);
#       |                            ^~~~~~~~~~
# binaryen_stubs_imports.c: In function 'caml_binaryen_add_table_import':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_imports.c:31:24: note: in expansion of macro 'String_val'
#    31 |   char* internalName = String_val(_internalName);
#       |                        ^~~~~~~~~~
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_imports.c:32:30: note: in expansion of macro 'String_val'
#    32 |   char* externalModuleName = String_val(_externalModuleName);
#       |                              ^~~~~~~~~~
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_imports.c:33:28: note: in expansion of macro 'String_val'
#    33 |   char* externalBaseName = String_val(_externalBaseName);
#       |                            ^~~~~~~~~~
# binaryen_stubs_imports.c: In function 'caml_binaryen_add_memory_import':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_imports.c:42:24: note: in expansion of macro 'String_val'
#    42 |   char* internalName = String_val(_internalName);
#       |                        ^~~~~~~~~~
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_imports.c:43:30: note: in expansion of macro 'String_val'
#    43 |   char* externalModuleName = String_val(_externalModuleName);
#       |                              ^~~~~~~~~~
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_imports.c:44:28: note: in expansion of macro 'String_val'
#    44 |   char* externalBaseName = String_val(_externalBaseName);
#       |                            ^~~~~~~~~~
# binaryen_stubs_imports.c: In function 'caml_binaryen_add_global_import':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_imports.c:55:24: note: in expansion of macro 'String_val'
#    55 |   char* internalName = String_val(_internalName);
#       |                        ^~~~~~~~~~
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_imports.c:56:30: note: in expansion of macro 'String_val'
#    56 |   char* externalModuleName = String_val(_externalModuleName);
#       |                              ^~~~~~~~~~
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_imports.c:57:28: note: in expansion of macro 'String_val'
#    57 |   char* externalBaseName = String_val(_externalBaseName);
#       |                            ^~~~~~~~~~
# In file included from binaryen_stubs_imports.c:7:
# ocaml_helpers.h: At top level:
# ocaml_helpers.h:11:33: warning: 'binaryen_ops' defined but not used [-Wunused-variable]
#    11 | static struct custom_operations binaryen_ops;
#       |                                 ^~~~~~~~~~~~
# In file included from binaryen_stubs_memory.c:2:
# binaryen_stubs_memory.c: In function 'caml_binaryen_set_memory':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_memory.c:16:22: note: in expansion of macro 'String_val'
#    16 |   char* exportName = String_val(_exportName);
#       |                      ^~~~~~~~~~
# In file included from binaryen_stubs_memory.c:7:
# ocaml_helpers.h: At top level:
# ocaml_helpers.h:11:33: warning: 'binaryen_ops' defined but not used [-Wunused-variable]
#    11 | static struct custom_operations binaryen_ops;
#       |                                 ^~~~~~~~~~~~
# In file included from binaryen_stubs_function_tables.c:7:
# ocaml_helpers.h:11:33: warning: 'binaryen_ops' defined but not used [-Wunused-variable]
#    11 | static struct custom_operations binaryen_ops;
#       |                                 ^~~~~~~~~~~~
# In file included from binaryen_stubs_exports.c:2:
# binaryen_stubs_exports.c: In function 'caml_binaryen_add_function_export':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_exports.c:21:24: note: in expansion of macro 'String_val'
#    21 |   char* internalName = String_val(_internalName);
#       |                        ^~~~~~~~~~
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_exports.c:22:24: note: in expansion of macro 'String_val'
#    22 |   char* externalName = String_val(_externalName);
#       |                        ^~~~~~~~~~
# binaryen_stubs_exports.c: In function 'caml_binaryen_add_table_export':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_exports.c:31:24: note: in expansion of macro 'String_val'
#    31 |   char* internalName = String_val(_internalName);
#       |                        ^~~~~~~~~~
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_exports.c:32:24: note: in expansion of macro 'String_val'
#    32 |   char* externalName = String_val(_externalName);
#       |                        ^~~~~~~~~~
# binaryen_stubs_exports.c: In function 'caml_binaryen_add_memory_export':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_exports.c:41:24: note: in expansion of macro 'String_val'
#    41 |   char* internalName = String_val(_internalName);
#       |                        ^~~~~~~~~~
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_exports.c:42:24: note: in expansion of macro 'String_val'
#    42 |   char* externalName = String_val(_externalName);
#       |                        ^~~~~~~~~~
# binaryen_stubs_exports.c: In function 'caml_binaryen_add_global_export':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_exports.c:51:24: note: in expansion of macro 'String_val'
#    51 |   char* internalName = String_val(_internalName);
#       |                        ^~~~~~~~~~
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_exports.c:52:24: note: in expansion of macro 'String_val'
#    52 |   char* externalName = String_val(_externalName);
#       |                        ^~~~~~~~~~
# binaryen_stubs_exports.c: In function 'caml_binaryen_remove_export':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_exports.c:61:24: note: in expansion of macro 'String_val'
#    61 |   char* externalName = String_val(_externalName);
#       |                        ^~~~~~~~~~
# In file included from binaryen_stubs_functions.c:2:
# binaryen_stubs_functions.c: In function 'caml_binaryen_add_function':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_functions.c:22:16: note: in expansion of macro 'String_val'
#    22 |   char* name = String_val(_name);
#       |                ^~~~~~~~~~
# binaryen_stubs_functions.c: In function 'caml_binaryen_get_function':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_functions.c:43:16: note: in expansion of macro 'String_val'
#    43 |   char* name = String_val(_name);
#       |                ^~~~~~~~~~
# binaryen_stubs_functions.c: In function 'caml_binaryen_remove_function':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_functions.c:52:16: note: in expansion of macro 'String_val'
#    52 |   char* name = String_val(_name);
#       |                ^~~~~~~~~~
# -- The C compiler identification is GNU 14.2.0
# In file included from binaryen_stubs_modules.c:2:
# binaryen_stubs_modules.c: In function 'caml_binaryen_module_read':
# /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# binaryen_stubs_modules.c:252:17: note: in expansion of macro 'String_val'
#   252 |   char* bytes = String_val(_bytes);
#       |                 ^~~~~~~~~~
# ocaml_helpers.c:9:33: warning: 'binaryen_ops' defined but not used [-Wunused-variable]
#     9 | static struct custom_operations binaryen_ops = {
#       |                                 ^~~~~~~~~~~~
# -- The CXX compiler identification is GNU 14.2.0
# -- Detecting C compiler ABI info
# -- Detecting C compiler ABI info - done
# -- Check for working C compiler: /usr/bin/cc - skipped
# -- Detecting C compile features
# -- Detecting C compile features - done
# -- Detecting CXX compiler ABI info
# -- Detecting CXX compiler ABI info - done
# -- Check for working CXX compiler: /usr/bin/c++ - skipped
# -- Detecting CXX compile features
# -- Detecting CXX compile features - done
# -- No build type selected, default to Release
# -- Building with -DBUILD_LLVM_DWARF
# -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
# -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
# -- Found Threads: TRUE
# -- Building with -std=c++14
# -- Building with -Wall
# -- Building with -Werror
# -- Building with -Wextra
# -- Building with -Wno-unused-parameter
# -- Building with -fno-omit-frame-pointer
# -- Building with -Wno-implicit-int-float-conversion
# -- Building with -Wno-unknown-warning-option
# -- Building with -Wswitch
# -- Building with -fPIC
# -- Building with -O2
# -- Building with -UNDEBUG
# CMake Warning (dev) at src/passes/CMakeLists.txt:2 (find_package):
#   Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
#   are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
#   the cmake_policy command to set the policy and suppress this warning.
# 
# This warning is for project developers.  Use -Wno-dev to suppress it.
# 
# -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.12.8", minimum required is "3.5")
# -- Building libbinaryen as statically linked library.
# -- Configuring done (2.3s)
# -- Generating done (0.2s)
# -- Build files have been written to: /home/opam/.opam/4.13/.opam-switch/build/binaryen.0.1.0/_build/default/src/binaryen
# [  1%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Binary.cpp.o
# [  2%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/ConvertUTF.cpp.o
# [  2%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DataExtractor.cpp.o
# [  3%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Debug.cpp.o
# [  3%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DJB.cpp.o
# [  4%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Dwarf.cpp.o
# [  4%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/dwarf2yaml.cpp.o
# [  5%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFAbbreviationDeclaration.cpp.o
# [  5%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFAcceleratorTable.cpp.o
# [  6%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFAddressRange.cpp.o
# [  6%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFCompileUnit.cpp.o
# [  7%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFContext.cpp.o
# [  7%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDataExtractor.cpp.o
# [  8%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugAbbrev.cpp.o
# [  8%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugAddr.cpp.o
# [  9%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugAranges.cpp.o
# [ 10%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugArangeSet.cpp.o
# [ 10%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugFrame.cpp.o
# [ 11%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugInfoEntry.cpp.o
# [ 11%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugLine.cpp.o
# [ 12%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugLoc.cpp.o
# [ 12%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugMacro.cpp.o
# [ 13%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugPubTable.cpp.o
# [ 13%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugRangeList.cpp.o
# [ 14%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDebugRnglists.cpp.o
# [ 14%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFDie.cpp.o
# [ 15%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFEmitter.cpp.o
# [ 15%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFExpression.cpp.o
# [ 16%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFFormValue.cpp.o
# [ 16%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFGdbIndex.cpp.o
# [ 17%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFListTable.cpp.o
# [ 18%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFTypeUnit.cpp.o
# [ 18%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFUnit.cpp.o
# [ 19%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFUnitIndex.cpp.o
# [ 19%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFVerifier.cpp.o
# [ 20%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFVisitor.cpp.o
# [ 20%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/DWARFYAML.cpp.o
# [ 21%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Error.cpp.o
# [ 21%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/ErrorHandling.cpp.o
# [ 22%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/FormatVariadic.cpp.o
# [ 22%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Hashing.cpp.o
# [ 23%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/LEB128.cpp.o
# [ 23%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/LineIterator.cpp.o
# [ 24%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/MCRegisterInfo.cpp.o
# [ 24%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/MD5.cpp.o
# [ 25%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/MemoryBuffer.cpp.o
# [ 25%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/NativeFormatting.cpp.o
# [ 26%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/ObjectFile.cpp.o
# [ 27%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/obj2yaml_Error.cpp.o
# [ 27%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Optional.cpp.o
# [ 28%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Path.cpp.o
# [ 28%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/raw_ostream.cpp.o
# [ 29%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/ScopedPrinter.cpp.o
# [ 29%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/SmallVector.cpp.o
# [ 30%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/SourceMgr.cpp.o
# [ 30%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/StringMap.cpp.o
# [ 31%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/StringRef.cpp.o
# [ 31%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/SymbolicFile.cpp.o
# [ 32%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/Twine.cpp.o
# [ 32%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/UnicodeCaseFold.cpp.o
# [ 33%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/WithColor.cpp.o
# [ 33%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/YAMLParser.cpp.o
# [ 34%] Building CXX object third_party/llvm-project/CMakeFiles/llvm_dwarf.dir/YAMLTraits.cpp.o
# [ 34%] Built target llvm_dwarf
# [ 35%] Building CXX object src/ir/CMakeFiles/ir.dir/ExpressionAnalyzer.cpp.o
# [ 35%] Building CXX object src/ir/CMakeFiles/ir.dir/ExpressionManipulator.cpp.o
# [ 36%] Building CXX object src/ir/CMakeFiles/ir.dir/LocalGraph.cpp.o
# [ 36%] Building CXX object src/ir/CMakeFiles/ir.dir/ReFinalize.cpp.o
# [ 36%] Built target ir
# [ 36%] Building CXX object src/asmjs/CMakeFiles/asmjs.dir/asm_v_wasm.cpp.o
# [ 37%] Building CXX object src/asmjs/CMakeFiles/asmjs.dir/asmangle.cpp.o
# [ 37%] Building CXX object src/asmjs/CMakeFiles/asmjs.dir/shared-constants.cpp.o
# [ 37%] Built target asmjs
# [ 38%] Building CXX object src/cfg/CMakeFiles/cfg.dir/Relooper.cpp.o
# [ 38%] Built target cfg
# [ 38%] Building CXX object src/emscripten-optimizer/CMakeFiles/emscripten-optimizer.dir/optimizer-shared.cpp.o
# [ 39%] Building CXX object src/emscripten-optimizer/CMakeFiles/emscripten-optimizer.dir/parser.cpp.o
# [ 39%] Building CXX object src/emscripten-optimizer/CMakeFiles/emscripten-optimizer.dir/simple_ast.cpp.o
# [ 39%] Built target emscripten-optimizer
# [ 40%] Generating WasmIntrinsics.cpp
# [ 40%] Building CXX object src/passes/CMakeFiles/passes.dir/pass.cpp.o
# [ 41%] Building CXX object src/passes/CMakeFiles/passes.dir/AlignmentLowering.cpp.o
# [ 41%] Building CXX object src/passes/CMakeFiles/passes.dir/Asyncify.cpp.o
# /home/opam/.opam/4.13/.opam-switch/build/binaryen.0.1.0/_build/default/src/binaryen/src/passes/Asyncify.cpp: In member function 'wasm::Expression* wasm::{anonymous}::AsyncifyLocals::makeLocalLoading()':
# /home/opam/.opam/4.13/.opam-switch/build/binaryen.0.1.0/_build/default/src/binaryen/src/passes/Asyncify.cpp:1189:19: error: possibly dangling reference to a temporary [-Werror=dangling-reference]
#  1189 |       const auto& types = func->getLocalType(i).expand();
#       |                   ^~~~~
# /home/opam/.opam/4.13/.opam-switch/build/binaryen.0.1.0/_build/default/src/binaryen/src/passes/Asyncify.cpp:1189:55: note: the temporary was destroyed at the end of the full expression 'func->wasm::Function::getLocalType(i).wasm::Type::expand()'
#  1189 |       const auto& types = func->getLocalType(i).expand();
#       |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
# At global scope:
# cc1plus: note: unrecognized command-line option '-Wno-unknown-warning-option' may have been intended to silence earlier diagnostics
# cc1plus: note: unrecognized command-line option '-Wno-implicit-int-float-conversion' may have been intended to silence earlier diagnostics
# cc1plus: all warnings being treated as errors
# make[2]: *** [src/passes/CMakeFiles/passes.dir/build.make:112: src/passes/CMakeFiles/passes.dir/Asyncify.cpp.o] Error 1
# make[1]: *** [CMakeFiles/Makefile2:791: src/passes/CMakeFiles/passes.dir/all] Error 2
# make: *** [Makefile:146: all] Error 2
# File "src/dune", lines 2-11, characters 0-378:
#  2 | (rule
#  3 |  (deps (source_tree binaryen))
#  4 |  (targets libbinaryen.a dllbinaryen.so)
#  5 |  (action
#  6 |   (no-infer
#  7 |    (progn
#  8 |     (chdir binaryen (progn (run cmake -D BUILD_STATIC_LIB=ON .) (run make)))
#  9 |     (chdir binaryen/lib (run gcc -shared -o dllbinaryen.so libbinaryen.a -lstdc++))
# 10 |     (copy binaryen/lib/libbinaryen.a libbinaryen.a)
# 11 |     (copy binaryen/lib/dllbinaryen.so dllbinaryen.so)))))
# (cd _build/default/src/binaryen && /usr/bin/make)
# Command exited with code 2.

- At global scope:
- cc1plus: note: unrecognized command-line option '-Wno-unknown-warning-option' may have been intended to silence earlier diagnostics
- cc1plus: note: unrecognized command-line option '-Wno-implicit-int-float-conversion' may have been intended to silence earlier diagnostics
- cc1plus: all warnings being treated as errors
- make[2]: *** [src/passes/CMakeFiles/passes.dir/build.make:112: src/passes/CMakeFiles/passes.dir/Asyncify.cpp.o] Error 1
- make[1]: *** [CMakeFiles/Makefile2:791: src/passes/CMakeFiles/passes.dir/all] Error 2
- make: *** [Makefile:146: all] Error 2
- File "src/dune", lines 2-11, characters 0-378:
-  2 | (rule
-  3 |  (deps (source_tree binaryen))
-  4 |  (targets libbinaryen.a dllbinaryen.so)
-  5 |  (action
-  6 |   (no-infer
-  7 |    (progn
-  8 |     (chdir binaryen (progn (run cmake -D BUILD_STATIC_LIB=ON .) (run make)))
-  9 |     (chdir binaryen/lib (run gcc -shared -o dllbinaryen.so libbinaryen.a -lstdc++))
- 10 |     (copy binaryen/lib/libbinaryen.a libbinaryen.a)
- 11 |     (copy binaryen/lib/dllbinaryen.so dllbinaryen.so)))))
- (cd _build/default/src/binaryen && /usr/bin/make)
- Command exited with code 2.


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build binaryen 0.1.0
+- 
+- The following changes have been performed
| - install conf-cmake    1
| - install conf-python-3 9.0.0
| - install dune          3.17.1
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.13/.opam-switch/backup/state-20250101154234.export"
'opam install -vy binaryen.0.1.0' failed.
"/usr/bin/env" "bash" "-c" "
opam remove -y "binaryen.0.1.0"
opam install -vy "binaryen.0.1.0"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "binaryen.0.1.0" | grep -q '"debian-unstable"'; then
        echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field."
        exit 69
    fi
fi


exit $res
" failed with exit status 31
Failed: Build failed