(for PR #29245)

2026-01-19 12:14.42: New job: build yultracer.0.2.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29245/head (1b8395389461403e61fb20db739d2d5ed7c48e55)
                              on fedora-43-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/29245/head" && git reset --hard 1b839538
git fetch origin master
git merge --no-edit 39960ffbaf3e5b50a1e354d4c99bfecc01e358ca
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-43-ocaml-4.14@sha256:c1f9cb6eead47028ef608b17f0db8509310b95cab84cf6696268cba32d3d7c8c
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
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 yultracer.0.2.0 0.2.0
RUN opam reinstall yultracer.0.2.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 "\"fedora-43\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'yultracer.0.2.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 .

2026-01-19 12:14.42: Using cache hint "ocaml/opam:fedora-43-ocaml-4.14@sha256:c1f9cb6eead47028ef608b17f0db8509310b95cab84cf6696268cba32d3d7c8c-yultracer.0.2.0-1b8395389461403e61fb20db739d2d5ed7c48e55"
2026-01-19 12:14.42: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-4.14@sha256:c1f9cb6eead47028ef608b17f0db8509310b95cab84cf6696268cba32d3d7c8c)
 (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 "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (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 yultracer.0.2.0 0.2.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall yultracer.0.2.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 \"\\\"fedora-43\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'yultracer.0.2.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-19 12:14.42: Waiting for resource in pool OCluster
2026-01-19 12:14.42: Waiting for worker…
2026-01-19 12:14.44: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 39960ffbaf Merge pull request #29193 from recoules/release-binsec-0.11.0
Updating 39960ffbaf..1b83953894
Fast-forward
 packages/yultracer/yultracer.0.2.0/opam | 35 +++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 packages/yultracer/yultracer.0.2.0/opam

(from ocaml/opam:fedora-43-ocaml-4.14@sha256:c1f9cb6eead47028ef608b17f0db8509310b95cab84cf6696268cba32d3d7c8c)
Unable to find image 'ocaml/opam:fedora-43-ocaml-4.14@sha256:c1f9cb6eead47028ef608b17f0db8509310b95cab84cf6696268cba32d3d7c8c' locally
docker.io/ocaml/opam@sha256:c1f9cb6eead47028ef608b17f0db8509310b95cab84cf6696268cba32d3d7c8c: Pulling from ocaml/opam
1216d224fefc: Pulling fs layer
4450b286db51: Pulling fs layer
f213d9630a58: Pulling fs layer
1ac91c863c9f: Pulling fs layer
ac7b6a59d354: Pulling fs layer
a03d1fec0c66: Pulling fs layer
414a632f94f5: Pulling fs layer
1216d224fefc: Waiting
540f8b551429: Pulling fs layer
4450b286db51: Waiting
361086872251: Pulling fs layer
f213d9630a58: Waiting
2989232f16a8: Pulling fs layer
1ac91c863c9f: Waiting
a03d1fec0c66: Waiting
f88fa47cb23c: Pulling fs layer
ac7b6a59d354: Waiting
af81cf998b8f: Pulling fs layer
2989232f16a8: Waiting
28be2fb954ce: Pulling fs layer
540f8b551429: Waiting
361086872251: Waiting
13f4118261b3: Pulling fs layer
f88fa47cb23c: Waiting
e78605d71ed6: Pulling fs layer
af81cf998b8f: Waiting
3a1cb5320a48: Pulling fs layer
13f4118261b3: Waiting
e78605d71ed6: Waiting
3f95bc4266d5: Pulling fs layer
3a1cb5320a48: Waiting
0b35382c4b95: Pulling fs layer
12585c66f435: Pulling fs layer
2d3c3473a4a6: Pulling fs layer
12585c66f435: Waiting
4f4fb700ef54: Pulling fs layer
2d3c3473a4a6: Waiting
1fbe30a19755: Pulling fs layer
1698c4cd8226: Pulling fs layer
4f4fb700ef54: Waiting
80b290b946a7: Pulling fs layer
8b5844f332b6: Pulling fs layer
1fbe30a19755: Waiting
7c01a2763d75: Pulling fs layer
1698c4cd8226: Waiting
91166a944545: Pulling fs layer
e000500a44ce: Pulling fs layer
80b290b946a7: Waiting
0f4245cfdbe4: Pulling fs layer
5261d8b1bc2a: Pulling fs layer
5590dfe80454: Pulling fs layer
8b5844f332b6: Waiting
91166a944545: Waiting
7c01a2763d75: Waiting
5366cceadfa5: Pulling fs layer
e000500a44ce: Waiting
0f4245cfdbe4: Waiting
c066a2eba5de: Pulling fs layer
5590dfe80454: Waiting
5366cceadfa5: Waiting
31bbf36f42e6: Pulling fs layer
bc06542236b0: Pulling fs layer
c066a2eba5de: Waiting
1ebbc845c9c9: Pulling fs layer
31bbf36f42e6: Waiting
cb497f5f5e6d: Pulling fs layer
bc06542236b0: Waiting
71e586ec76e7: Pulling fs layer
d676cdc0c9b3: Pulling fs layer
4ef8e759a91d: Pulling fs layer
71e586ec76e7: Waiting
44b8c5e14f26: Pulling fs layer
d676cdc0c9b3: Waiting
f452dceffd91: Pulling fs layer
44b8c5e14f26: Waiting
fd9d4969926a: Pulling fs layer
40f03219d50f: Pulling fs layer
f452dceffd91: Waiting
fd9d4969926a: Waiting
40f03219d50f: Waiting
4450b286db51: Download complete
1216d224fefc: Verifying Checksum
1216d224fefc: Download complete
ac7b6a59d354: Verifying Checksum
ac7b6a59d354: Download complete
a03d1fec0c66: Verifying Checksum
a03d1fec0c66: Download complete
414a632f94f5: Verifying Checksum
414a632f94f5: Download complete
1216d224fefc: Pull complete
4450b286db51: Pull complete
540f8b551429: Verifying Checksum
540f8b551429: Download complete
361086872251: Verifying Checksum
361086872251: Download complete
f213d9630a58: Verifying Checksum
f213d9630a58: Download complete
f88fa47cb23c: Download complete
2989232f16a8: Verifying Checksum
2989232f16a8: Download complete
af81cf998b8f: Verifying Checksum
af81cf998b8f: Download complete
13f4118261b3: Download complete
28be2fb954ce: Verifying Checksum
28be2fb954ce: Download complete
e78605d71ed6: Download complete
3a1cb5320a48: Verifying Checksum
3a1cb5320a48: Download complete
3f95bc4266d5: Download complete
0b35382c4b95: Download complete
12585c66f435: Verifying Checksum
12585c66f435: Download complete
2d3c3473a4a6: Verifying Checksum
2d3c3473a4a6: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
f213d9630a58: Pull complete
1fbe30a19755: Verifying Checksum
1fbe30a19755: Download complete
1698c4cd8226: Verifying Checksum
1698c4cd8226: Download complete
80b290b946a7: Verifying Checksum
80b290b946a7: Download complete
8b5844f332b6: Verifying Checksum
8b5844f332b6: Download complete
7c01a2763d75: Verifying Checksum
7c01a2763d75: Download complete
91166a944545: Verifying Checksum
91166a944545: Download complete
e000500a44ce: Verifying Checksum
e000500a44ce: Download complete
0f4245cfdbe4: Verifying Checksum
0f4245cfdbe4: Download complete
5261d8b1bc2a: Verifying Checksum
5261d8b1bc2a: Download complete
5590dfe80454: Verifying Checksum
5590dfe80454: Download complete
5366cceadfa5: Verifying Checksum
5366cceadfa5: Download complete
c066a2eba5de: Verifying Checksum
c066a2eba5de: Download complete
bc06542236b0: Verifying Checksum
bc06542236b0: Download complete
31bbf36f42e6: Verifying Checksum
31bbf36f42e6: Download complete
cb497f5f5e6d: Verifying Checksum
cb497f5f5e6d: Download complete
71e586ec76e7: Download complete
d676cdc0c9b3: Download complete
4ef8e759a91d: Verifying Checksum
4ef8e759a91d: Download complete
44b8c5e14f26: Verifying Checksum
44b8c5e14f26: Download complete
f452dceffd91: Verifying Checksum
f452dceffd91: Download complete
fd9d4969926a: Verifying Checksum
fd9d4969926a: Download complete
40f03219d50f: Verifying Checksum
40f03219d50f: Download complete
1ebbc845c9c9: Verifying Checksum
1ebbc845c9c9: Download complete
1ac91c863c9f: Download complete
1ac91c863c9f: Pull complete
ac7b6a59d354: Pull complete
a03d1fec0c66: Pull complete
414a632f94f5: Pull complete
540f8b551429: Pull complete
361086872251: Pull complete
2989232f16a8: Pull complete
f88fa47cb23c: Pull complete
af81cf998b8f: Pull complete
28be2fb954ce: Pull complete
13f4118261b3: Pull complete
e78605d71ed6: Pull complete
3a1cb5320a48: Pull complete
3f95bc4266d5: Pull complete
0b35382c4b95: Pull complete
12585c66f435: Pull complete
2d3c3473a4a6: Pull complete
4f4fb700ef54: Pull complete
1fbe30a19755: Pull complete
1698c4cd8226: Pull complete
80b290b946a7: Pull complete
8b5844f332b6: Pull complete
7c01a2763d75: Pull complete
91166a944545: Pull complete
e000500a44ce: Pull complete
0f4245cfdbe4: Pull complete
5261d8b1bc2a: Pull complete
5590dfe80454: Pull complete
5366cceadfa5: Pull complete
c066a2eba5de: Pull complete
31bbf36f42e6: Pull complete
bc06542236b0: Pull complete
1ebbc845c9c9: Pull complete
cb497f5f5e6d: Pull complete
71e586ec76e7: Pull complete
d676cdc0c9b3: Pull complete
4ef8e759a91d: Pull complete
44b8c5e14f26: Pull complete
f452dceffd91: Pull complete
fd9d4969926a: Pull complete
40f03219d50f: Pull complete
Digest: sha256:c1f9cb6eead47028ef608b17f0db8509310b95cab84cf6696268cba32d3d7c8c
Status: Downloaded newer image for ocaml/opam@sha256:c1f9cb6eead47028ef608b17f0db8509310b95cab84cf6696268cba32d3d7c8c
2026-01-19 12:15.17 ---> using "5292c797405748bf076c52d923e8095c7a877970c7b7d48dc45166e5bb126aac" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-19 12:15.17 ---> using "18d2fa594130badfe1c79075d453a295259e254a7d44f09c83534c74f3b4f043" 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.

Continue? [Y/n] y
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] synchronised from git+https://github.com/ocurrent/opam-repository#patches
[default] Initialised
2026-01-19 12:15.17 ---> using "80dd19713060494ff869ac53a5af00a6de1b5d868be003311c87e6943349ab0c" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=fedora os-version=43
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         2 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-01-19 12:15.17 ---> using "ad22e3639a4900b02442a98dc10024465f3457e3a5c36bdf8d87d33efe321910" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/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/"))
2026-01-19 12:15.17 ---> using "3458b8a729e7a4b21cbecb3b27b02f6ef66cf91869d5396bc163edfc279aaa76" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-19 12:15.26 ---> saved as "425402b6b5b3608dd0ae6a1a0e2bbd4b5fae4e257fcce53e8aae5e031c4d4cb0"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-19 12:15.47 ---> saved as "5e17cf606ad7b5a8ea03c34e067b73d7a627ef84a99fe1e58fb5a37b82316065"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 43 - x86_64 - Updates           100% |   1.2 KiB/s |   6.1 KiB |  00m05s
- Repositories loaded.
- Metadata cache created.
2026-01-19 12:15.55 ---> saved as "6fd93cd6dcc32255257a4de8bf8916eb08b116904c6458ec31dc7a2f796801ec"

/home/opam: (run (shell "opam pin add -k version -yn yultracer.0.2.0 0.2.0"))
yultracer is now pinned to version 0.2.0
2026-01-19 12:15.56 ---> saved as "6a278989268bc50c61185f7514cdbcda01fb82999d608276cbecae8079cdcbf8"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall yultracer.0.2.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 \"\\\"fedora-43\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'yultracer.0.2.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
yultracer.0.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 6 packages
  - install dune      3.21.0         [required by yultracer]
  - install menhir    20250912       [required by yultracer]
  - install menhirCST 20250912       [required by menhir]
  - install menhirLib 20250912       [required by menhir]
  - install menhirSdk 20250912       [required by menhir]
  - install yultracer 0.2.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved yultracer.0.2.0  (https://github.com/LaifsV1/YulTracer/releases/download/v0.2.0/yultracer-v0.2.0-source-no-tests.tar.xz)
-> installed dune.3.21.0
-> installed menhirCST.20250912
-> installed menhirSdk.20250912
-> installed menhirLib.20250912
-> installed menhir.20250912
[ERROR] The compilation of yultracer.0.2.0 failed at "dune build -p yultracer -j 255".

#=== ERROR while compiling yultracer.0.2.0 ====================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | pinned(https://github.com/LaifsV1/YulTracer/releases/download/v0.2.0/yultracer-v0.2.0-source-no-tests.tar.xz)
# path                 ~/.opam/4.14/.opam-switch/build/yultracer.0.2.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p yultracer -j 255
# exit-code            1
# env-file             ~/.opam/log/yultracer-7-298756.env
# output-file          ~/.opam/log/yultracer-7-298756.out
### output ###
# File "lib/abi_parser/dune", line 3, characters 12-18:
# 3 |  (libraries yojson str)
#                 ^^^^^^
# Error: Library "yojson" not found.
# -> required by library "abi_parser" in _build/default/lib/abi_parser
# -> required by executable yult in bin/dune:2
# -> required by _build/default/bin/yult.exe
# -> required by _build/install/default/bin/yult
# -> required by _build/default/yultracer.install
# -> required by alias install



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build yultracer 0.2.0
+- 
+- The following changes have been performed
| - install dune      3.21.0
| - install menhir    20250912
| - install menhirCST 20250912
| - install menhirLib 20250912
| - install menhirSdk 20250912
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260119121558.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall yultracer.0.2.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 "\"fedora-43\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'yultracer.0.2.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2026-01-19 12:16.43: Job failed: Failed: Build failed
2026-01-19 12:16.43: Log analysis:
2026-01-19 12:16.43: >>> 
[ERROR] The compilation of yultracer.0.2.0 failed at "dune build -p yultracer -j 255".
 (score = 20)
2026-01-19 12:16.43: >>> 
# Error: Library "yojson" not found.
 (score = 48)
2026-01-19 12:16.43: Library "yojson" not found.