2025-04-24 16:39.50: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (bf6e8a1c205b955cd2634ccbc41a799910a61228) (openbsd-amd64:openbsd-76-amd64-5.3_opam-2.3)
Base: openbsd-76-amd64-ocaml-5.3
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/jmid/mutaml.git" -b "main" && cd "mutaml" && git reset --hard bf6e8a1c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-5.3
# openbsd-76-amd64-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mutaml.opam /home/opam/src/./
RUN opam pin add -yn mutaml.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="base.v0.17.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_js_style.v0.17.0 ppx_yojson_conv.v0.17.0 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mutaml.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-04-24 16:39.50: Using cache hint "jmid/mutaml-openbsd-76-amd64-ocaml-5.3-openbsd-76-amd64-5.3_opam-2.3-a432aefea8b852abc75844802d4b5a50"
2025-04-24 16:39.50: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-5.3)
(comment openbsd-76-amd64-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mutaml.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn mutaml.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "base.v0.17.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_js_style.v0.17.0 ppx_yojson_conv.v0.17.0 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 yojson.2.2.2")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y mutaml.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-04-24 16:39.50: Waiting for resource in pool OCluster
2025-04-24 16:39.50: Waiting for worker…
2025-04-24 16:39.50: Got resource from pool OCluster
Building on bremusa
HEAD is now at b37a612 Avoid RE alternation to run cleanly on OpenBSD too
HEAD is now at bf6e8a1 Merge pull request #40 from jmid/avoid-grep-alternation
(from openbsd-76-amd64-ocaml-5.3)
2025-04-24 16:39.51 ---> using "753f998be4709b35e38a93b7272dee818f697255d5b48fadd1c23cb92a82f244" from cache
/: (comment openbsd-76-amd64-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-24 16:39.51 ---> using "b8621e22ceef6e45a2b70edd0350b6ec56c4cb2588ea75f8c24bf97f9bb8e3c1" from cache
/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-04-24 16:39.51 ---> using "caa4033b0f51d691107e536d025405bc96e59134e192afef776a8bfd43aac5e1" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 5.3.0
2.3.0
2025-04-24 16:39.51 ---> using "7116693f695a70fbcc11fcbf90bc7fd32f30a6c20aabff3b1e1c926faaad9b01" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
f93eb7cb02..442eddb8a3 master -> origin/master
442eddb8a3 Merge pull request #27761 from maiste/release-dune-3.18.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-04-24 16:39.51 ---> using "c000489f0fd97e34eb7a56a8c1757b2f1ba3f72fc57fd9ffa4ac317fa405c204" from cache
/: (copy (src mutaml.opam) (dst /home/opam/src/./))
2025-04-24 16:39.51 ---> using "b38bc5d5121b3ffcd601a8b23f21d9db0640813a35535996bf83bff1663f52fd" from cache
/: (run (network host)
(shell "opam pin add -yn mutaml.dev '/home/opam/src/./'"))
[mutaml.dev] synchronised (file:///home/opam/src)
mutaml is now pinned to file:///home/opam/src (version dev)
2025-04-24 16:39.51 ---> using "05781fb0e41c25735959e129339416b0246f3cf57129ca376a2106cc25b001c7" from cache
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-04-24 16:39.51 ---> using "ff20e1903fab9c84ce64a5aa521847a330cd9b1e22ae49d70b035a725d506afd" from cache
/: (env DEPS "base.v0.17.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_js_style.v0.17.0 ppx_yojson_conv.v0.17.0 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 yojson.2.2.2")
/: (env CI true)
/: (env OCAMLCI true)
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y mutaml.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mutaml.dev] synchronised (file:///home/opam/src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
textproc/gdiff
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/doas "pkg_add" "-I" "textproc/gdiff"
- file:textproc/: empty
- quirks-7.50 signed on 2025-04-20T09:56:12Z
2025-04-24 16:39.51 ---> using "31a87bd53bbc9062fea59e0529f747933c6101dbc7b416b18c6d43164cae6e72" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 23 packages
- install base v0.17.1
- install conf-diffutils 2
- install conf-timeout 1
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.18.1
- install dune-configurator 3.18.1
- install ocaml-compiler-libs v0.17.0
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlfind 1.9.8
- install octavius 1.2.2
- install ounit2 2.2.7
- install ppx_derivers 1.2.1
- install ppx_deriving 6.0.3
- install ppx_js_style v0.17.0
- install ppx_yojson_conv v0.17.0
- install ppx_yojson_conv_lib v0.17.0
- install ppxlib 0.35.0
- install seq base
- install sexplib0 v0.17.0
- install stdlib-random 1.2.0
- install stdlib-shims 0.3.0
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-diffutils.2
-> installed conf-timeout.1
-> retrieved csexp.1.5.2 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved base.v0.17.1 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved octavius.1.2.2 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved ppx_deriving.6.0.3 (cached)
-> retrieved ppx_js_style.v0.17.0 (cached)
-> retrieved ppx_yojson_conv.v0.17.0 (cached)
-> retrieved ppx_yojson_conv_lib.v0.17.0 (cached)
-> retrieved seq.base (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-random.1.2.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved dune.3.18.1, dune-configurator.3.18.1 (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.18.1
-> installed seq.base
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed dune-configurator.3.18.1
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed octavius.1.2.2
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-random.1.2.0
-> installed base.v0.17.1
-> installed stdlib-shims.0.3.0
-> installed yojson.2.2.2
-> installed ounit2.2.2.7
-> installed ppx_yojson_conv_lib.v0.17.0
-> installed ppxlib.0.35.0
-> installed ppx_deriving.6.0.3
-> installed ppx_js_style.v0.17.0
-> installed ppx_yojson_conv.v0.17.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-24 16:39.51 ---> using "830a4a916758716f356ca69d8f613e95e6840da8419240a9b38f44d1c8bd86e3" from cache
/: (copy (src .) (dst /home/opam/src))
2025-04-24 16:39.51 ---> using "44599918fb3ee20dcbe4729d59c6f9342960d9a0b0fc402bc978d8a659993fb4" from cache
/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/examples/testproj-1-module && ./ounittest.exe)
....
Ran: 4 tests in: 0.18 seconds.
OK
(cd _build/default/examples/testproj-2-modules/test && ./ounittest.exe)
..
Ran: 2 tests in: 0.31 seconds.
OK
2025-04-24 16:39.51 ---> using "0f32881f0fe695d6752ad2caaa5b01a5ca23ecf85bea1d2fb2f05e8dbe6f394b" from cache
Job succeeded
2025-04-24 16:39.51: Job succeeded