Building on asteria.caelum.ci.dev (from ocaml/opam:debian-unstable) 2024-07-16 06:45.34 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2024-07-16 06:45.34 ---> using "65c3237f501f7c75f3828458ecf2342bc41c98aaef8c6a7fd82bf46a58cb258c" 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 80f59f9d12c0e9dda29eb80811ac7689a7ec392b")) 2024-07-16 06:46.16 ---> saved as "261727b5bbfeb9b6232c3be6e0deca60a5eaa5ba0fd41e545fc12d14c3e15563" /: (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: [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. ~/.profile is already up-to-date. 2024-07-16 06:46.47 ---> saved as "307dc4eff9c022eb8b0a710a88f6f3ff6fe7de0e42f718d3f3c47b9778b9dbf2" /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.0' '5.0.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.0.0"} | "ocaml-system" {= "5.0.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (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.5.0.0 (https://github.com/ocaml/ocaml/archive/5.0.0.tar.gz) -> installed ocaml-base-compiler.5.0.0 -> installed ocaml-config.3 -> installed ocaml.5.0.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.0) to update the current shell environment 2024-07-16 06:48.30 ---> saved as "3c757fbe0f18d454c26392e9bd0ce262aa55da2e42253a3ea85b12f1c604569d" /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [198 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-2024-07-16-0206.58-F-2024-07-11-0222.50.pdiff [540 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-07-16-0206.58-F-2024-07-11-0222.50.pdiff [540 kB] - Fetched 802 kB in 2s (518 kB/s) - Reading package lists... - 2024-07-16 06:48.32 ---> saved as "7cfab01ad84c7fef7ff39903230e0431a1f5e0debe425cd1509def42f8122539" /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"binaryen.0.2.1\"\ \nopam install -vy \"binaryen.0.2.1\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"binaryen.0.2.1\" | 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")) Nothing to do. [NOTE] binaryen.0.2.1 is not installed. The following actions will be performed: === install 4 packages - install binaryen 0.2.1 - install conf-cmake 1 [required by binaryen] - install conf-python-3 9.0.0 [required by binaryen] - install dune 3.16.0 [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" - debconf: delaying package configuration, since apt-utils is not installed - 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 ... 19429 files and directories currently installed.) - Preparing to unpack .../libpython3.12-minimal_3.12.4-3_amd64.deb ... - Unpacking libpython3.12-minimal:amd64 (3.12.4-3) ... - Selecting previously unselected package python3.12-minimal. - Preparing to unpack .../python3.12-minimal_3.12.4-3_amd64.deb ... - Unpacking python3.12-minimal (3.12.4-3) ... - Setting up libpython3.12-minimal:amd64 (3.12.4-3) ... - Setting up python3.12-minimal (3.12.4-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 ... 19740 files and directories currently installed.) - Preparing to unpack .../python3-minimal_3.12.3-1_amd64.deb ... - Unpacking python3-minimal (3.12.3-1) ... - Selecting previously unselected package media-types. - Preparing to unpack .../media-types_10.1.0_all.deb ... - Unpacking media-types (10.1.0) ... - Selecting previously unselected package libpython3.12-stdlib:amd64. - Preparing to unpack .../libpython3.12-stdlib_3.12.4-3_amd64.deb ... - Unpacking libpython3.12-stdlib:amd64 (3.12.4-3) ... - Selecting previously unselected package python3.12. - Preparing to unpack .../python3.12_3.12.4-3_amd64.deb ... - Unpacking python3.12 (3.12.4-3) ... - Selecting previously unselected package libpython3-stdlib:amd64. - Preparing to unpack .../libpython3-stdlib_3.12.3-1_amd64.deb ... - Unpacking libpython3-stdlib:amd64 (3.12.3-1) ... - Setting up python3-minimal (3.12.3-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 ... 20175 files and directories currently installed.) - Preparing to unpack .../00-python3_3.12.3-1_amd64.deb ... - Unpacking python3 (3.12.3-1) ... - Selecting previously unselected package libicu72:amd64. - Preparing to unpack .../01-libicu72_72.1-5_amd64.deb ... - Unpacking libicu72:amd64 (72.1-5) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../02-libxml2_2.12.7+dfsg-3+b1_amd64.deb ... - Unpacking libxml2:amd64 (2.12.7+dfsg-3+b1) ... - Selecting previously unselected package libarchive13t64:amd64. - Preparing to unpack .../03-libarchive13t64_3.7.2-2.1_amd64.deb ... - Unpacking libarchive13t64:amd64 (3.7.2-2.1) ... - Selecting previously unselected package libcurl4t64:amd64. - Preparing to unpack .../04-libcurl4t64_8.8.0-4_amd64.deb ... - Unpacking libcurl4t64:amd64 (8.8.0-4) ... - Selecting previously unselected package libjsoncpp25:amd64. - Preparing to unpack .../05-libjsoncpp25_1.9.5-6+b2_amd64.deb ... - Unpacking libjsoncpp25:amd64 (1.9.5-6+b2) ... - Selecting previously unselected package librhash0:amd64. - Preparing to unpack .../06-librhash0_1.4.3-3+b1_amd64.deb ... - Unpacking librhash0:amd64 (1.4.3-3+b1) ... - Selecting previously unselected package libuv1t64:amd64. - Preparing to unpack .../07-libuv1t64_1.48.0-5_amd64.deb ... - Unpacking libuv1t64:amd64 (1.48.0-5) ... - Selecting previously unselected package cmake-data. - Preparing to unpack .../08-cmake-data_3.30.0-1_all.deb ... - Unpacking cmake-data (3.30.0-1) ... - Selecting previously unselected package cmake. - Preparing to unpack .../09-cmake_3.30.0-1_amd64.deb ... - Unpacking cmake (3.30.0-1) ... - Preparing to unpack .../10-curl_8.8.0-4_amd64.deb ... - Unpacking curl (8.8.0-4) over (8.8.0-3) ... - Preparing to unpack .../11-libcurl3t64-gnutls_8.8.0-4_amd64.deb ... - Unpacking libcurl3t64-gnutls:amd64 (8.8.0-4) over (8.8.0-3) ... - Setting up media-types (10.1.0) ... - Setting up libicu72:amd64 (72.1-5) ... - Setting up libpython3.12-stdlib:amd64 (3.12.4-3) ... - Setting up libcurl4t64:amd64 (8.8.0-4) ... - Setting up python3.12 (3.12.4-3) ... - Setting up libuv1t64:amd64 (1.48.0-5) ... - Setting up libcurl3t64-gnutls:amd64 (8.8.0-4) ... - Setting up libjsoncpp25:amd64 (1.9.5-6+b2) ... - Setting up librhash0:amd64 (1.4.3-3+b1) ... - Setting up cmake-data (3.30.0-1) ... - Setting up curl (8.8.0-4) ... - Setting up libxml2:amd64 (2.12.7+dfsg-3+b1) ... - Setting up libpython3-stdlib:amd64 (3.12.3-1) ... - Setting up python3 (3.12.3-1) ... - running python rtupdate hooks for python3.12... - running python post-rtupdate hooks for python3.12... - Setting up libarchive13t64:amd64 (3.7.2-2.1) ... - Setting up cmake (3.30.0-1) ... - Processing triggers for libc-bin (2.38-14) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/12: [binaryen.0.2.1: http] -> retrieved conf-cmake.1 (cached) Processing 2/12: [binaryen.0.2.1: http] -> retrieved conf-python-3.9.0.0 (cached) Processing 3/12: [binaryen.0.2.1: http] Processing 4/12: [binaryen.0.2.1: http] [dune.3.16.0: extract] Processing 5/12: [binaryen.0.2.1: http] [dune.3.16.0: extract] [conf-cmake: sh configure.sh] Processing 6/12: [binaryen.0.2.1: http] [dune.3.16.0: 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/5.0/.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.2.1: http] [dune.3.16.0: extract] [conf-python-3: python3 test.py] -> installed conf-cmake.1 Processing 7/12: [binaryen.0.2.1: http] [dune.3.16.0: extract] [conf-python-3: python3 test.py] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "python3" "test.py" (CWD=/home/opam/.opam/5.0/.opam-switch/build/conf-python-3.9.0.0) - python-3 OK -> compiled conf-python-3.9.0.0 Processing 7/12: [binaryen.0.2.1: http] [dune.3.16.0: extract] -> installed conf-python-3.9.0.0 Processing 8/12: [binaryen.0.2.1: http] [dune.3.16.0: extract] Processing 8/12: [binaryen.0.2.1: extract] [dune.3.16.0: extract] -> retrieved dune.3.16.0 (cached) Processing 8/12: [binaryen.0.2.1: extract] Processing 9/12: [binaryen.0.2.1: extract] [dune: ocaml 255] -> retrieved binaryen.0.2.1 (https://github.com/grain-lang/binaryen.ml/releases/download/v0.2.1/binaryen-archive-v0.2.1.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/5.0/.opam-switch/build/dune.3.16.0) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix 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/5.0/.opam-switch/build/dune.3.16.0) -> compiled dune.3.16.0 -> installed dune.3.16.0 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/5.0/.opam-switch/build/binaryen.0.2.1) - CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): - Compatibility with CMake < 3.5 will be removed from a future version of - CMake. - - Update the VERSION argument <min> value or use a ...<max> suffix to tell - CMake that the project does not need compatibility with older versions. - - - In file included from binaryen_stubs_exports.c:2: - binaryen_stubs_exports.c: In function 'caml_binaryen_add_function_export': - /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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_expressions.c:2: - binaryen_stubs_expressions.c: In function 'caml_binaryen_block': - /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #define String_val(x) ((const char *) Bp_val(x)) - | ^ - binaryen_stubs_expressions.c:27:16: note: in expansion of macro 'String_val' - 27 | char* name = String_val(_name); - | ^~~~~~~~~~ - binaryen_stubs_expressions.c: In function 'caml_binaryen_loop': - /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #define String_val(x) ((const char *) Bp_val(x)) - | ^ - binaryen_stubs_expressions.c:53:16: note: in expansion of macro 'String_val' - 53 | char* name = String_val(_name); - | ^~~~~~~~~~ - binaryen_stubs_expressions.c: In function 'caml_binaryen_break': - /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #define String_val(x) ((const char *) Bp_val(x)) - | ^ - binaryen_stubs_expressions.c:63:16: note: in expansion of macro 'String_val' - 63 | char* name = String_val(_name); - | ^~~~~~~~~~ - binaryen_stubs_expressions.c: In function 'caml_binaryen_switch': - /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #define String_val(x) ((const char *) Bp_val(x)) - | ^ - binaryen_stubs_expressions.c:80:23: note: in expansion of macro 'String_val' - 80 | char* defaultName = String_val(_defaultName); - | ^~~~~~~~~~ - binaryen_stubs_expressions.c: In function 'caml_binaryen_call': - /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #define String_val(x) ((const char *) Bp_val(x)) - | ^ - binaryen_stubs_expressions.c:91:16: note: in expansion of macro 'String_val' - 91 | char* name = String_val(_name); - | ^~~~~~~~~~ - binaryen_stubs_expressions.c: In function 'caml_binaryen_return_call': - /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #define String_val(x) ((const char *) Bp_val(x)) - | ^ - binaryen_stubs_expressions.c:124:16: note: in expansion of macro 'String_val' - 124 | char* name = String_val(_name); - | ^~~~~~~~~~ - binaryen_stubs_expressions.c: In function 'caml_binaryen_global_get': - /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #define String_val(x) ((const char *) Bp_val(x)) - | ^ - binaryen_stubs_expressions.c:188:16: note: in expansion of macro 'String_val' - 188 | char* name = String_val(_name); - | ^~~~~~~~~~ - binaryen_stubs_expressions.c: In function 'caml_binaryen_global_set': - /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #define String_val(x) ((const char *) Bp_val(x)) - | ^ - binaryen_stubs_expressions.c:198:16: note: in expansion of macro 'String_val' - 198 | char* name = String_val(_name); - | ^~~~~~~~~~ - In file included from binaryen_stubs_features.c:7: - ocaml_helpers.h:11:33: warning: 'binaryen_ops' defined but not used [-Wunused-variable] - 11 | static struct custom_operations binaryen_ops; - | ^~~~~~~~~~~~ - -- The C compiler identification is GNU 13.3.0 - In file included from binaryen_stubs_globals.c:2: - binaryen_stubs_globals.c: In function 'caml_binaryen_add_global': - /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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_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_memory.c:2: - binaryen_stubs_memory.c: In function 'caml_binaryen_set_memory': - /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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_imports.c:2: - binaryen_stubs_imports.c: In function 'caml_binaryen_add_function_import': - /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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); - | ^~~~~~~~~~ - 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; - | ^~~~~~~~~~~~ - binaryen_stubs_imports.c: In function 'caml_binaryen_add_global_import': - /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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_functions.c:2: - binaryen_stubs_functions.c: In function 'caml_binaryen_add_function': - /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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); - | ^~~~~~~~~~ - 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_modules.c:2: - binaryen_stubs_modules.c: In function 'caml_binaryen_module_read': - /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 307 | #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 13.3.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.4", minimum required is "3.5") - -- Building libbinaryen as statically linked library. - -- Configuring done (1.7s) - -- Generating done (0.1s) - -- Build files have been written to: /home/opam/.opam/5.0/.opam-switch/build/binaryen.0.2.1/_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/5.0/.opam-switch/build/binaryen.0.2.1/_build/default/src/binaryen/src/passes/Asyncify.cpp: In member function 'wasm::Expression* wasm::{anonymous}::AsyncifyLocals::makeLocalLoading()': - /home/opam/.opam/5.0/.opam-switch/build/binaryen.0.2.1/_build/default/src/binaryen/src/passes/Asyncify.cpp:1270:19: error: possibly dangling reference to a temporary [-Werror=dangling-reference] - 1270 | const auto& types = func->getLocalType(i).expand(); - | ^~~~~ - /home/opam/.opam/5.0/.opam-switch/build/binaryen.0.2.1/_build/default/src/binaryen/src/passes/Asyncify.cpp:1270:55: note: the temporary was destroyed at the end of the full expression 'func->wasm::Function::getLocalType(i).wasm::Type::expand()' - 1270 | 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:109: src/passes/CMakeFiles/passes.dir/Asyncify.cpp.o] Error 1 - make[1]: *** [CMakeFiles/Makefile2:658: 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] The compilation of binaryen.0.2.1 failed at "dune build -p binaryen -j 255 --no-buffer". #=== ERROR while compiling binaryen.0.2.1 =====================================# # context 2.3.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/opam/opam-repository # path ~/.opam/5.0/.opam-switch/build/binaryen.0.2.1 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p binaryen -j 255 --no-buffer # exit-code 1 # env-file ~/.opam/log/binaryen-9-dfee6f.env # output-file ~/.opam/log/binaryen-9-dfee6f.out ### output ### # CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): # Compatibility with CMake < 3.5 will be removed from a future version of # CMake. # # Update the VERSION argument <min> value or use a ...<max> suffix to tell # CMake that the project does not need compatibility with older versions. # # # In file included from binaryen_stubs_exports.c:2: # binaryen_stubs_exports.c: In function 'caml_binaryen_add_function_export': # /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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_expressions.c:2: # binaryen_stubs_expressions.c: In function 'caml_binaryen_block': # /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #define String_val(x) ((const char *) Bp_val(x)) # | ^ # binaryen_stubs_expressions.c:27:16: note: in expansion of macro 'String_val' # 27 | char* name = String_val(_name); # | ^~~~~~~~~~ # binaryen_stubs_expressions.c: In function 'caml_binaryen_loop': # /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #define String_val(x) ((const char *) Bp_val(x)) # | ^ # binaryen_stubs_expressions.c:53:16: note: in expansion of macro 'String_val' # 53 | char* name = String_val(_name); # | ^~~~~~~~~~ # binaryen_stubs_expressions.c: In function 'caml_binaryen_break': # /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #define String_val(x) ((const char *) Bp_val(x)) # | ^ # binaryen_stubs_expressions.c:63:16: note: in expansion of macro 'String_val' # 63 | char* name = String_val(_name); # | ^~~~~~~~~~ # binaryen_stubs_expressions.c: In function 'caml_binaryen_switch': # /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #define String_val(x) ((const char *) Bp_val(x)) # | ^ # binaryen_stubs_expressions.c:80:23: note: in expansion of macro 'String_val' # 80 | char* defaultName = String_val(_defaultName); # | ^~~~~~~~~~ # binaryen_stubs_expressions.c: In function 'caml_binaryen_call': # /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #define String_val(x) ((const char *) Bp_val(x)) # | ^ # binaryen_stubs_expressions.c:91:16: note: in expansion of macro 'String_val' # 91 | char* name = String_val(_name); # | ^~~~~~~~~~ # binaryen_stubs_expressions.c: In function 'caml_binaryen_return_call': # /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #define String_val(x) ((const char *) Bp_val(x)) # | ^ # binaryen_stubs_expressions.c:124:16: note: in expansion of macro 'String_val' # 124 | char* name = String_val(_name); # | ^~~~~~~~~~ # binaryen_stubs_expressions.c: In function 'caml_binaryen_global_get': # /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #define String_val(x) ((const char *) Bp_val(x)) # | ^ # binaryen_stubs_expressions.c:188:16: note: in expansion of macro 'String_val' # 188 | char* name = String_val(_name); # | ^~~~~~~~~~ # binaryen_stubs_expressions.c: In function 'caml_binaryen_global_set': # /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #define String_val(x) ((const char *) Bp_val(x)) # | ^ # binaryen_stubs_expressions.c:198:16: note: in expansion of macro 'String_val' # 198 | char* name = String_val(_name); # | ^~~~~~~~~~ # In file included from binaryen_stubs_features.c:7: # ocaml_helpers.h:11:33: warning: 'binaryen_ops' defined but not used [-Wunused-variable] # 11 | static struct custom_operations binaryen_ops; # | ^~~~~~~~~~~~ # -- The C compiler identification is GNU 13.3.0 # In file included from binaryen_stubs_globals.c:2: # binaryen_stubs_globals.c: In function 'caml_binaryen_add_global': # /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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_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_memory.c:2: # binaryen_stubs_memory.c: In function 'caml_binaryen_set_memory': # /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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_imports.c:2: # binaryen_stubs_imports.c: In function 'caml_binaryen_add_function_import': # /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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); # | ^~~~~~~~~~ # 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; # | ^~~~~~~~~~~~ # binaryen_stubs_imports.c: In function 'caml_binaryen_add_global_import': # /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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_functions.c:2: # binaryen_stubs_functions.c: In function 'caml_binaryen_add_function': # /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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); # | ^~~~~~~~~~ # 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_modules.c:2: # binaryen_stubs_modules.c: In function 'caml_binaryen_module_read': # /home/opam/.opam/5.0/lib/ocaml/caml/mlvalues.h:307:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 307 | #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 13.3.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.4", minimum required is "3.5") # -- Building libbinaryen as statically linked library. # -- Configuring done (1.7s) # -- Generating done (0.1s) # -- Build files have been written to: /home/opam/.opam/5.0/.opam-switch/build/binaryen.0.2.1/_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/5.0/.opam-switch/build/binaryen.0.2.1/_build/default/src/binaryen/src/passes/Asyncify.cpp: In member function 'wasm::Expression* wasm::{anonymous}::AsyncifyLocals::makeLocalLoading()': # /home/opam/.opam/5.0/.opam-switch/build/binaryen.0.2.1/_build/default/src/binaryen/src/passes/Asyncify.cpp:1270:19: error: possibly dangling reference to a temporary [-Werror=dangling-reference] # 1270 | const auto& types = func->getLocalType(i).expand(); # | ^~~~~ # /home/opam/.opam/5.0/.opam-switch/build/binaryen.0.2.1/_build/default/src/binaryen/src/passes/Asyncify.cpp:1270:55: note: the temporary was destroyed at the end of the full expression 'func->wasm::Function::getLocalType(i).wasm::Type::expand()' # 1270 | 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:109: src/passes/CMakeFiles/passes.dir/Asyncify.cpp.o] Error 1 # make[1]: *** [CMakeFiles/Makefile2:658: 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.2.1 +- +- The following changes have been performed | - install conf-cmake 1 | - install conf-python-3 9.0.0 | - install dune 3.16.0 +- # Run eval $(opam env) to update the current shell environment The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/5.0/.opam-switch/backup/state-20240716064834.export" 'opam install -vy binaryen.0.2.1' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "binaryen.0.2.1" opam install -vy "binaryen.0.2.1" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "binaryen.0.2.1" | 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