- github
- ocaml
- opam-repository
- 6353e1
- extras,riscv64-ocaml-4.14,ocamlformat-mlx-lib.0.27.0
(not at the head of any monitored branch or PR)
2025-05-06 12:23.48: New job: build ocamlformat-mlx-lib.0.27.0, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27854/head (6353e1ad2bc0ef72f46ac83889dfba2783b0e0f3)
on ubuntu-24.04-ocaml-4.14/riscv64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27854/head" && git reset --hard 6353e1ad
git fetch origin master
git merge --no-edit e79bcaab65d0c4c29a6688e215c3f335f6fcdef3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:7988f11a0712d8d59945f1099fe2cfc8a884c1ff2bff002bac0fc38c3ef65f5d
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 ocamlformat-mlx-lib.0.27.0 0.27.0
RUN opam reinstall ocamlformat-mlx-lib.0.27.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-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocamlformat-mlx-lib.0.27.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-05-06 12:23.48: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:7988f11a0712d8d59945f1099fe2cfc8a884c1ff2bff002bac0fc38c3ef65f5d-ocamlformat-mlx-lib.0.27.0-6353e1ad2bc0ef72f46ac83889dfba2783b0e0f3"
2025-05-06 12:23.48: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:7988f11a0712d8d59945f1099fe2cfc8a884c1ff2bff002bac0fc38c3ef65f5d)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 ocamlformat-mlx-lib.0.27.0 0.27.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlformat-mlx-lib.0.27.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-24.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\" != 'ocamlformat-mlx-lib.0.27.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-05-06 12:23.48: Waiting for resource in pool OCluster
2025-05-06 12:23.49: Waiting for worker…
2025-05-06 12:23.49: Got resource from pool OCluster
Building on riscv-bm-02.sw.ci.dev
Updating files: 11% (2729/22992)
Updating files: 12% (2760/22992)
Updating files: 13% (2989/22992)
Updating files: 14% (3219/22992)
Updating files: 15% (3449/22992)
Updating files: 16% (3679/22992)
Updating files: 17% (3909/22992)
Updating files: 18% (4139/22992)
Updating files: 19% (4369/22992)
Updating files: 20% (4599/22992)
Updating files: 21% (4829/22992)
Updating files: 22% (5059/22992)
Updating files: 22% (5154/22992)
Updating files: 23% (5289/22992)
Updating files: 24% (5519/22992)
Updating files: 25% (5748/22992)
Updating files: 26% (5978/22992)
Updating files: 27% (6208/22992)
Updating files: 28% (6438/22992)
Updating files: 29% (6668/22992)
Updating files: 30% (6898/22992)
Updating files: 31% (7128/22992)
Updating files: 31% (7338/22992)
Updating files: 32% (7358/22992)
Updating files: 33% (7588/22992)
Updating files: 34% (7818/22992)
Updating files: 35% (8048/22992)
Updating files: 36% (8278/22992)
Updating files: 37% (8508/22992)
Updating files: 38% (8737/22992)
Updating files: 39% (8967/22992)
Updating files: 40% (9197/22992)
Updating files: 41% (9427/22992)
Updating files: 42% (9657/22992)
Updating files: 42% (9669/22992)
Updating files: 43% (9887/22992)
Updating files: 44% (10117/22992)
Updating files: 45% (10347/22992)
Updating files: 46% (10577/22992)
Updating files: 47% (10807/22992)
Updating files: 48% (11037/22992)
Updating files: 49% (11267/22992)
Updating files: 50% (11496/22992)
Updating files: 51% (11726/22992)
Updating files: 52% (11956/22992)
Updating files: 52% (11980/22992)
Updating files: 53% (12186/22992)
Updating files: 54% (12416/22992)
Updating files: 55% (12646/22992)
Updating files: 56% (12876/22992)
Updating files: 57% (13106/22992)
Updating files: 58% (13336/22992)
Updating files: 59% (13566/22992)
Updating files: 60% (13796/22992)
Updating files: 61% (14026/22992)
Updating files: 61% (14249/22992)
Updating files: 62% (14256/22992)
Updating files: 63% (14485/22992)
Updating files: 64% (14715/22992)
Updating files: 65% (14945/22992)
Updating files: 66% (15175/22992)
Updating files: 67% (15405/22992)
Updating files: 68% (15635/22992)
Updating files: 69% (15865/22992)
Updating files: 70% (16095/22992)
Updating files: 71% (16325/22992)
Updating files: 72% (16555/22992)
Updating files: 72% (16596/22992)
Updating files: 73% (16785/22992)
Updating files: 74% (17015/22992)
Updating files: 75% (17244/22992)
Updating files: 76% (17474/22992)
Updating files: 77% (17704/22992)
Updating files: 78% (17934/22992)
Updating files: 79% (18164/22992)
Updating files: 80% (18394/22992)
Updating files: 81% (18624/22992)
Updating files: 81% (18842/22992)
Updating files: 82% (18854/22992)
Updating files: 83% (19084/22992)
Updating files: 84% (19314/22992)
Updating files: 85% (19544/22992)
Updating files: 86% (19774/22992)
Updating files: 87% (20004/22992)
Updating files: 88% (20233/22992)
Updating files: 89% (20463/22992)
Updating files: 90% (20693/22992)
Updating files: 91% (20923/22992)
Updating files: 92% (21153/22992)
Updating files: 92% (21184/22992)
Updating files: 93% (21383/22992)
Updating files: 94% (21613/22992)
Updating files: 95% (21843/22992)
Updating files: 96% (22073/22992)
Updating files: 97% (22303/22992)
Updating files: 98% (22533/22992)
Updating files: 99% (22763/22992)
Updating files: 100% (22992/22992)
Updating files: 100% (22992/22992), done.
HEAD is now at b5b14adaac [new release] ocamlformat-mlx (2 packages) (0.6)
HEAD is now at e79bcaab65 Merge pull request #27813 from vincent-botbol/vbot@openjdk-more-os
Updating e79bcaab65..6353e1ad2b
Fast-forward
.../ocamlformat-mlx-lib.0.27.0/opam | 64 ++++++++++++++++++++++
.../ocamlformat-mlx/ocamlformat-mlx.0.27.0/opam | 55 +++++++++++++++++++
2 files changed, 119 insertions(+)
create mode 100644 packages/ocamlformat-mlx-lib/ocamlformat-mlx-lib.0.27.0/opam
create mode 100644 packages/ocamlformat-mlx/ocamlformat-mlx.0.27.0/opam
(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:7988f11a0712d8d59945f1099fe2cfc8a884c1ff2bff002bac0fc38c3ef65f5d)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:7988f11a0712d8d59945f1099fe2cfc8a884c1ff2bff002bac0fc38c3ef65f5d' locally
docker.io/ocaml/opam@sha256:7988f11a0712d8d59945f1099fe2cfc8a884c1ff2bff002bac0fc38c3ef65f5d: Pulling from ocaml/opam
ba2f284f7444: Already exists
a6d5333c4bc3: Already exists
5c48c1509161: Already exists
03291eaac929: Already exists
537a0f476833: Already exists
7aacc25a7b3c: Already exists
09b4bf83e421: Already exists
c8c22666543d: Already exists
272e2f3f09ed: Already exists
93aa282a3cbf: Already exists
7ec6667faa54: Already exists
26af6e9f8842: Already exists
3185b0dd3790: Already exists
48f8f99788df: Already exists
0e1c0f79eec0: Already exists
0e1c0f79eec0: Already exists
69d0afa0c182: Already exists
85b9094b0cab: Already exists
264d5c1a13e6: Already exists
5c124c80b22a: Already exists
4f4fb700ef54: Already exists
5791211fe89e: Already exists
60218dcae8df: Already exists
484f174f0463: Already exists
1d1eff14040f: Already exists
7a0472104e51: Already exists
2f93a2731384: Already exists
aa6feca582a8: Already exists
afd371e8bc0c: Already exists
b253e8bc1363: Already exists
09957cdacc75: Already exists
882dabf147a3: Already exists
3f516787b8f3: Already exists
24e19c4ea694: Already exists
11252ef0d863: Already exists
221fd8993c72: Already exists
6713ff040b64: Already exists
04822d3c4571: Already exists
c775c7233657: Pulling fs layer
81cc9bd59630: Pulling fs layer
1d88d2db74fe: Pulling fs layer
7b86132f1c7c: Pulling fs layer
7b86132f1c7c: Waiting
81cc9bd59630: Verifying Checksum
81cc9bd59630: Download complete
1d88d2db74fe: Verifying Checksum
1d88d2db74fe: Download complete
7b86132f1c7c: Verifying Checksum
7b86132f1c7c: Download complete
c775c7233657: Verifying Checksum
c775c7233657: Download complete
c775c7233657: Pull complete
81cc9bd59630: Pull complete
1d88d2db74fe: Pull complete
7b86132f1c7c: Pull complete
Digest: sha256:7988f11a0712d8d59945f1099fe2cfc8a884c1ff2bff002bac0fc38c3ef65f5d
Status: Downloaded newer image for ocaml/opam@sha256:7988f11a0712d8d59945f1099fe2cfc8a884c1ff2bff002bac0fc38c3ef65f5d
2025-05-06 12:24.17 ---> using "d9b5e7179ba2eb7c3ed5de59783b3f9e9001848beee712d45fb91fde36397d55" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-06 12:24.17 ---> using "2a1a970d3d327b74efd5a32f8e2015291daf601811433310eaa73b55a4312ecf" 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, 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-05-06 12:24.17 ---> using "21e6620856fd8d51cea5e45eb757295183e463ed577f5fc3d16938d24ee3b872" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 3
# repositories 1 (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
2025-05-06 12:24.17 ---> using "0557f7538be327e8049cce82028ae38ff1f019237382f082a4383ccef53caf53" 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/"))
2025-05-06 12:24.17 ---> using "4fa0262a8f12cf5eff949713b36d1a6fae13a40324543ae6bffb45855f4d0edd" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-05-06 12:24.48 ---> saved as "32530c5beb73416245e095837c3da87500278ac5798a5d7f882965137484a871"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-06 12:26.44 ---> saved as "b636e333ec4030a8ba97d27eab05f5c9aa14ae33412a650149ee9637b5fe6333"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [734 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1100 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse riscv64 Packages [1466 B]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted riscv64 Packages [4937 B]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [831 kB]
- Get:10 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [435 kB]
- Fetched 3484 kB in 2s (1956 kB/s)
- Reading package lists...
-
2025-05-06 12:26.51 ---> saved as "650aab84193f5568ea0e515e88b212af3638ab967df64761474a7fe6bf85938f"
/home/opam: (run (shell "opam pin add -k version -yn ocamlformat-mlx-lib.0.27.0 0.27.0"))
ocamlformat-mlx-lib is now pinned to version 0.27.0
2025-05-06 12:26.54 ---> saved as "20bed744a86f398afc82bc2ae298f013c64e73fe00fbb014aed67e9819bc9202"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlformat-mlx-lib.0.27.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-24.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\" != 'ocamlformat-mlx-lib.0.27.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocamlformat-mlx-lib.0.27.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 27 packages
- install astring 0.8.5 [required by ocamlformat-mlx-lib]
- install base v0.16.4 [required by ocamlformat-mlx-lib]
- install base-bytes base [required by ocp-indent]
- install camlp-streams 5.0.1 [required by ocamlformat-mlx-lib]
- install cmdliner 1.3.0 [required by ocamlformat-mlx-lib]
- install csexp 1.5.2 [required by ocamlformat-mlx-lib]
- install dune 3.18.2 [required by ocamlformat-mlx-lib]
- install dune-build-info 3.18.2 [required by ocamlformat-mlx-lib]
- install dune-configurator 3.18.2 [required by base]
- install either 1.0.0 [required by ocamlformat-mlx-lib]
- install fix 20250428 [required by ocamlformat-mlx-lib]
- install fpath 0.7.3 [required by ocamlformat-mlx-lib]
- install menhir 20240715 [required by ocamlformat-mlx-lib]
- install menhirCST 20240715 [required by menhir]
- install menhirLib 20240715 [required by ocamlformat-mlx-lib]
- install menhirSdk 20240715 [required by ocamlformat-mlx-lib]
- install ocaml-version 4.0.0 [required by ocamlformat-mlx-lib]
- install ocamlbuild 0.16.1 [required by fpath, astring, uuseg]
- install ocamlfind 1.9.8 [required by ocp-indent, astring, fpath, uuseg]
- install ocamlformat-mlx-lib 0.27.0 (pinned)
- install ocp-indent 1.8.1 [required by ocamlformat-mlx-lib]
- install sexplib0 v0.16.0 [required by base]
- install stdio v0.16.0 [required by ocamlformat-mlx-lib]
- install topkg 1.0.8 [required by fpath, astring, uuseg]
- install uucp 16.0.0 [required by uuseg]
- install uuseg 16.0.0 [required by ocamlformat-mlx-lib]
- install uutf 1.0.4 [required by ocamlformat-mlx-lib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.16.4 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.18.2, dune-build-info.3.18.2, dune-configurator.3.18.2 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fix.20250428 (cached)
-> retrieved fpath.0.7.3 (cached)
-> installed cmdliner.1.3.0
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved ocaml-version.4.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocamlformat-mlx-lib.0.27.0 (https://github.com/ocaml-mlx/ocamlformat-mlx/releases/download/0.27.0/ocamlformat-mlx-0.27.0.tbz)
-> retrieved ocp-indent.1.8.1 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdio.v0.16.0 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved uucp.16.0.0 (cached)
-> retrieved uuseg.16.0.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed astring.0.8.5
-> installed uutf.1.0.4
-> installed fpath.0.7.3
-> installed dune.3.18.2
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed dune-build-info.3.18.2
-> installed either.1.0.0
-> installed dune-configurator.3.18.2
-> installed fix.20250428
-> installed menhirCST.20240715
-> installed menhirSdk.20240715
-> installed menhirLib.20240715
-> installed ocaml-version.4.0.0
-> installed ocp-indent.1.8.1
-> installed sexplib0.v0.16.0
-> installed base.v0.16.4
-> installed stdio.v0.16.0
-> installed menhir.20240715
-> installed uucp.16.0.0
-> installed uuseg.16.0.0
-> installed ocamlformat-mlx-lib.0.27.0
Done.
<><> ocp-indent.1.8.1 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:
* for Emacs, add these lines to ~/.emacs:
(add-to-list 'load-path "/home/opam/.opam/4.14/share/emacs/site-lisp")
(require 'ocp-indent)
* for Vim, add this line to ~/.vimrc:
set rtp^="/home/opam/.opam/4.14/share/ocp-indent/vim"
# To update the current shell environment, run: eval $(opam env)
2025-05-06 12:35.58 ---> saved as "cec06ea8b4dde2d2b6e8cdc974c31c4b79bccd6e09708e7773230beedb38ef10"
Job succeeded
2025-05-06 12:36.58: Job succeeded