Organisationsjmidmutaml783831 (main)fedora-43-4.14_opam-2.5

fedora-43-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-04-16 16:37.58: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (783831dcb58310a4cd7a6c03dc12c45cd8b74f36) (linux-x86_64:fedora-43-4.14_opam-2.5)
Base: ocaml/opam:fedora-43-ocaml-4.14@sha256:f528d5f7ab638a3083ac221bc2e03d2e1e98a9fbf9a44997a87629aea78a4935
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/jmid/mutaml.git" -b "main" && cd "mutaml" && git reset --hard 783831dc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-43-ocaml-4.14@sha256:f528d5f7ab638a3083ac221bc2e03d2e1e98a9fbf9a44997a87629aea78a4935
# fedora-43-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
RUN sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mutaml.opam ./
RUN opam pin add -yn mutaml.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.16.4 base-bigarray.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.22.2 dune-configurator.3.22.2 ocaml.4.14.3 ocaml-base-compiler.4.14.3 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.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y mutaml.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-04-16 16:37.58: Using cache hint "jmid/mutaml-ocaml/opam:fedora-43-ocaml-4.14@sha256:f528d5f7ab638a3083ac221bc2e03d2e1e98a9fbf9a44997a87629aea78a4935-fedora-43-4.14_opam-2.5-009fa6f6711359c0f86fddbf77ba992a"
2026-04-16 16:37.58: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-4.14@sha256:f528d5f7ab638a3083ac221bc2e03d2e1e98a9fbf9a44997a87629aea78a4935)
(comment fedora-43-4.14_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mutaml.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mutaml.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.22.2 dune-configurator.3.22.2 ocaml.4.14.3 ocaml-base-compiler.4.14.3 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.3.0.0")
(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.5 --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 /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-04-16 16:37.58: Waiting for resource in pool OCluster
2026-04-16 16:37.58: Waiting for worker…
2026-04-16 16:38.55: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at 783831d Merge pull request #44 from jmid/dependabot/github_actions/actions/checkout-5


(from ocaml/opam:fedora-43-ocaml-4.14@sha256:f528d5f7ab638a3083ac221bc2e03d2e1e98a9fbf9a44997a87629aea78a4935)
Unable to find image 'ocaml/opam:fedora-43-ocaml-4.14@sha256:f528d5f7ab638a3083ac221bc2e03d2e1e98a9fbf9a44997a87629aea78a4935' locally
docker.io/ocaml/opam@sha256:f528d5f7ab638a3083ac221bc2e03d2e1e98a9fbf9a44997a87629aea78a4935: Pulling from ocaml/opam
5bc90b3315da: Already exists
80d71788ea9e: Already exists
ad80df798a1c: Already exists
cd85517f6ae1: Already exists
a927948f92fa: Already exists
4433c52b5ab1: Already exists
8aa93bc8ca93: Already exists
7d31cd7e9a9b: Already exists
959a5be6bfab: Already exists
6569047248d7: Already exists
a01a3ff02f3d: Already exists
8b1106fd8e03: Already exists
61c97bcc90cd: Already exists
b9124a8b6c28: Already exists
d2c94cd49c4c: Already exists
0e63679d7dbc: Already exists
0e63679d7dbc: Already exists
6819a31cdb14: Already exists
1d67c4c09922: Already exists
3f456f1cc39a: Already exists
6afff2ae07da: Already exists
4f4fb700ef54: Already exists
90c294795090: Already exists
d7c6287626d1: Already exists
0e6719fd9f6d: Already exists
53830a3a67c9: Already exists
b407be133f08: Already exists
951a5932e150: Already exists
dcc0f382cd80: Already exists
d3cdec43bf88: Already exists
d69ff9f37121: Already exists
cfcfca2848c7: Already exists
08269f8e9f88: Already exists
3e59769da2fa: Already exists
a1004eb1842a: Pulling fs layer
3a6ed7e0720e: Pulling fs layer
5503bfbdb082: Pulling fs layer
4685c134845d: Pulling fs layer
a1004eb1842a: Waiting
67f122543075: Pulling fs layer
3a6ed7e0720e: Waiting
4685c134845d: Waiting
d60a75d560f5: Pulling fs layer
5503bfbdb082: Waiting
67f122543075: Waiting
d18a54147636: Pulling fs layer
d60a75d560f5: Waiting
933e64a11ba6: Pulling fs layer
d18a54147636: Waiting
f36483d78a79: Pulling fs layer
933e64a11ba6: Waiting
f36483d78a79: Waiting
35267044a36f: Pulling fs layer
75b654a3d9d2: Pulling fs layer
35267044a36f: Waiting
75b654a3d9d2: Waiting
3a6ed7e0720e: Download complete
5503bfbdb082: Verifying Checksum
5503bfbdb082: Download complete
4685c134845d: Download complete
67f122543075: Download complete
d60a75d560f5: Verifying Checksum
d60a75d560f5: Download complete
d18a54147636: Verifying Checksum
d18a54147636: Download complete
a1004eb1842a: Verifying Checksum
a1004eb1842a: Download complete
35267044a36f: Download complete
f36483d78a79: Verifying Checksum
f36483d78a79: Download complete
75b654a3d9d2: Download complete
a1004eb1842a: Pull complete
3a6ed7e0720e: Pull complete
933e64a11ba6: Verifying Checksum
933e64a11ba6: Download complete
5503bfbdb082: Pull complete
4685c134845d: Pull complete
67f122543075: Pull complete
d60a75d560f5: Pull complete
d18a54147636: Pull complete
933e64a11ba6: Pull complete
f36483d78a79: Pull complete
35267044a36f: Pull complete
75b654a3d9d2: Pull complete
Digest: sha256:f528d5f7ab638a3083ac221bc2e03d2e1e98a9fbf9a44997a87629aea78a4935
Status: Downloaded newer image for ocaml/opam@sha256:f528d5f7ab638a3083ac221bc2e03d2e1e98a9fbf9a44997a87629aea78a4935
2026-04-16 16:43.26 ---> saved as "427db3f6677dae2b06058d8dcb2f7770b96873f6845d54b43f9e27571c659618"


/: (comment fedora-43-4.14_opam-2.5)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 43 - x86_64 - Updates           100% |  39.9 KiB/s |  15.7 KiB |  00m00s
Fedora 43 - x86_64                     100% |  72.3 KiB/s |  21.8 KiB |  00m00s
Fedora 43 openh264 (From Cisco) - x86_ 100% |   6.1 KiB/s | 986.0   B |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-6.fc43.x86_64" is already installed.


Nothing to do.
2026-04-16 16:43.34 ---> saved as "1a8c422457ca43273c120d41b99eceaf5146711b71420e35a2bee4d81364b1a5"


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-04-16 16:43.34 ---> saved as "f67c481a1daa386f6430f66eef705f2c3e718af0cca248ff8d8a2fe5f109817f"


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "ocaml-patches-overlay": "/usr/sbin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocurrent/opam-repository/': Could not resolve host: github.com"
[default] Initialised
2026-04-16 16:43.59 ---> saved as "bc829d8a618f2e3092457d9785bca8fbf68fdeb24e20105fc3a383cae7a6c00a"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 4.14.3
2.5.0
2026-04-16 16:43.59 ---> saved as "84ee295ef92075699b3be334bcafee05db7a203f6059e3b9b39cbe4faefef15a"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-16 16:44.00 ---> saved as "5d31372e0e59d5a520b30695d22f10f0053c544e25e0f7f722eaf7806eb253db"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
42844088d7..0b0acbee05  master     -> origin/master
5f7bb1a6e6 Merge pull request #29704 from shonfeder/release-dune-3.22.2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-04-16 16:44.14 ---> saved as "2ffbd0f12d6bab220d810a77516951f3543d88b8952e41766bdc149b5db32930"


/src: (copy (src mutaml.opam) (dst ./))
2026-04-16 16:44.15 ---> saved as "f43d0654f829a13c3140c28b3f60a454c4acddd3464bd8c7b5448faa30941151"


/src: (run (network host)
(shell "opam pin add -yn mutaml.dev './'"))
[mutaml.dev] synchronised (file:///src)
mutaml is now pinned to file:///src (version dev)
2026-04-16 16:44.16 ---> saved as "46eb3a973818e18075863d09aa0cf952c961ce8cea17d89c50ae36f42d2fa5c4"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-16 16:44.16 ---> saved as "6cfdf347b59cfad4f2c40316bdb48fb50e012aa23ab032157a80a7e195fc4225"


/src: (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.22.2 dune-configurator.3.22.2 ocaml.4.14.3 ocaml-base-compiler.4.14.3 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.3.0.0")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y mutaml.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mutaml.dev] synchronised (file:///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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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).
# To update the current shell environment, run: eval $(opam env)
2026-04-16 16:44.26 ---> saved as "3cefd17a159def54c92222363777f05941233d69d213061c8ee8af0c992fbba9"


/src: (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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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 22 packages
- install base                v0.16.4
- install conf-diffutils      2
- install conf-timeout        1
- install cppo                1.8.0
- install csexp               1.5.2
- install dune                3.22.2
- install dune-configurator   3.22.2
- 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              3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.4  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-diffutils.2
-> installed conf-timeout.1
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved octavius.1.2.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_js_style.v0.16.0  (cached)
-> retrieved ppx_deriving.6.0.3  (cached)
-> retrieved ppx_yojson_conv.v0.16.0  (cached)
-> retrieved ppx_yojson_conv_lib.v0.16.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-random.1.2.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved dune.3.22.2, dune-configurator.3.22.2  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.22.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed octavius.1.2.2
-> installed sexplib0.v0.16.0
-> installed yojson.3.0.0
-> installed ounit2.2.2.7
-> installed stdlib-random.1.2.0
-> installed ppx_yojson_conv_lib.v0.16.0
-> installed dune-configurator.3.22.2
-> installed base.v0.16.4
-> installed ppxlib.0.35.0
-> installed ppx_js_style.v0.16.0
-> installed ppx_deriving.6.0.3
-> installed ppx_yojson_conv.v0.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-16 16:45.39 ---> saved as "5270036968594352243f7927b8fdf964de37e62da90de72f4a260a49ce9d37a4"


/src: (copy (src .) (dst /src))
2026-04-16 16:45.39 ---> saved as "bbdf329f03a8a0f127f13574273db6feb67420756a1c85c3be7ed01bcc5fad10"


/src: (run (shell "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.10 seconds.
OK
(cd _build/default/examples/testproj-1-module && ./ounittest.exe)
....
Ran: 4 tests in: 0.10 seconds.
OK
File "test/issue-stdlib-equal.t/run.t", line 1, characters 0-0:
/usr/sbin/git --no-pager diff --no-index --color=always -u _build/default/test/issue-stdlib-equal.t/run.t _build/default/test/issue-stdlib-equal.t/run.t.corrected
diff --git a/_build/default/test/issue-stdlib-equal.t/run.t b/_build/default/test/issue-stdlib-equal.t/run.t.corrected
index 0393bdf..a671915 100644
--- a/_build/default/test/issue-stdlib-equal.t/run.t
+++ b/_build/default/test/issue-stdlib-equal.t/run.t.corrected
@@ -52,7 +52,7 @@ Set seed and (full) mutation rate as environment variables, for repeatability


$ ls _build
default
-  log
+  trace.csexp


$ ls _build/default
mutaml-mut-files.txt
File "test/issue-newlines.t/run.t", line 1, characters 0-0:
/usr/sbin/git --no-pager diff --no-index --color=always -u _build/default/test/issue-newlines.t/run.t _build/default/test/issue-newlines.t/run.t.corrected
diff --git a/_build/default/test/issue-newlines.t/run.t b/_build/default/test/issue-newlines.t/run.t.corrected
index aa84ce6..4bf8ac6 100644
--- a/_build/default/test/issue-newlines.t/run.t
+++ b/_build/default/test/issue-newlines.t/run.t.corrected
@@ -53,7 +53,7 @@ Set seed and (full) mutation rate as environment variables, for repeatability


$ ls _build
default
-  log
+  trace.csexp


$ ls _build/default
mutaml-mut-files.txt
File "test/issue-attributes.t/run.t", line 1, characters 0-0:
/usr/sbin/git --no-pager diff --no-index --color=always -u _build/default/test/issue-attributes.t/run.t _build/default/test/issue-attributes.t/run.t.corrected
diff --git a/_build/default/test/issue-attributes.t/run.t b/_build/default/test/issue-attributes.t/run.t.corrected
index f01a6b8..637c26a 100644
--- a/_build/default/test/issue-attributes.t/run.t
+++ b/_build/default/test/issue-attributes.t/run.t.corrected
@@ -42,7 +42,7 @@ Set seed and (full) mutation rate as environment variables, for repeatability


$ ls _build
default
-  log
+  trace.csexp


$ ls _build/default
mutaml-mut-files.txt
File "test/issue-pattern-match.t/run.t", line 1, characters 0-0:
/usr/sbin/git --no-pager diff --no-index --color=always -u _build/default/test/issue-pattern-match.t/run.t _build/default/test/issue-pattern-match.t/run.t.corrected
diff --git a/_build/default/test/issue-pattern-match.t/run.t b/_build/default/test/issue-pattern-match.t/run.t.corrected
index b47e514..10eb9f3 100644
--- a/_build/default/test/issue-pattern-match.t/run.t
+++ b/_build/default/test/issue-pattern-match.t/run.t.corrected
@@ -71,7 +71,7 @@ Set seed and (full) mutation rate as environment variables, for repeatability


$ ls _build
default
-  log
+  trace.csexp


$ ls _build/default
mutaml-mut-files.txt
File "test/testproj-2-modules.t/run.t", line 1, characters 0-0:
/usr/sbin/git --no-pager diff --no-index --color=always -u _build/default/test/testproj-2-modules.t/run.t _build/default/test/testproj-2-modules.t/run.t.corrected
diff --git a/_build/default/test/testproj-2-modules.t/run.t b/_build/default/test/testproj-2-modules.t/run.t.corrected
index dbd7d70..f92de9a 100644
--- a/_build/default/test/testproj-2-modules.t/run.t
+++ b/_build/default/test/testproj-2-modules.t/run.t.corrected
@@ -19,27 +19,27 @@ Set seed and (full) mutation rate as environment variables, for repeatability
$ export MUTAML_MUT_RATE=100


$ bash ../filter_dune_build.sh test/ounittest.exe --instrument-with mutaml
-  Running mutaml instrumentation on "src/lib1.ml"
-  Randomness seed: 896745231   Mutation rate: 100   GADTs enabled: true
-  Created 3 mutations of src/lib1.ml
-  Writing mutation info to src/lib1.muts
Running mutaml instrumentation on "src/lib2.ml"
Randomness seed: 896745231   Mutation rate: 100   GADTs enabled: true
Created 6 mutations of src/lib2.ml
Writing mutation info to src/lib2.muts
+  Running mutaml instrumentation on "src/lib1.ml"
+  Randomness seed: 896745231   Mutation rate: 100   GADTs enabled: true
+  Created 3 mutations of src/lib1.ml
+  Writing mutation info to src/lib1.muts


$ mutaml-runner _build/default/test/ounittest.exe
-  read mut file src/lib1.muts
read mut file src/lib2.muts
-  Testing mutant src/lib1:0 ... failed
-  Testing mutant src/lib1:1 ... failed
-  Testing mutant src/lib1:2 ... failed
+  read mut file src/lib1.muts
Testing mutant src/lib2:0 ... passed
Testing mutant src/lib2:1 ... passed
Testing mutant src/lib2:2 ... passed
Testing mutant src/lib2:3 ... failed
Testing mutant src/lib2:4 ... failed
Testing mutant src/lib2:5 ... failed
+  Testing mutant src/lib1:0 ... failed
+  Testing mutant src/lib1:1 ... failed
+  Testing mutant src/lib1:2 ... failed
Writing report data to mutaml-report.json


$ mutaml-report
File "test/testproj-1-module.t/run.t", line 1, characters 0-0:
/usr/sbin/git --no-pager diff --no-index --color=always -u _build/default/test/testproj-1-module.t/run.t _build/default/test/testproj-1-module.t/run.t.corrected
diff --git a/_build/default/test/testproj-1-module.t/run.t b/_build/default/test/testproj-1-module.t/run.t.corrected
index d6bb955..929337f 100644
--- a/_build/default/test/testproj-1-module.t/run.t
+++ b/_build/default/test/testproj-1-module.t/run.t.corrected
@@ -471,8 +471,8 @@ Create a dune-workspace file with another build context:


_build:
default
-  log
mutation
+  trace.csexp


_mutations:
lib.ml-mutant12
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-04-16 16:46.05: Job failed: Failed: Build failed