Build:
- 0
2025-11-08 05:58.06: New job: build alice.0.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28863/head (66db895fd6b1a9a176eedf3baf8fc77e4017f517)
on centos-10-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/28863/head" && git reset --hard 66db895f
git fetch origin master
git merge --no-edit 21f97b2e6d7c617fc0a79cc8e59b2e10690960e1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-10-ocaml-5.4@sha256:44cea2d837b45634bb385715c3aed583802edf8a3869ed01ed6f5367bb6fa089
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 alice.0.1.0 0.1.0
RUN opam reinstall alice.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 "\"centos-10\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'alice.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 .
2025-11-08 05:58.06: Using cache hint "ocaml/opam:centos-10-ocaml-5.4@sha256:44cea2d837b45634bb385715c3aed583802edf8a3869ed01ed6f5367bb6fa089-alice.0.1.0-66db895fd6b1a9a176eedf3baf8fc77e4017f517"
2025-11-08 05:58.06: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-5.4@sha256:44cea2d837b45634bb385715c3aed583802edf8a3869ed01ed6f5367bb6fa089)
(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 alice.0.1.0 0.1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall alice.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 \"\\\"centos-10\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'alice.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"))
)
2025-11-08 05:58.06: Waiting for resource in pool OCluster
2025-11-08 05:58.06: Waiting for worker…
2025-11-08 05:58.07: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 21f97b2e6d Merge pull request #28836 from dbuenzli/b0-publish-bytesrw.0.3.0
Updating 21f97b2e6d..66db895fd6
Fast-forward
packages/alice/alice.0.1.0/opam | 45 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 packages/alice/alice.0.1.0/opam
(from ocaml/opam:centos-10-ocaml-5.4@sha256:44cea2d837b45634bb385715c3aed583802edf8a3869ed01ed6f5367bb6fa089)
2025-11-08 05:59.07 ---> saved as "e7ee386e99581dc3604246ec48a739c4f050551f686f4cb13c8191835822db1b"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-08 05:59.07 ---> saved as "79647bce3d81a6d8cf4d485e0a95c65f735513712702792634e099bcdb7012a1"
/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
2025-11-08 05:59.34 ---> saved as "c328597cd6ba2ab692b500133db2958ee5a922c70ccf9ed5760fdb579b75131e"
/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~alpha1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=centos os-version=10
# 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
2025-11-08 05:59.36 ---> saved as "8fa99857ec31340a16d001a8eb69a77cafa802501ebc589dbe5f0be0f04d9f2e"
/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/"))
2025-11-08 05:59.44 ---> saved as "0fc2d16a1ba3fc4c7a09ec6e3488dda7d1ce9a2fceec858e671882ad9e22fe70"
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-08 05:59.54 ---> saved as "19c2fe313cf3421dec31957dee8ebb4c0ee9caad54ffb149e1f099fc7a6bbe4f"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-08 06:00.15 ---> saved as "c205ff79f1376d8a2cec59d6a556407b8870c24487c6afa50865334bf9ed6f62"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS 66 kB/s | 15 kB 00:00
- CentOS Stream 10 - BaseOS 2.1 MB/s | 6.8 MB 00:03
- CentOS Stream 10 - AppStream 37 kB/s | 15 kB 00:00
- CentOS Stream 10 - AppStream 2.4 MB/s | 3.4 MB 00:01
- CentOS Stream 10 - CRB 316 kB/s | 14 kB 00:00
- CentOS Stream 10 - CRB 237 kB/s | 760 kB 00:03
- CentOS Stream 10 - Extras packages 18 kB/s | 16 kB 00:00
- CentOS Stream 10 - Extras packages 14 kB/s | 7.9 kB 00:00
- Metadata cache created.
2025-11-08 06:00.30 ---> saved as "448703682146c440ab2430c0a55229b3546b0a9205d13f7ca73a24093ed86b68"
/home/opam: (run (shell "opam pin add -k version -yn alice.0.1.0 0.1.0"))
alice is now pinned to version 0.1.0
2025-11-08 06:00.31 ---> saved as "b1df00ff8a8c62a325f0f3d641bc72c324976fda424b0898660985c88d319d40"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall alice.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 \"\\\"centos-10\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'alice.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"))
alice.0.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 17 packages
- install alice 0.1.0 (pinned)
- install climate 0.8.6 [required by alice]
- install dune 3.20.2 [required by alice]
- install dyn 3.20.2 [required by alice]
- install fileutils 0.6.6 [required by alice]
- install ISO8601 0.2.6 [required by toml]
- install menhir 20250912 [required by toml]
- install menhirCST 20250912 [required by menhir]
- install menhirLib 20250912 [required by menhir]
- install menhirSdk 20250912 [required by menhir]
- install ordering 3.20.2 [required by dyn]
- install pp 2.0.0 [required by alice]
- install re 1.14.0 [required by alice]
- install sha 1.15.4 [required by alice]
- install stdlib-shims 0.3.0 [required by sha]
- install toml 7.1.0 [required by alice]
- install xdg 3.20.2 [required by alice]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alice.0.1.0 (cached)
-> retrieved climate.0.8.6 (cached)
-> retrieved dune.3.20.2, dyn.3.20.2, ordering.3.20.2, xdg.3.20.2 (cached)
-> retrieved fileutils.0.6.6 (cached)
-> retrieved ISO8601.0.2.6 (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912 (cached)
-> retrieved pp.2.0.0 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved sha.1.15.4 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved toml.7.1.0 (cached)
-> installed dune.3.20.2
-> installed climate.0.8.6
-> installed ISO8601.0.2.6
-> installed menhirCST.20250912
-> installed menhirLib.20250912
-> installed menhirSdk.20250912
-> installed pp.2.0.0
-> installed stdlib-shims.0.3.0
-> installed fileutils.0.6.6
-> installed re.1.14.0
-> installed ordering.3.20.2
-> installed xdg.3.20.2
-> installed sha.1.15.4
-> installed dyn.3.20.2
-> installed menhir.20250912
-> installed toml.7.1.0
-> installed alice.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-08 06:01.33 ---> saved as "c65fb07d29092b36942bc56e022364464c8318b0662bb4983768a71d0a03105f"
Job succeeded
2025-11-08 06:01.46: Job succeeded