Build:
- 0
2026-02-15 13:41.13: New job: test windtrap.0.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29387/head (a1ea8c4b8acac9a87652246f1e4d603cb2c46086)
on ubuntu-22.04-ocaml-5.4/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/29387/head" && git reset --hard a1ea8c4b
git fetch origin master
git merge --no-edit 66fe1c299d8a0fe922268a88a05ccf4bee097900
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:4f96e807e6bf244d4255f6055f496bb462a3dc27a8b77b7410667ea18abff28c
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 windtrap.0.1.0 0.1.0
RUN opam reinstall windtrap.0.1.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 "\"ubuntu-22.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'windtrap.0.1.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 windtrap.0.1.0) || true
RUN opam reinstall --with-test --verbose windtrap.0.1.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 "\"ubuntu-22.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'windtrap.0.1.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-02-15 13:41.13: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:4f96e807e6bf244d4255f6055f496bb462a3dc27a8b77b7410667ea18abff28c-windtrap.0.1.0-a1ea8c4b8acac9a87652246f1e4d603cb2c46086"
2026-02-15 13:41.13: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:4f96e807e6bf244d4255f6055f496bb462a3dc27a8b77b7410667ea18abff28c)
(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 windtrap.0.1.0 0.1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall windtrap.0.1.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 \"\\\"ubuntu-22.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'windtrap.0.1.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 windtrap.0.1.0) || true"))
(run (shell "opam reinstall --with-test --verbose windtrap.0.1.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 \"\\\"ubuntu-22.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'windtrap.0.1.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-02-15 13:41.13: Waiting for resource in pool OCluster
2026-02-15 13:41.14: Waiting for worker…
2026-02-15 13:41.15: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files: 66% (12193/18212)
Updating files: 67% (12203/18212)
Updating files: 68% (12385/18212)
Updating files: 69% (12567/18212)
Updating files: 70% (12749/18212)
Updating files: 71% (12931/18212)
Updating files: 72% (13113/18212)
Updating files: 73% (13295/18212)
Updating files: 74% (13477/18212)
Updating files: 75% (13659/18212)
Updating files: 76% (13842/18212)
Updating files: 77% (14024/18212)
Updating files: 78% (14206/18212)
Updating files: 79% (14388/18212)
Updating files: 80% (14570/18212)
Updating files: 81% (14752/18212)
Updating files: 82% (14934/18212)
Updating files: 83% (15116/18212)
Updating files: 84% (15299/18212)
Updating files: 85% (15481/18212)
Updating files: 86% (15663/18212)
Updating files: 87% (15845/18212)
Updating files: 88% (16027/18212)
Updating files: 89% (16209/18212)
Updating files: 90% (16391/18212)
Updating files: 91% (16573/18212)
Updating files: 92% (16756/18212)
Updating files: 93% (16938/18212)
Updating files: 94% (17120/18212)
Updating files: 95% (17302/18212)
Updating files: 96% (17484/18212)
Updating files: 97% (17666/18212)
Updating files: 98% (17848/18212)
Updating files: 99% (18030/18212)
Updating files: 100% (18212/18212)
Updating files: 100% (18212/18212), done.
HEAD is now at 66fe1c299d Merge pull request #29371 from edwintorok/release-lintcstubs-arity-0.5.0
Updating 66fe1c299d..a1ea8c4b8a
Fast-forward
packages/windtrap/windtrap.0.1.0/opam | 48 +++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 packages/windtrap/windtrap.0.1.0/opam
(from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:4f96e807e6bf244d4255f6055f496bb462a3dc27a8b77b7410667ea18abff28c)
2026-02-15 13:41.41 ---> using "9e9bcdaaf3fac8c0a3bdd60676b1eb8003eca3a64414fbd27bba0c3fb2d5b56e" 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-02-15 13:41.41 ---> using "651489bd89d6a6b78b7951fe8ffd881b58a7e9f114e8fcfa87fcef10f5ed7949" 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 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.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-02-15 13:41.41 ---> using "50250ebdc5cdd4d272298af4a93d4ad9a0447a93f6f7661fe6cbf83fe1572ec1" 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=ubuntu os-version=22.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2026-02-15 13:41.41 ---> using "e4631fa16e688d271a6dbc1b26a66df4c7af7e8941d206af8e4bc0ccad920862" 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-02-15 13:41.41 ---> using "9a1b86bdc1ffabd8bddaa3cd57e4d364d4ca47030b7a58ae311e05fdd882872e" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-15 13:41.56 ---> saved as "f0b944106b62ab9a932285d333cbda86653fe42f36218a1c79a8a5912558b0ac"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-15 13:42.28 ---> saved as "5e43fbed48bd1edc1cb09b265b9ec36201f633d4075ff6c8f31b19b76f12df9c"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6688 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1611 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4047 kB]
- Get:8 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6468 kB]
- Get:9 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3708 kB]
- Get:10 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1299 kB]
- Fetched 24.2 MB in 3s (7663 kB/s)
- Reading package lists...
-
2026-02-15 13:42.34 ---> saved as "205afd194c617b24ec8023080d2e3638e7f8834239462a846717eef363d8c411"
/home/opam: (run (shell "opam pin add -k version -yn windtrap.0.1.0 0.1.0"))
windtrap is now pinned to version 0.1.0
2026-02-15 13:42.35 ---> saved as "472d7a2573cdab6148ad5684a645b2230484cd9c16fe4fe4765f3fba6c708417"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall windtrap.0.1.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 \"\\\"ubuntu-22.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'windtrap.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
windtrap.0.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 7 packages
- install dune 3.21.1 [required by windtrap]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.37.0 [required by windtrap]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install windtrap 0.1.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.1 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.37.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved windtrap.0.1.0 (https://github.com/invariant-hq/windtrap/releases/download/0.1.0/windtrap-0.1.0.tbz)
-> installed dune.3.21.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppxlib.0.37.0
-> installed windtrap.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-15 13:44.49 ---> saved as "18c11a04f08bcb016536d12855ebeddb6a6addee250c446f9366d6d5d7d2ce2c"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test windtrap.0.1.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile windtrap 0.1.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed windtrap.0.1.0
-> installed windtrap.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-15 13:45.06 ---> saved as "ce2a841363f3bff96281d85af892edc1c2e9fdb766bb75098142c8b6d9211df2"
/home/opam: (run (shell "opam reinstall --with-test --verbose windtrap.0.1.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 \"\\\"ubuntu-22.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'windtrap.0.1.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 windtrap 0.1.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [windtrap: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "windtrap" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/windtrap.0.1.0)
- (cd _build/default/test && ./test_myers.exe)
-
- Testing Myers.
-
- ......
-
- All tests passed in 725μs. 6 tests run.
-
- Test output saved to ~/.opam/5.4/.opam-switch/build/windtrap.0.1.0/_build/_tests/Myers/MXK86YO0/
- (cd _build/default/test && ./test_windtrap.exe)
-
- Testing Windtrap.
-
- ............................................................ [60/193]
- S........................................................... [120/193]
- ............................................................ [180/193]
- .............
-
- All tests passed in 101ms. 193 tests run. (1 skipped)
-
- Test output saved to ~/.opam/5.4/.opam-switch/build/windtrap.0.1.0/_build/_tests/Windtrap/CAH8TX0Z/
- (cd _build/default/test && ./test_ppx.exe)
-
- Testing Tests.
-
- ..........
-
- All tests passed in 2ms. 10 tests run.
-
- Test output saved to ~/.opam/5.4/.opam-switch/build/windtrap.0.1.0/_build/_tests/Tests/SP7T13TI/
- (cd _build/.sandbox/09dacf47b25693582a56f17290f47ca0/default/examples/11-inline-tests && .example_ppx_lib.inline-tests/inline-test-runner.exe inline-test-runner example_ppx_lib -partition main.ml -source-tree-root ../.. -diff-cmd -)
-
- Testing Tests.
-
- .........
-
- All tests passed in 3ms. 9 tests run.
-
- Test output saved to ~/.opam/5.4/.opam-switch/build/windtrap.0.1.0/_build/.sandbox/_build/_tests/Tests/0EWSX7G7/
-> compiled windtrap.0.1.0
-> removed windtrap.0.1.0
-> installed windtrap.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-15 13:45.24 ---> saved as "e0feaff28d4191721ca8a66ee131664bb61d000e7dbcb2228a356452ee2c85fe"
Job succeeded
2026-02-15 13:45.37: Job succeeded