(for PR #25889)
2024-07-05 20:13.59: New job: test clangml.4.8.0 with conf-libclang.15, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/25889/head (93450bab6f4ccfda0b50177b39c9218bc8e47470) on debian-12-ocaml-4.14/amd64 To reproduce locally: cd $(mktemp -d) git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/25889/head" && git reset --hard 93450bab git fetch origin master git merge --no-edit ca7f74d624024c73a7297ea2b022ef88d65b1121 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-4.14@sha256:411c167ab30b2e15a22d9ba7269e6df1d6b24c7d69a5996d4a62bba7180dc074 USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version ENV OPAMDOWNLOADJOBS="1" ENV OPAMERRLOGLEN="0" ENV OPAMSOLVERTIMEOUT="500" ENV OPAMPRECISETRACKING="1" ENV CI="true" ENV OPAM_REPO_CI="true" RUN rm -rf opam-repository/ COPY --chown=1000:1000 . opam-repository/ RUN opam repository set-url --strict default opam-repository/ RUN opam update --depexts || true RUN opam pin add -k version -yn conf-libclang.15 15 RUN opam reinstall conf-libclang.15; \ res=$?; \ test "$res" != 31 && exit "$res"; \ export OPAMCLI=2.0; \ build_dir=$(opam var prefix)/.opam-switch/build; \ failed=$(ls "$build_dir"); \ partial_fails=""; \ for pkg in $failed; do \ if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'conf-libclang.15' && partial_fails="$partial_fails $pkg"; \ done; \ test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \ exit 1 RUN opam reinstall clangml.4.8.0; \ res=$?; \ test "$res" != 31 && exit "$res"; \ export OPAMCLI=2.0; \ build_dir=$(opam var prefix)/.opam-switch/build; \ failed=$(ls "$build_dir"); \ partial_fails=""; \ for pkg in $failed; do \ if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'clangml.4.8.0' && partial_fails="$partial_fails $pkg"; \ done; \ test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \ exit 1 RUN (opam reinstall --with-test clangml.4.8.0) || true RUN opam reinstall --with-test --verbose clangml.4.8.0; \ res=$?; \ test "$res" != 31 && exit "$res"; \ export OPAMCLI=2.0; \ build_dir=$(opam var prefix)/.opam-switch/build; \ failed=$(ls "$build_dir"); \ partial_fails=""; \ for pkg in $failed; do \ if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'clangml.4.8.0' && partial_fails="$partial_fails $pkg"; \ done; \ test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \ exit 1 END-OF-DOCKERFILE docker build -f ../Dockerfile . 2024-07-05 20:13.59: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:411c167ab30b2e15a22d9ba7269e6df1d6b24c7d69a5996d4a62bba7180dc074-conf-libclang.15-clangml.4.8.0-93450bab6f4ccfda0b50177b39c9218bc8e47470" 2024-07-05 20:13.59: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.14@sha256:411c167ab30b2e15a22d9ba7269e6df1d6b24c7d69a5996d4a62bba7180dc074) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) (run (network host) (shell "opam init --reinit --config .opamrc-sandbox -ni")) (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) (env OPAMDOWNLOADJOBS 1) (env OPAMERRLOGLEN 0) (env OPAMSOLVERTIMEOUT 500) (env OPAMPRECISETRACKING 1) (env CI true) (env OPAM_REPO_CI true) (run (shell "rm -rf opam-repository/")) (copy (src .) (dst opam-repository/)) (run (shell "opam repository set-url --strict default opam-repository/")) (run (network host) (shell "opam update --depexts || true")) (run (shell "opam pin add -k version -yn conf-libclang.15 15")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-libclang.15;\ \n res=$?;\ \n test \"$res\" != 31 && exit \"$res\";\ \n export OPAMCLI=2.0;\ \n build_dir=$(opam var prefix)/.opam-switch/build;\ \n failed=$(ls \"$build_dir\");\ \n partial_fails=\"\";\ \n for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'conf-libclang.15' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall clangml.4.8.0;\ \n res=$?;\ \n test \"$res\" != 31 && exit \"$res\";\ \n export OPAMCLI=2.0;\ \n build_dir=$(opam var prefix)/.opam-switch/build;\ \n failed=$(ls \"$build_dir\");\ \n partial_fails=\"\";\ \n for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'clangml.4.8.0' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) (run (network host) (shell "(opam reinstall --with-test clangml.4.8.0) || true")) (run (shell "opam reinstall --with-test --verbose clangml.4.8.0;\ \n res=$?;\ \n test \"$res\" != 31 && exit \"$res\";\ \n export OPAMCLI=2.0;\ \n build_dir=$(opam var prefix)/.opam-switch/build;\ \n failed=$(ls \"$build_dir\");\ \n partial_fails=\"\";\ \n for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'clangml.4.8.0' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2024-07-05 20:13.59: Waiting for resource in pool OCluster 2024-07-05 22:59.24: Waiting for worker… 2024-07-05 23:11.25: Got resource from pool OCluster Building on x86-bm-c12.sw.ocaml.org All commits already cached Updating files: 67% (21398/31779) Updating files: 68% (21610/31779) Updating files: 69% (21928/31779) Updating files: 70% (22246/31779) Updating files: 71% (22564/31779) Updating files: 72% (22881/31779) Updating files: 73% (23199/31779) Updating files: 74% (23517/31779) Updating files: 75% (23835/31779) Updating files: 76% (24153/31779) Updating files: 77% (24470/31779) Updating files: 78% (24788/31779) Updating files: 79% (25106/31779) Updating files: 80% (25424/31779) Updating files: 81% (25741/31779) Updating files: 82% (26059/31779) Updating files: 83% (26377/31779) Updating files: 84% (26695/31779) Updating files: 85% (27013/31779) Updating files: 86% (27330/31779) Updating files: 87% (27648/31779) Updating files: 88% (27966/31779) Updating files: 89% (28284/31779) Updating files: 90% (28602/31779) Updating files: 91% (28919/31779) Updating files: 92% (29237/31779) Updating files: 93% (29555/31779) Updating files: 94% (29873/31779) Updating files: 95% (30191/31779) Updating files: 96% (30508/31779) Updating files: 97% (30826/31779) Updating files: 98% (31144/31779) Updating files: 99% (31462/31779) Updating files: 100% (31779/31779) Updating files: 100% (31779/31779), done. HEAD is now at ca7f74d624 Merge pull request #26199 from mseri/fix-apron-ub Merge made by the 'ort' strategy. packages/conf-libclang/conf-libclang.10/opam | 52 +++++++++++++----- packages/conf-libclang/conf-libclang.11/opam | 54 ++++++++++++++----- packages/conf-libclang/conf-libclang.12/opam | 52 ++++++++++++------ packages/conf-libclang/conf-libclang.13/opam | 60 ++++++++++++--------- packages/conf-libclang/conf-libclang.14/opam | 61 +++++++++++++-------- packages/conf-libclang/conf-libclang.15/opam | 62 +++++++++++++-------- packages/conf-libclang/conf-libclang.16/opam | 76 ++++++++++++++++++++++++++ packages/conf-libclang/conf-libclang.17/opam | 78 +++++++++++++++++++++++++++ packages/conf-libclang/conf-libclang.18/opam | 80 ++++++++++++++++++++++++++++ 9 files changed, 461 insertions(+), 114 deletions(-) create mode 100644 packages/conf-libclang/conf-libclang.16/opam create mode 100644 packages/conf-libclang/conf-libclang.17/opam create mode 100644 packages/conf-libclang/conf-libclang.18/opam (from ocaml/opam:debian-12-ocaml-4.14@sha256:411c167ab30b2e15a22d9ba7269e6df1d6b24c7d69a5996d4a62bba7180dc074) Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:411c167ab30b2e15a22d9ba7269e6df1d6b24c7d69a5996d4a62bba7180dc074' locally docker.io/ocaml/opam@sha256:411c167ab30b2e15a22d9ba7269e6df1d6b24c7d69a5996d4a62bba7180dc074: Pulling from ocaml/opam e017066d9172: Pulling fs layer e017066d9172: Verifying Checksum e017066d9172: Download complete e017066d9172: Pull complete Digest: sha256:411c167ab30b2e15a22d9ba7269e6df1d6b24c7d69a5996d4a62bba7180dc074 Status: Downloaded newer image for ocaml/opam@sha256:411c167ab30b2e15a22d9ba7269e6df1d6b24c7d69a5996d4a62bba7180dc074 2024-07-05 23:11.27 ---> using "787c10892c33b358f8712760387399b1ab2c78ae2006c4a10d01c5321d3dba40" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2024-07-05 23:11.27 ---> using "f2e5db30f08f69a1d5334ae494aa89668e4020c14e77cf48ca4c893a0b4dfad3" from cache /home/opam: (run (network host) (shell "opam init --reinit --config .opamrc-sandbox -ni")) 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. This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2~beta, which can't be reverted. You may want to back it up before going further. Continue? [y/n] y Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2024-07-05 23:11.27 ---> using "a815bc554d04fdd08319799ec1b953c5900bc15cf3510abbdde7dbab79abb5dd" from cache /home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-113-generic The OCaml toplevel, version 4.14.2 2.2.0~rc1 2024-07-05 23:11.27 ---> using "74dc415daa1c88b68336b71bd1c3b3cc476c5c7e7ba9c14b993dc4ab0d8e0bfb" from cache /home/opam: (env OPAMDOWNLOADJOBS 1) /home/opam: (env OPAMERRLOGLEN 0) /home/opam: (env OPAMSOLVERTIMEOUT 500) /home/opam: (env OPAMPRECISETRACKING 1) /home/opam: (env CI true) /home/opam: (env OPAM_REPO_CI true) /home/opam: (run (shell "rm -rf opam-repository/")) 2024-07-05 23:11.27 ---> using "c65cafca8f6f5d24d12a244a9c6ba026d5ea649414ebd308f23285f028433926" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2024-07-05 23:11.35 ---> saved as "4a4ce1e45b671fa28502fc862769797e3350eb0ccf79db0dacac6591f4d7daae" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2024-07-05 23:12.25 ---> saved as "82c8f241ef864edad54231e22f4a04d6021cb3945a365cebe9c14ef09dd5e09d" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] - Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] - Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] - Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8788 kB] - Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [168 kB] - Fetched 9210 kB in 1s (6161 kB/s) - Reading package lists... - 2024-07-05 23:12.27 ---> saved as "3303b324a6c8b537c567e5e767acc190eb30d228bd8dc28ef680ab552ad12090" /home/opam: (run (shell "opam pin add -k version -yn conf-libclang.15 15")) conf-libclang is now pinned to version 15 2024-07-05 23:12.28 ---> saved as "689ac9111b728890344f2f6e3461ef8f7285d22fbbb3742e5817b29eb11ba50e" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-libclang.15;\ \n res=$?;\ \n test \"$res\" != 31 && exit \"$res\";\ \n export OPAMCLI=2.0;\ \n build_dir=$(opam var prefix)/.opam-switch/build;\ \n failed=$(ls \"$build_dir\");\ \n partial_fails=\"\";\ \n for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'conf-libclang.15' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) conf-libclang.15 is not installed. Install it? [y/n] y The following actions will be performed: === install 5 packages - install conf-autoconf 0.2 [required by stdcompat] - install conf-libclang 15 (pinned) - install dune 3.16.0 [required by stdcompat] - install ocamlfind 1.9.6 [required by conf-libclang] - install stdcompat 19 [required by conf-libclang] The following system packages will first need to be installed: autoconf libclang-15-dev libclang-cpp15-dev llvm-15-dev <><> 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" "autoconf" "libclang-15-dev" "libclang-cpp15-dev" "llvm-15-dev" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libpipeline1: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 ... 18735 files and directories currently installed.) - Preparing to unpack .../libpipeline1_1.5.7-1_amd64.deb ... - Unpacking libpipeline1:amd64 (1.5.7-1) ... - Selecting previously unselected package binfmt-support. - Preparing to unpack .../binfmt-support_2.2.2-2_amd64.deb ... - Unpacking binfmt-support (2.2.2-2) ... - Selecting previously unselected package libpython3.11-minimal:amd64. - Preparing to unpack .../libpython3.11-minimal_3.11.2-6+deb12u2_amd64.deb ... - Unpacking libpython3.11-minimal:amd64 (3.11.2-6+deb12u2) ... - Selecting previously unselected package python3.11-minimal. - Preparing to unpack .../python3.11-minimal_3.11.2-6+deb12u2_amd64.deb ... - Unpacking python3.11-minimal (3.11.2-6+deb12u2) ... - Setting up libpython3.11-minimal:amd64 (3.11.2-6+deb12u2) ... - Setting up python3.11-minimal (3.11.2-6+deb12u2) ... - 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 ... 19064 files and directories currently installed.) - Preparing to unpack .../python3-minimal_3.11.2-1+b1_amd64.deb ... - Unpacking python3-minimal (3.11.2-1+b1) ... - Selecting previously unselected package media-types. - Preparing to unpack .../media-types_10.0.0_all.deb ... - Unpacking media-types (10.0.0) ... - Selecting previously unselected package libpython3.11-stdlib:amd64. - Preparing to unpack .../libpython3.11-stdlib_3.11.2-6+deb12u2_amd64.deb ... - Unpacking libpython3.11-stdlib:amd64 (3.11.2-6+deb12u2) ... - Selecting previously unselected package python3.11. - Preparing to unpack .../python3.11_3.11.2-6+deb12u2_amd64.deb ... - Unpacking python3.11 (3.11.2-6+deb12u2) ... - Selecting previously unselected package libpython3-stdlib:amd64. - Preparing to unpack .../libpython3-stdlib_3.11.2-1+b1_amd64.deb ... - Unpacking libpython3-stdlib:amd64 (3.11.2-1+b1) ... - Setting up python3-minimal (3.11.2-1+b1) ... - 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 ... 19474 files and directories currently installed.) - Preparing to unpack .../00-python3_3.11.2-1+b1_amd64.deb ... - Unpacking python3 (3.11.2-1+b1) ... - Selecting previously unselected package m4. - Preparing to unpack .../01-m4_1.4.19-3_amd64.deb ... - Unpacking m4 (1.4.19-3) ... - Selecting previously unselected package autoconf. - Preparing to unpack .../02-autoconf_2.71-3_all.deb ... - Unpacking autoconf (2.71-3) ... - Selecting previously unselected package autotools-dev. - Preparing to unpack .../03-autotools-dev_20220109.1_all.deb ... - Unpacking autotools-dev (20220109.1) ... - Selecting previously unselected package automake. - Preparing to unpack .../04-automake_1%3a1.16.5-1.3_all.deb ... - Unpacking automake (1:1.16.5-1.3) ... - Preparing to unpack .../05-curl_7.88.1-10+deb12u6_amd64.deb ... - Unpacking curl (7.88.1-10+deb12u6) over (7.88.1-10+deb12u5) ... - Preparing to unpack .../06-libcurl4_7.88.1-10+deb12u6_amd64.deb ... - Unpacking libcurl4:amd64 (7.88.1-10+deb12u6) over (7.88.1-10+deb12u5) ... - Selecting previously unselected package libicu72:amd64. - Preparing to unpack .../07-libicu72_72.1-3_amd64.deb ... - Unpacking libicu72:amd64 (72.1-3) ... - Selecting previously unselected package icu-devtools. - Preparing to unpack .../08-icu-devtools_72.1-3_amd64.deb ... - Unpacking icu-devtools (72.1-3) ... - Selecting previously unselected package libc6-i386. - Preparing to unpack .../09-libc6-i386_2.36-9+deb12u7_amd64.deb ... - Unpacking libc6-i386 (2.36-9+deb12u7) ... - Selecting previously unselected package lib32gcc-s1. - Preparing to unpack .../10-lib32gcc-s1_12.2.0-14_amd64.deb ... - Unpacking lib32gcc-s1 (12.2.0-14) ... - Selecting previously unselected package lib32stdc++6. - Preparing to unpack .../11-lib32stdc++6_12.2.0-14_amd64.deb ... - Unpacking lib32stdc++6 (12.2.0-14) ... - Selecting previously unselected package libgc1:amd64. - Preparing to unpack .../12-libgc1_1%3a8.2.2-3_amd64.deb ... - Unpacking libgc1:amd64 (1:8.2.2-3) ... - Selecting previously unselected package libobjc4:amd64. - Preparing to unpack .../13-libobjc4_12.2.0-14_amd64.deb ... - Unpacking libobjc4:amd64 (12.2.0-14) ... - Selecting previously unselected package libobjc-12-dev:amd64. - Preparing to unpack .../14-libobjc-12-dev_12.2.0-14_amd64.deb ... - Unpacking libobjc-12-dev:amd64 (12.2.0-14) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../15-libxml2_2.9.14+dfsg-1.3~deb12u1_amd64.deb ... - Unpacking libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ... - Selecting previously unselected package libz3-4:amd64. - Preparing to unpack .../16-libz3-4_4.8.12-3.1_amd64.deb ... - Unpacking libz3-4:amd64 (4.8.12-3.1) ... - Selecting previously unselected package libllvm15:amd64. - Preparing to unpack .../17-libllvm15_1%3a15.0.6-4+b1_amd64.deb ... - Unpacking libllvm15:amd64 (1:15.0.6-4+b1) ... - Selecting previously unselected package libclang1-15. - Preparing to unpack .../18-libclang1-15_1%3a15.0.6-4+b1_amd64.deb ... - Unpacking libclang1-15 (1:15.0.6-4+b1) ... - Selecting previously unselected package libclang-common-15-dev. - Preparing to unpack .../19-libclang-common-15-dev_1%3a15.0.6-4+b1_amd64.deb ... - Unpacking libclang-common-15-dev (1:15.0.6-4+b1) ... - Selecting previously unselected package libclang-15-dev. - Preparing to unpack .../20-libclang-15-dev_1%3a15.0.6-4+b1_amd64.deb ... - Unpacking libclang-15-dev (1:15.0.6-4+b1) ... - Selecting previously unselected package libclang-cpp15. - Preparing to unpack .../21-libclang-cpp15_1%3a15.0.6-4+b1_amd64.deb ... - Unpacking libclang-cpp15 (1:15.0.6-4+b1) ... - Selecting previously unselected package libclang-cpp15-dev. - Preparing to unpack .../22-libclang-cpp15-dev_1%3a15.0.6-4+b1_amd64.deb ... - Unpacking libclang-cpp15-dev (1:15.0.6-4+b1) ... - Preparing to unpack .../23-libcurl3-gnutls_7.88.1-10+deb12u6_amd64.deb ... - Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u6) over (7.88.1-10+deb12u5) ... - Selecting previously unselected package libnspr4:amd64. - Preparing to unpack .../24-libnspr4_2%3a4.35-1_amd64.deb ... - Unpacking libnspr4:amd64 (2:4.35-1) ... - Selecting previously unselected package libnss3:amd64. - Preparing to unpack .../25-libnss3_2%3a3.87.1-1_amd64.deb ... - Unpacking libnss3:amd64 (2:3.87.1-1) ... - Selecting previously unselected package nss-plugin-pem:amd64. - Preparing to unpack .../26-nss-plugin-pem_1.0.8+1-1_amd64.deb ... - Unpacking nss-plugin-pem:amd64 (1.0.8+1-1) ... - Selecting previously unselected package libcurl3-nss:amd64. - Preparing to unpack .../27-libcurl3-nss_7.88.1-10+deb12u6_amd64.deb ... - Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u6) ... - Selecting previously unselected package libffi-dev:amd64. - Preparing to unpack .../28-libffi-dev_3.4.4-1_amd64.deb ... - Unpacking libffi-dev:amd64 (3.4.4-1) ... - Selecting previously unselected package libicu-dev:amd64. - Preparing to unpack .../29-libicu-dev_72.1-3_amd64.deb ... - Unpacking libicu-dev:amd64 (72.1-3) ... - Selecting previously unselected package libncurses6:amd64. - Preparing to unpack .../30-libncurses6_6.4-4_amd64.deb ... - Unpacking libncurses6:amd64 (6.4-4) ... - Selecting previously unselected package libncurses-dev:amd64. - Preparing to unpack .../31-libncurses-dev_6.4-4_amd64.deb ... - Unpacking libncurses-dev:amd64 (6.4-4) ... - Selecting previously unselected package libpfm4:amd64. - Preparing to unpack .../32-libpfm4_4.13.0-1_amd64.deb ... - Unpacking libpfm4:amd64 (4.13.0-1) ... - Selecting previously unselected package libtinfo-dev:amd64. - Preparing to unpack .../33-libtinfo-dev_6.4-4_amd64.deb ... - Unpacking libtinfo-dev:amd64 (6.4-4) ... - Selecting previously unselected package libxml2-dev:amd64. - Preparing to unpack .../34-libxml2-dev_2.9.14+dfsg-1.3~deb12u1_amd64.deb ... - Unpacking libxml2-dev:amd64 (2.9.14+dfsg-1.3~deb12u1) ... - Selecting previously unselected package libyaml-0-2:amd64. - Preparing to unpack .../35-libyaml-0-2_0.2.5-1_amd64.deb ... - Unpacking libyaml-0-2:amd64 (0.2.5-1) ... - Selecting previously unselected package libz3-dev:amd64. - Preparing to unpack .../36-libz3-dev_4.8.12-3.1_amd64.deb ... - Unpacking libz3-dev:amd64 (4.8.12-3.1) ... - Selecting previously unselected package llvm-15-runtime. - Preparing to unpack .../37-llvm-15-runtime_1%3a15.0.6-4+b1_amd64.deb ... - Unpacking llvm-15-runtime (1:15.0.6-4+b1) ... - Selecting previously unselected package llvm-15-linker-tools. - Preparing to unpack .../38-llvm-15-linker-tools_1%3a15.0.6-4+b1_amd64.deb ... - Unpacking llvm-15-linker-tools (1:15.0.6-4+b1) ... - Selecting previously unselected package llvm-15. - Preparing to unpack .../39-llvm-15_1%3a15.0.6-4+b1_amd64.deb ... - Unpacking llvm-15 (1:15.0.6-4+b1) ... - Selecting previously unselected package python3-pkg-resources. - Preparing to unpack .../40-python3-pkg-resources_66.1.1-1_all.deb ... - Unpacking python3-pkg-resources (66.1.1-1) ... - Selecting previously unselected package python3-pygments. - Preparing to unpack .../41-python3-pygments_2.14.0+dfsg-1_all.deb ... - Unpacking python3-pygments (2.14.0+dfsg-1) ... - Selecting previously unselected package python3-yaml. - Preparing to unpack .../42-python3-yaml_6.0-3+b2_amd64.deb ... - Unpacking python3-yaml (6.0-3+b2) ... - Selecting previously unselected package llvm-15-tools. - Preparing to unpack .../43-llvm-15-tools_1%3a15.0.6-4+b1_amd64.deb ... - Unpacking llvm-15-tools (1:15.0.6-4+b1) ... - Selecting previously unselected package llvm-15-dev. - Preparing to unpack .../44-llvm-15-dev_1%3a15.0.6-4+b1_amd64.deb ... - Unpacking llvm-15-dev (1:15.0.6-4+b1) ... - Setting up media-types (10.0.0) ... - Setting up libpipeline1:amd64 (1.5.7-1) ... - Setting up libicu72:amd64 (72.1-3) ... - Setting up libyaml-0-2:amd64 (0.2.5-1) ... - Setting up libpython3.11-stdlib:amd64 (3.11.2-6+deb12u2) ... - Setting up m4 (1.4.19-3) ... - Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u6) ... - Setting up libffi-dev:amd64 (3.4.4-1) ... - Setting up autotools-dev (20220109.1) ... - Setting up libz3-4:amd64 (4.8.12-3.1) ... - Setting up libpfm4:amd64 (4.13.0-1) ... - Setting up libnspr4:amd64 (2:4.35-1) ... - Setting up libncurses6:amd64 (6.4-4) ... - Setting up binfmt-support (2.2.2-2) ... - invoke-rc.d: could not determine current runlevel - invoke-rc.d: policy-rc.d denied execution of start. - Setting up icu-devtools (72.1-3) ... - Setting up libgc1:amd64 (1:8.2.2-3) ... - Setting up autoconf (2.71-3) ... - Setting up libc6-i386 (2.36-9+deb12u7) ... - Setting up libcurl4:amd64 (7.88.1-10+deb12u6) ... - Setting up curl (7.88.1-10+deb12u6) ... - Setting up libicu-dev:amd64 (72.1-3) ... - Setting up libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ... - Setting up libpython3-stdlib:amd64 (3.11.2-1+b1) ... - Setting up automake (1:1.16.5-1.3) ... - update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode - Setting up libz3-dev:amd64 (4.8.12-3.1) ... - Setting up python3.11 (3.11.2-6+deb12u2) ... - Setting up libncurses-dev:amd64 (6.4-4) ... - Setting up libobjc4:amd64 (12.2.0-14) ... - Setting up python3 (3.11.2-1+b1) ... - running python rtupdate hooks for python3.11... - running python post-rtupdate hooks for python3.11... - Setting up libnss3:amd64 (2:3.87.1-1) ... - Setting up libxml2-dev:amd64 (2.9.14+dfsg-1.3~deb12u1) ... - Setting up lib32gcc-s1 (12.2.0-14) ... - Setting up lib32stdc++6 (12.2.0-14) ... - Setting up libobjc-12-dev:amd64 (12.2.0-14) ... - Setting up libllvm15:amd64 (1:15.0.6-4+b1) ... - Setting up python3-pkg-resources (66.1.1-1) ... - Setting up libtinfo-dev:amd64 (6.4-4) ... - Setting up libclang-common-15-dev (1:15.0.6-4+b1) ... - Setting up llvm-15-linker-tools (1:15.0.6-4+b1) ... - Setting up nss-plugin-pem:amd64 (1.0.8+1-1) ... - Setting up python3-yaml (6.0-3+b2) ... - Setting up libclang1-15 (1:15.0.6-4+b1) ... - Setting up python3-pygments (2.14.0+dfsg-1) ... - Setting up libclang-cpp15 (1:15.0.6-4+b1) ... - Setting up llvm-15-runtime (1:15.0.6-4+b1) ... - Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u6) ... - Setting up libclang-cpp15-dev (1:15.0.6-4+b1) ... - Setting up llvm-15 (1:15.0.6-4+b1) ... - Setting up libclang-15-dev (1:15.0.6-4+b1) ... - Setting up llvm-15-tools (1:15.0.6-4+b1) ... - Setting up llvm-15-dev (1:15.0.6-4+b1) ... - Processing triggers for libc-bin (2.36-9+deb12u7) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved conf-libclang.15 (cached) -> installed conf-autoconf.0.2 -> retrieved dune.3.16.0 (cached) -> retrieved ocamlfind.1.9.6 (cached) -> retrieved stdcompat.19 (cached) -> installed ocamlfind.1.9.6 -> installed dune.3.16.0 -> installed stdcompat.19 -> installed conf-libclang.15 Done. # Run eval $(opam env) to update the current shell environment 2024-07-05 23:13.33 ---> saved as "12ef1e66f9e569e10a9e2026bfdcee4074431704ce5566e92ce8d0ee73606802" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall clangml.4.8.0;\ \n res=$?;\ \n test \"$res\" != 31 && exit \"$res\";\ \n export OPAMCLI=2.0;\ \n build_dir=$(opam var prefix)/.opam-switch/build;\ \n failed=$(ls \"$build_dir\");\ \n partial_fails=\"\";\ \n for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'clangml.4.8.0' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) clangml.4.8.0 is not installed. Install it? [y/n] y The following actions will be performed: === install 15 packages - install clangml 4.8.0 - install conf-ncurses 1 [required by clangml] - install conf-pkg-config 3 [required by conf-ncurses, conf-zlib] - install conf-zlib 1 [required by clangml] - install fix 20230505 [required by refl] - install metapp 0.4.4 [required by clangml] - install metaquot 0.5.2 [required by clangml] - install ocaml-compiler-libs v0.12.4 [required by ppxlib] - install ocaml-migrate-parsetree 2.4.0 (deprecated) [required by clangml] - install ppx_derivers 1.2.1 [required by ppxlib] - install ppxlib 0.32.1 [required by clangml] - install refl 0.4.1 [required by clangml] - install sexplib0 v0.17.0 [required by ppxlib] - install stdlib-shims 0.3.0 [required by ppxlib] - install traverse 0.3.0 [required by refl] The following system packages will first need to be installed: pkg-config zlib1g-dev <><> 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" "pkg-config" "zlib1g-dev" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libpkgconf3: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 ... 25808 files and directories currently installed.) - Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-1) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-1) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-1) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-1) ... - Selecting previously unselected package zlib1g-dev:amd64. - Preparing to unpack .../zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ... - Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ... - Setting up libpkgconf3:amd64 (1.8.1-1) ... - Setting up pkgconf-bin (1.8.1-1) ... - Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ... - Setting up pkgconf:amd64 (1.8.1-1) ... - Setting up pkg-config:amd64 (1.8.1-1) ... - Processing triggers for libc-bin (2.36-9+deb12u7) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved clangml.4.8.0 (cached) -> retrieved fix.20230505 (cached) -> installed conf-pkg-config.3 -> retrieved metapp.0.4.4 (cached) -> retrieved metaquot.0.5.2 (cached) -> retrieved ocaml-compiler-libs.v0.12.4 (cached) -> installed conf-ncurses.1 -> installed conf-zlib.1 -> retrieved ocaml-migrate-parsetree.2.4.0 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> installed ppx_derivers.1.2.1 -> retrieved ppxlib.0.32.1 (cached) -> retrieved refl.0.4.1 (cached) -> retrieved sexplib0.v0.17.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved traverse.0.3.0 (cached) -> installed fix.20230505 -> installed stdlib-shims.0.3.0 -> installed ocaml-compiler-libs.v0.12.4 -> installed sexplib0.v0.17.0 -> installed ocaml-migrate-parsetree.2.4.0 -> installed ppxlib.0.32.1 -> installed metapp.0.4.4 -> installed metaquot.0.5.2 -> installed traverse.0.3.0 -> installed refl.0.4.1 -> installed clangml.4.8.0 Done. <><> ocaml-migrate-parsetree.2.4.0 installed successfully <><><><><><><><><><><> => Note: This package is deprecated. # Run eval $(opam env) to update the current shell environment 2024-07-05 23:17.43 ---> saved as "962c7d96b2473cf350d7e9c3e28b81b9d1baf23b0d8aa2fec849be5e67224662" /home/opam: (run (network host) (shell "(opam reinstall --with-test clangml.4.8.0) || true")) The following actions will be performed: === recompile 1 package - recompile clangml 4.8.0 === install 4 packages - install cmdliner 1.3.0 [required by ocamlcodoc] - install ocamlcodoc 1.0.1 [required by clangml] - install pattern 0.3.2 [required by clangml] - install redirect 0.2.1 [required by ocamlcodoc] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved clangml.4.8.0 (https://github.com/thierry-martinez/clangml/releases/download/v4.8.0/clangml.4.8.0.tar.gz) -> retrieved cmdliner.1.3.0 (https://erratique.ch/software/cmdliner/releases/cmdliner-1.3.0.tbz) -> retrieved ocamlcodoc.1.0.1 (https://raw.githubusercontent.com/ocaml/opam-source-archives/HEAD/ocamlcodoc-v1.0.1.tar.gz) -> retrieved pattern.0.3.2 (https://github.com/thierry-martinez/pattern/releases/download/v0.3.2/pattern.0.3.2.tar.gz) -> retrieved redirect.0.2.1 (https://github.com/thierry-martinez/redirect/releases/download/v0.2.1/redirect-0.2.1.tar.gz) -> installed redirect.0.2.1 -> installed cmdliner.1.3.0 -> removed clangml.4.8.0 -> installed pattern.0.3.2 -> installed ocamlcodoc.1.0.1 -> installed clangml.4.8.0 Done. # Run eval $(opam env) to update the current shell environment 2024-07-05 23:21.54 ---> saved as "8af8cbea8c40e14666d0aeb7fc63e39dd36c3d67ad82477b0f4babd6607cf855" /home/opam: (run (shell "opam reinstall --with-test --verbose clangml.4.8.0;\ \n res=$?;\ \n test \"$res\" != 31 && exit \"$res\";\ \n export OPAMCLI=2.0;\ \n build_dir=$(opam var prefix)/.opam-switch/build;\ \n failed=$(ls \"$build_dir\");\ \n partial_fails=\"\";\ \n for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'clangml.4.8.0' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) The following actions will be performed: === recompile 1 package - recompile clangml 4.8.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/4: [clangml.4.8.0: extract] -> retrieved clangml.4.8.0 (cached) Processing 2/4: [clangml: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "--prefix=/home/opam/.opam/4.14" "--with-llvm-config=/usr/bin/llvm-config-15" (CWD=/home/opam/.opam/4.14/.opam-switch/build/clangml.4.8.0) - checking for a BSD-compatible install... /usr/bin/install -c - checking whether build environment is sane... yes - checking for a thread-safe mkdir -p... /usr/bin/mkdir -p - checking for gawk... no - checking for mawk... mawk - checking whether make sets $(MAKE)... yes - checking whether make supports nested variables... yes - checking whether ln -s works... yes - checking for bootstrap/ sub-directory... yes - checking for ocamlfind... ocamlfind - checking for ocamlfind package stdcompat... yes - checking for ocamlfind package ppxlib... yes - checking for ocamlfind package refl... yes - checking OCaml version... 4.14.2 - checking for dune... dune - checking for ocamlcodoc... ocamlcodoc - checking for install_name_tool... no - checking for brew... no - checking for llvm-config... /usr/bin/llvm-config-15 - checking llvm-config version... 15.0.6 - checking whether make supports the include directive... yes (GNU style) - checking for gcc... gcc - checking whether the C compiler works... yes - checking for C compiler default output file name... a.out - checking for suffix of executables... - checking whether we are cross compiling... no - checking for suffix of object files... o - checking whether we are using the GNU C compiler... yes - checking whether gcc accepts -g... yes - checking for gcc option to accept ISO C89... none needed - checking whether gcc understands -c and -o together... yes - checking dependency style of gcc... none - checking how to run the C preprocessor... gcc -E - checking for grep that handles long lines and -e... /usr/bin/grep - checking for egrep... /usr/bin/grep -E - checking for ANSI C header files... yes - checking for sys/types.h... yes - checking for sys/stat.h... yes - checking for stdlib.h... - yes - checking for string.h... yes - checking for memory.h... yes - checking for strings.h... yes - checking for inttypes.h... yes - checking for stdint.h... yes - checking for unistd.h... yes - checking clang-c/Index.h usability... yes - checking clang-c/Index.h presence... no - configure: WARNING: clang-c/Index.h: accepted by the compiler, rejected by the preprocessor! - configure: WARNING: clang-c/Index.h: proceeding with the compiler's result - checking for clang-c/Index.h... yes - checking for clang_createIndex in -lclang... yes - checking for library containing del_curterm... -lcurses - checking for g++... g++ - checking whether we are using the GNU C++ compiler... yes - checking whether g++ accepts -g... yes - checking dependency style of g++... none - checking for disabling GLIBCXX_USE_CXX11_ABI... not required - checking if -lclangAST -lclangLex -lclangBasic is available... - yes - configure: initialize build tree - checking whether to enable maintainer-specific portions of Makefiles... no - checking that generated files are newer than configure... done - configure: creating ./config.status - config.status: creating Makefile - config.status: creating config/cflags.sexp - config.status: creating config/cxxflags.sexp - config.status: creating config/ldflags.sexp - config.status: creating config/ldflags_quoted.sexp - config.status: creating config/libs.sexp - config.status: creating config/libs_quoted.sexp - config.status: creating config/clangml_config.ml - config.status: executing depfiles commands Processing 2/4: [clangml: ./build_with_bigger_stack_size.sh dune] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./build_with_bigger_stack_size.sh" "dune" "build" "-p" "clangml" "-j" "39" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/clangml.4.8.0) - (cd _build/default && .ppx/f0866b7f92900945015831336df0cee1/ppx.exe --cookie 'library-name="clang"' -o clangml/special_bindings.pp.ml --impl clangml/special_bindings.ml -corrected-suffix .ppx-corrected -diff-cmd - -dump-ast) - findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Clangml_config, and its interface was not compiled with -opaque - (cd _build/default && .ppx/f0866b7f92900945015831336df0cee1/ppx.exe --cookie 'library-name="clang"' -o clangml/clang__utils.pp.mli --intf clangml/clang__utils.mli -corrected-suffix .ppx-corrected -diff-cmd - -dump-ast) - findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Clangml_config, and its interface was not compiled with -opaque - (cd _build/default && .ppx/f0866b7f92900945015831336df0cee1/ppx.exe --cookie 'library-name="clang"' -o clangml/clang__utils.pp.ml --impl clangml/clang__utils.ml -corrected-suffix .ppx-corrected -diff-cmd - -dump-ast) - findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Clangml_config, and its interface was not compiled with -opaque - (cd _build/default && .ppx/f0866b7f92900945015831336df0cee1/ppx.exe --cookie 'library-name="clang"' -o clangml/standard.pp.ml --impl clangml/standard.ml -corrected-suffix .ppx-corrected -diff-cmd - -dump-ast) - findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Clangml_config, and its interface was not compiled with -opaque - (cd _build/default && .ppx/f0866b7f92900945015831336df0cee1/ppx.exe --cookie 'library-name="clang"' -o clangml/clang.pp.ml --impl clangml/clang.ml -corrected-suffix .ppx-corrected -diff-cmd - -dump-ast) - findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Clangml_config, and its interface was not compiled with -opaque - (cd _build/default && .ppx/f0866b7f92900945015831336df0cee1/ppx.exe --cookie 'library-name="clang"' -o clangml/attributes.pp.ml --impl clangml/attributes.ml -corrected-suffix .ppx-corrected -diff-cmd - -dump-ast) - findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Clangml_config, and its interface was not compiled with -opaque - (cd _build/default && .ppx/46dfd6f3713d5fcc7edfb69c4e9cd8f3/ppx.exe -o tests/ast/ast.pp.ml --impl tests/ast/ast.ml -corrected-suffix .ppx-corrected -diff-cmd - -dump-ast) - findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Clangml_config, and its interface was not compiled with -opaque - (cd _build/default/examples/parse_expression && ./parse_expression.exe) - { decoration = <opaque>; - desc = - BinaryOperator - { lhs = - { decoration = <opaque>; - desc = - DeclRef - ({ nested_name_specifier = None; name = IdentifierName ("i"); - template_arguments = [] }) - }; - kind = Add; - rhs = - { decoration = <opaque>; - desc = - StringLiteral ({ byte_width = 1; bytes = "a"; string_kind = Ordinary }) - } - } - } - (cd _build/default/tests/ppx && ./ppx.exe) - int x = 4; - - int f(int x) - {x ++; - return 0;} - - 1 + 1 - ++ x - void * - 1 + 42 - int * - int *[2] - return 1; - int - 4 - 'a' - 0 == 1 - "a" - "b" - class X { - public:; - int x; - X() {x = 0;}; - }; - - (cd _build/default/tests/cpp && ./cpp.exe) - Compiling: - - #include <typeinfo> - class D { public: D() {} }; - D d1; - const D d2; - - void f() { - typeid(d1) == typeid(d2); - typeid(D) == typeid(const D); - typeid(D) == typeid(d2); - typeid(D) == typeid(const D&); - } - - <string>.c:8: warning: equality comparison result unused - <string>.c:9: warning: equality comparison result unused - <string>.c:10: warning: equality comparison result unused - <string>.c:11: warning: equality comparison result unused - - (cd _build/default/tests/ast && ./ast.exe) - Debian clang version 15.0.6 - const int one = 1; - - int x; - - volatile int x; - - int x; - - int * restrict x; - - int * x; - - char *s; - - char s[21 * 2]; - - void f(char s[21 * 2]); - - - #include <stdint.h> - int32_t __attribute__((vector_size(16))) v; - - - struct s { int i; char array[]; }; - - void f(int i, char array[i]); - - enum example { A, B, C }; enum example e; - - enum { A, B, C } e; - - int (*p)(void); - - int (*p)(int x); - - struct { int i; float f; } s; - - union { int i; float f; } u; - - typedef struct { int i; float f; } struct_t; struct_t s; - - double _Complex c; - - float _Complex c; - - int * _Nonnull ptr; - - void * __ptr32 p; - - int f(char(*)[]); - - int (*p)(void); - - _Bool s; - - auto i = 1; - - decltype(1) i = 1; - - _Atomic _Bool b; - - - struct T { - int i; - }; - - - - struct T { - int i; - }; - - - inline void f(void); - - constexpr void f(void); - - void f(void); - - __attribute((pcs("aapcs"))) void f(void); - - void f(void); - - f(void); - - void f(void); - - void f(); - - void f() noexcept; - - void f() noexcept(true); - - void f() noexcept(false); - - - template <bool b> void f() noexcept(b); - - - void f() throw(); - - void f() throw(int); - - void f() throw(...); - - - template <typename T> - class C - { - T no_ref_qualifier(); - T& value() &; - T&& value() &&; - T const& value() const&; - }; - - - void f(int i); - - void f(int); - - typedef void (*f)(int x); - - void f(int i = 1) {} - - void f(int i, ...); - - ; - - {} - - {;;} - - for (;;) {} - - int i; for (i = 0; i < 4; i++) { } - - for (int i = 0; i < 4; i++) { } - - for (int i = 0; int j = i - 1; i--) { } - - - int a[] = {1, 2}; - for (int i : a) {} - - - if (1) { 2; } else { 3; } - <string>.c:1: warning: expression result unused - - if (1) { 2; } - <string>.c:1: warning: expression result unused - - if (int i = 1) { i; } - <string>.c:1: warning: expression result unused - - if (int i = 1; i) { i; } - <string>.c:1: warning: 'if' initialization statements are a C++17 extension - <string>.c:1: warning: expression result unused - - switch (1) { case 1: f(); break; case 2: break; default:;} - - switch (int i = 1) { case 1: f(); break; case 2: break; default:;} - - switch (int i = 1; i) { case 1: f(); break; case 2: break; default:;} - <string>.c:1: warning: - 'switch' initialization statements are a C++17 extension - - switch (1) { case 1: f(); break; case 2 ... 3: break; default:;} - - switch (1) { case 1: case 2: case 3: default: ;} - - while (1); - - while (int i = 1) { i; } - <string>.c:1: warning: expression result unused - - do; while (1); - - do { f(); } while (1); - - label: 1; 2; - <string>.c:1: warning: expression result unused - <string>.c:1: warning: expression result unused - - label: 1; goto label; - <string>.c:1: warning: expression result unused - - label: 1; void *ptr = &&label; goto *ptr; - <string>.c:1: warning: expression result unused - - for (;;) continue; - - for (;;) break; - - - int src = 1; - int dst; - - asm ("mov %1, %0\n\t" - "add $1, %0" - : "=r" (dst) - : "r" (src)); - - - return; - - return 1; - - - __attribute__((abi_tag("a", "b"))) float f; - - - - int mu; - - void lockAndInit() __attribute__((acquire_capability(mu))); - - - - struct { - _Alignas(32) float f; - }; - - <string>.c:2: warning: declaration does not declare anything - - - struct alignas(32) s { - float f; - }; - - - - struct { - _Alignas(double) float f; - }; - - <string>.c:2: warning: declaration does not declare anything - - - struct alignas(double) s { - float f; - }; - - - - void *a(int align) __attribute__((alloc_align(1))); - - - - void *my_malloc(int a) __attribute__((alloc_size(1))); - void *my_calloc(int a, int b) __attribute__((alloc_size(1, 2))); - - - - int mu; - - void cleanupAndUnlock() __attribute__((release_capability(mu))); - - - - _Noreturn void f(void); - - - 0; - <string>.c:1: warning: expression result unused - - 0; - <string>.c:1: warning: expression result unused - - 4611686018427387903; - <string>.c:1: warning: expression result unused - - 4611686018427387904; - <string>.c:1: warning: expression result unused - - 42; - <string>.c:1: warning: expression result unused - - 0xFF; - <string>.c:1: warning: expression result unused - - 0.5; - <string>.c:1: warning: expression result unused - - 0.5; - <string>.c:1: warning: expression result unused - - "Hello!"; - <string>.c:1: warning: expression result unused - - 'a'; - <string>.c:1: warning: expression result unused - - L'a'; - <string>.c:1: warning: expression result unused - - u8'a'; - <string>.c:1: warning: expression result unused - - u'a'; - <string>.c:1: warning: expression result unused - - 1i; - <string>.c:1: warning: expression result unused - - 2.5i; - <string>.c:1: warning: expression result unused - - true; - <string>.c:1: warning: expression result unused - - false; - <string>.c:1: warning: expression result unused - - nullptr; - <string>.c:1: warning: expression result unused - - +1; - <string>.c:1: warning: expression result unused - - int x; &x; - <string>.c:1: warning: expression result unused - - 1 + 2; - <string>.c:1: warning: expression result unused - - int i = 2; i *= 3; - - int i; i; - <string>.c:1: warning: expression result unused - - { int i; i; } { int i; i; } - <string>.c:1: warning: expression result unused - <string>.c:1: warning: expression result unused - - void g(int); g(1); - - (void * ) "Hello"; - <string>.c:1: warning: - expression result unused; should this cast be to 'void'? - - int i; i; - <string>.c:1: warning: expression result unused - - struct s { int i; } s; s.i = 0; - - struct s { int i; } *p; p->i = 0; - - int a[1]; a[0] = 1; - - 1 ? 2 : 3; - <string>.c:1: warning: expression result unused - - 1 ? : 3; - <string>.c:1: warning: expression result unused - - (1); - <string>.c:1: warning: expression result unused - - (1); - <string>.c:1: warning: expression result unused - - int i; sizeof(i); - <string>.c:1: warning: expression result unused - - label: &&label; - <string>.c:1: warning: expression result unused - - int a[2] = { 1, 2 }; - - (int []) { 1, 2 }; - <string>.c:1: warning: expression result unused - - int i; sizeof(i); - <string>.c:1: warning: expression result unused - - sizeof(int); - <string>.c:1: warning: expression result unused - - alignof(int); - <string>.c:1: warning: expression result unused - - alignof(int); - <string>.c:1: warning: expression result unused - - - _Generic("expr", double: 1, float: 2, default: 3); - - <string>.c:2: warning: expression result unused - - - void - myfunc(void) - { - const char *_s = __func__; - } - - - - struct T {}; - void - f(void) - { - T* t = new T(); - delete t; - } - - - - void - f(void) - { - int* t = new int[10]; - delete[] t; - } - - - - struct T {}; - void - f(void) - { - T* t = new T(); - ::delete t; - } - - - noexcept(1); - <string>.c:1: warning: expression result unused - - - struct { int a; int b } x = { 1 }; - - <string>.c:2: warning: expected ';' at end of declaration list - - - template<typename T> concept Addable = requires (T x) { x + x; }; - - - - template <class X> - class C { - int x; - C(C* f) : x(f->x) { } - }; - - - - struct { - int a; - int b; - } s = { .a = 1, .b = 2 }; - - - template <class X, int i> int f(X); - - - template <class X = bool, int i = 4> - class C { X x; int v = i; }; - - - - class C { - template <class X> - int f(X x); - }; - - template <class X> - int C::f(X x) - { - return 0; - } - - - template<class T> - class C { - void f(T x); - }; - - template<class T> - void C<T>::f(T x) {} - - - template<class ... Types> struct Tuple {}; - - - template<typename T> requires (sizeof(T) > 1) - void f(T); - - - int f(void) { return 0; } - - static int f(int x); - - - template<long n> struct A { }; - template<typename T> struct C; - template<typename T, T n> struct C<A<n>> { - using Q = T; - }; - - - - class C { - int f(char); - void const_method() const { - } - virtual void virtual_method() { - } - virtual void pure_virtual_method() = 0; - static void static_method() { - } - void deleted_method() =delete; - C &operator+(C &rhs) { - return *this; - } - }; - - int C::f(char c) { - return 0; - } - - - - class C { - virtual void virtual_method(); - }; - - - - class C { - virtual void virtual_method(); - }; - - - int x = 1; - - const int x = 1; - - static int x = 1; - - int var1 asm("altvar") = 1; - - enum e { A, B = 2, C }; - - - enum __attribute__((enum_extensibility(closed))) ClosedEnum { - A0, A1 - }; - - enum __attribute__((enum_extensibility(open))) OpenEnum { - B0, B1 - }; - - enum __attribute__((enum_extensibility(closed),flag_enum)) ClosedFlagEnum { - C0 = 1 << 0, C1 = 1 << 1 - }; - - enum __attribute__((enum_extensibility(open),flag_enum)) OpenFlagEnum { - D0 = 1 << 0, D1 = 1 << 1 - }; - - - struct s { int i; float f; }; - - struct s { int a:1; int b:2; int c; }; - - union u { int i; float f; }; - - union u { int a:1; int b:2; int c; }; - - struct s { int label; union { int i; float f; };}; - - union s { int single; struct { int i; float f; };}; - - typedef int int_t; - - typedef union u { int i; float f; } u_t; - - typedef union { int i; float f; } u_t; - - - struct s { int label : 1; union u { int i; float f; } data;}; - - - class C { int i = 1; }; - - class C { int i : 3 = 2; }; - - - template<typename T, typename Alloc> struct my_vector { - T *p; - [[no_unique_address]] Alloc alloc; - // ... - }; - - - - struct { - struct { - int a; - }; - } b; - - - - struct { - struct { - int a; - }; - } b; - - - - struct { - struct { - int a; - }; - } b; - - - - class c { - private: int private_field; - protected: int protected_field; - public: int public_field; - }; - - - - namespace example { - int i; - } - - - - inline namespace example { - int i; - } - - - - namespace std {} - using namespace std; - - - - namespace std { - void cout() {} - } - using std::cout; - - - - struct T {}; - - - - struct T {}; - - - - class C { - int i; - C() = delete; - explicit C(int v) : i(v) { - } - }; - - - - class C { - C() =default; - }; - - - - class C { - ~C() { - } - }; - - - - class C { - ~C() =default; - }; - - - - extern "C" { - int i; - - void f() { - } - } - - - - extern "C++" { - int i; - - void f() { - } - } - - - - class C { - friend void f(); - friend class B; - }; - - - - template <typename T> class C { - friend T; // only in C++0x - }; - - - - class C { - template <typename T> friend class B; - }; - - - - namespace N { int d; } - namespace N1 = N; - - - ; - - template<class T> concept C1 = true; - - template<typename T> concept A = T::value || true; - - - export module M; - export namespace NS {} - - - - class A {}; - - class B : A { - B() : A() {}; - }; - - - - class C { - C(int x) {}; - C() : C(1) {}; - }; - - - - class C { - int i; - C() : i(0) {}; - }; - - - - class C { - struct { - int i; - }; - C() : i(0) {}; - }; - - - - class A {}; - class B : A {}; - - - - class A {}; - class B : virtual A {}; - - - - class A {}; - class B : private A {}; - class C : protected A {}; - class D : public A {}; - - - - namespace ns1 { - namespace ns2 { - int f() { - return 0; - } - } - } - - int g() { - return ns1::ns2::f(); - } - - - - class C { - public: - enum E { - A, B - }; - }; - - C::E g() { - return C::E::A; - } - - - - template <class X, typename Y = bool> - class C { X x; Y y; }; - - - - template <int i = 4> - class C { int v = i; }; - - - - template<typename T> class Default {}; - - template <template<typename> class T = Default> - class C { - T<bool> x; - T<int> y; - }; - - - - template <template<int... > class T> - class C { - T<1, 2, 3> x; - }; - - - const int i = 1; int a[i + 1]; - <string>.c:1: warning: - variable length array folded to constant array as an extension - - void f(int i, int a[i + 1]); - - const int i = 1; void f(int a[][i + 1]); - - void f(int **a); - - - typedef int (^IntBlock)(); - - - - struct S { - int i; - }; - int S::*p; - - - int (*p)(int x[1 + 1]); - - const int i = 1; - - 228 successes and 0 failure. -> compiled clangml.4.8.0 -> removed clangml.4.8.0 -> installed clangml.4.8.0 Done. # Run eval $(opam env) to update the current shell environment 2024-07-05 23:25.37 ---> saved as "dbe3ca6fe967411c7e121c4e07e3b34c15b2a5a7190a877b42e7d58d15d9b9e2" Job succeeded 2024-07-05 23:26.21: Job succeeded