2025-04-17 14:56.23: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (c508493571338bfb064c5a81209a0cdb52352fb8) (openbsd-amd64:openbsd-76-amd64-4.14_opam-2.3)
Base: openbsd-76-amd64-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/jmid/mutaml.git" -b "main" && cd "mutaml" && git reset --hard c5084935
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-4.14
# openbsd-76-amd64-4.14_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.16.4 base-bigarray.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 conf-which.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.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.16.0 ppx_yojson_conv.v0.16.0 ppx_yojson_conv_lib.v0.16.0 ppxlib.0.35.0 seq.base sexplib0.v0.16.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-17 14:56.23: Using cache hint "jmid/mutaml-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-cc479c4f660199f7b3c96c059844ebf2"
2025-04-17 14:56.23: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-4.14)
(comment openbsd-76-amd64-4.14_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.16.4 base-bigarray.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 conf-which.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.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.16.0 ppx_yojson_conv.v0.16.0 ppx_yojson_conv_lib.v0.16.0 ppxlib.0.35.0 seq.base sexplib0.v0.16.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-17 14:56.23: Waiting for resource in pool OCluster
2025-04-17 14:56.24: Waiting for worker…
2025-04-17 15:28.32: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at c508493 Fix CI badge broken by workflow renaming in #37
(from openbsd-76-amd64-ocaml-4.14)
2025-04-17 15:28.33 ---> using "273e81235ea8a6b452476629509f5a1e49a129b613e30bfb7515f80881f75048" from cache
/: (comment openbsd-76-amd64-4.14_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-17 15:28.33 ---> using "8f4c505b74dc31d91c5d30f3e3d123c2567bb97ae9c1708d719a97f14994a2cb" 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-17 15:28.33 ---> using "b66ba35f8a9a53257673fce4c0b7f7307b571514bb7b92fa06cc7e407f80f85e" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 4.14.2
2.3.0
2025-04-17 15:28.33 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" 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
727427c1e7..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-17 15:28.33 ---> using "bbcfd478c5d510a6c598593cba3c95841ec53af14524bc1f4387489e5495dcfe" from cache
/: (copy (src mutaml.opam) (dst /home/opam/src/./))
2025-04-17 15:29.30 ---> saved as "fc98e2bf44be8289b98601be745c06eaf624c627554db3a4fb19f8d07e5638fe"
/: (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-17 15:30.25 ---> saved as "f3ff8da96a759aff06b6bd3ab493169d08597f5202b8a1faa4a4b3491cb9526d"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-04-17 15:31.06 ---> saved as "fd577f7576df856582597a0e425fe53bae0ffc17640835d9d8e8863842daeaea"
/: (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 conf-which.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.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.16.0 ppx_yojson_conv.v0.16.0 ppx_yojson_conv_lib.v0.16.0 ppxlib.0.35.0 seq.base sexplib0.v0.16.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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-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-16T10:28:11Z
2025-04-17 15:32.05 ---> saved as "8f2221f1e5b6a1d80cb10fa789e864eb6996d8669ecfb5381fe57d7ae4ada491"
/: (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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 23 packages
- install base v0.16.4
- install conf-diffutils 2
- install conf-timeout 1
- install conf-which 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.12.4
- 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.16.0
- install ppx_yojson_conv v0.16.0
- install ppx_yojson_conv_lib v0.16.0
- install ppxlib 0.35.0
- install seq base
- install sexplib0 v0.16.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
-> installed conf-which.1
-> retrieved csexp.1.5.2 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved base.v0.16.4 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (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.16.0 (cached)
-> retrieved ppx_yojson_conv.v0.16.0 (cached)
-> retrieved ppx_yojson_conv_lib.v0.16.0 (cached)
-> retrieved seq.base (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-random.1.2.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved ppxlib.0.35.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.12.4
-> installed dune-configurator.3.18.1
-> installed octavius.1.2.2
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.16.0
-> installed stdlib-random.1.2.0
-> installed base.v0.16.4
-> installed stdlib-shims.0.3.0
-> installed yojson.2.2.2
-> installed ounit2.2.2.7
-> installed ppx_yojson_conv_lib.v0.16.0
-> installed ppxlib.0.35.0
-> installed ppx_deriving.6.0.3
-> installed ppx_js_style.v0.16.0
-> installed ppx_yojson_conv.v0.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-17 15:43.09 ---> saved as "59992491bb7499fe22574e42d80f7ec7d96db7ea01d424859350b309aecab55d"
/: (copy (src .) (dst /home/opam/src))
2025-04-17 15:43.51 ---> saved as "341f826308a32c1ae6d506fc8685decc44e2c0327ee5cee4cf2921a337449f52"
/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/examples/testproj-2-modules/test && ./ounittest.exe)
..
Ran: 2 tests in: 0.13 seconds.
OK
(cd _build/default/examples/testproj-1-module && ./ounittest.exe)
....
Ran: 4 tests in: 0.13 seconds.
OK
File "test/negative-tests/ppx-negtests.t", line 1, characters 0-0:
/usr/local/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/7b3a6f6c2d9a84915f3767a01adfe810/default/test/negative-tests/ppx-negtests.t _build/.sandbox/7b3a6f6c2d9a84915f3767a01adfe810/default/test/negative-tests/ppx-negtests.t.corrected
diff --git a/_build/.sandbox/7b3a6f6c2d9a84915f3767a01adfe810/default/test/negative-tests/ppx-negtests.t b/_build/.sandbox/7b3a6f6c2d9a84915f3767a01adfe810/default/test/negative-tests/ppx-negtests.t.corrected
index 34a13d8..73e2e75 100644
--- a/_build/.sandbox/7b3a6f6c2d9a84915f3767a01adfe810/default/test/negative-tests/ppx-negtests.t
+++ b/_build/.sandbox/7b3a6f6c2d9a84915f3767a01adfe810/default/test/negative-tests/ppx-negtests.t.corrected
@@ -239,6 +239,7 @@ Instrument and check that it was received
-dump-ast Dump the marshaled ast to the output file instead of pretty-printing it
--dump-ast Same as -dump-ast
-dparsetree Print the parsetree (same as ocamlc -dparsetree)
+ -embed-errors Embed errors in the output AST (default: true when -as-pp, false otherwise)
-null Produce no output, except for errors
-impl <file> Treat the input as a .ml file
--impl <file> Same as -impl
@@ -257,6 +258,9 @@ Instrument and check that it was received
-styler Code styler
-output-metadata FILE Where to store the output metadata
-corrected-suffix SUFFIX Suffix to append to corrected files
+ -keywords <version+list> Set keywords according to the version+list specification. Allows using a set of keywords different from the one of the current compiler for backward compatibility.
+ --keywords <version+list> Same as -keywords
+ --use-compiler-pp Force migrating the AST back to the compiler's version before printing it as source code using the compiler's Pprintast utilities.
-loc-filename <string> File name to use in locations
-reserve-namespace <string> Mark the given namespace as reserved
-no-check Disable checks (unsafe)
@@ -267,6 +271,7 @@ Instrument and check that it was received
-locations-check Enable locations check only
-apply <names> Apply these transformations in order (comma-separated list)
-dont-apply <names> Exclude these transformations
+ -no-merge Do not merge context free transformations (better for debugging rewriters). As a result, the context-free transformations are not all applied before all impl and intf.
-cookie NAME=EXPR Set the cookie NAME to EXPR
--cookie Same as -cookie
-seed Set randomness seed for mutaml's instrumentation
"cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-04-17 15:45.45: Job failed: Failed: Build failed