2024-05-10 16:15.16: New job: test mirage/eqaf https://github.com/mirage/eqaf.git#refs/heads/ci (48c793c7de1a81cb7fed9017422770b6fb78aa31) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/eqaf.git" -b "ci" && cd "eqaf" && git reset --hard 48c793c7
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
# debian-12-4.08_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 eqaf.opam ./
RUN opam pin add -yn eqaf.dev './'
ENV DEPS="afl-persistent.1.1 alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.1.1.0 bechamel.0.1.0 cmdliner.1.0.0 conf-m4.1 cppo.1.6.1 crowbar.0.1 cstruct.3.0.0 dune.2.0.1 fmt.0.8.7 jbuilder.1.0+beta20.1 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 result.1.0 seq.0.2.2 sexplib.v0.9.3 stdlib-shims.0.1.0 topkg.0.9.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y eqaf.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
2024-05-10 16:15.16: Using cache hint "mirage/eqaf-ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb-debian-12-4.08_opam-2.1-06f9ee0e0c04ea2ae1211070c2495f1b"
2024-05-10 16:15.16: Using OBuilder spec:
((from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
(comment debian-12-4.08_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src eqaf.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn eqaf.dev './'"))
(env DEPS "afl-persistent.1.1 alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.1.1.0 bechamel.0.1.0 cmdliner.1.0.0 conf-m4.1 cppo.1.6.1 crowbar.0.1 cstruct.3.0.0 dune.2.0.1 fmt.0.8.7 jbuilder.1.0+beta20.1 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 result.1.0 seq.0.2.2 sexplib.v0.9.3 stdlib-shims.0.1.0 topkg.0.9.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.1 --depext-only -y eqaf.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"))
)
2024-05-10 16:15.16: Waiting for resource in pool OCluster
2024-05-11 10:11.44: Waiting for worker…
2024-05-11 10:15.13: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 48c793c Update the CI
(from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
Unable to find image 'ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb' locally
docker.io/ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb: Pulling from ocaml/opam
61aa86cd8a87: Pulling fs layer
61aa86cd8a87: Verifying Checksum
61aa86cd8a87: Download complete
61aa86cd8a87: Pull complete
Digest: sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
Status: Downloaded newer image for ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
2024-05-11 10:15.13 ---> using "e0805034d9e735da2cb99f3eb2cde6a7473dabe8bd1020b5bf9a6e9f3a9991fe" from cache
/: (comment debian-12-4.08_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-11 10:15.13 ---> using "646bc87e0f57317c5ebf610ed55d499e1a9858c6afbb70f9b3c1442beb0c0bc7" from cache
/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.1, 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] synchronised from file:///home/opam/opam-repository
2024-05-11 10:15.13 ---> using "3efe606a65f6fe7269ee6813ddd2fa2c2714f24a04a227ae5fb5c7db864c4c57" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.08.1
2.1.5
2024-05-11 10:15.13 ---> using "6225fba4323f2de754e24da77b187b22e091a3b5bdd8f66c82092a9cc9863ec9" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-11 10:15.13 ---> using "35c4353ebc362a36ebb5c4ac3584cadf9893526dc08b896ef76d9b395ed9c850" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
eb2dcab0d8..2ae169d7d0 master -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages
<><> 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.
# Run eval $(opam env) to update the current shell environment
2024-05-11 10:15.13 ---> using "167082e53e3e0b5c6101e17be718ec3e4c289917b8e1d14e9b0bc7b95515b5c7" from cache
/src: (copy (src eqaf.opam) (dst ./))
2024-05-11 10:15.13 ---> saved as "59a0d9345c04057cd249aad4af68aa9496b5ea46d82cc4053fa07d15f84b3884"
/src: (run (network host)
(shell "opam pin add -yn eqaf.dev './'"))
[eqaf.dev] synchronised (file:///src)
eqaf is now pinned to file:///src (version dev)
2024-05-11 10:15.15 ---> saved as "f37ccf294672e95b9c24746addbe0a0dab513c11808767ec77b1b7ea33b97cbe"
/src: (env DEPS "afl-persistent.1.1 alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.1.1.0 bechamel.0.1.0 cmdliner.1.0.0 conf-m4.1 cppo.1.6.1 crowbar.0.1 cstruct.3.0.0 dune.2.0.1 fmt.0.8.7 jbuilder.1.0+beta20.1 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 result.1.0 seq.0.2.2 sexplib.v0.9.3 stdlib-shims.0.1.0 topkg.0.9.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.1 --depext-only -y eqaf.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 258 kB in 0s (908 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[eqaf.dev] synchronised (no changes)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
2024-05-11 10:15.28 ---> saved as "0f07ffbc0c2921596b888b44410e85d816eda212537abbb2ef8c749e0d88dc4e"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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 dune 2.0.1
- install conf-m4 1
- install jbuilder 1.0+beta20.1
- install result 1.0
- install ocamlbuild 0.14.0
- install stdlib-shims 0.1.0
- install seq 0.2.2
- install ocamlfind 1.8.0
- install topkg 0.9.0
- install num 1.0
- install base-bytes base
- install cmdliner 1.0.0
- install afl-persistent 1.1
- install sexplib v0.9.3
- install cppo 1.6.1
- install base64 1.1.0
- install astring 0.8.2
- install fmt 0.8.7
- install ocplib-endian 1.0
- install bechamel 0.1.0
- install alcotest 0.8.0
- install cstruct 3.0.0
- install crowbar 0.1
===== 23 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.1 (cached)
-> retrieved alcotest.0.8.0 (cached)
-> retrieved astring.0.8.2 (cached)
-> retrieved base64.1.1.0 (cached)
-> retrieved bechamel.0.1.0 (cached)
-> retrieved cmdliner.1.0.0 (cached)
-> retrieved cppo.1.6.1 (cached)
-> installed conf-m4.1
-> retrieved crowbar.0.1 (cached)
-> retrieved cstruct.3.0.0 (cached)
-> retrieved fmt.0.8.7 (cached)
-> retrieved num.1.0 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved ocplib-endian.1.0 (cached)
-> retrieved result.1.0 (cached)
-> retrieved dune.2.0.1 (cached)
-> retrieved seq.0.2.2 (cached)
-> retrieved sexplib.v0.9.3 (cached)
-> installed result.1.0
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved topkg.0.9.0 (cached)
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed num.1.0
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed base64.1.1.0
-> installed dune.2.0.1
-> installed sexplib.v0.9.3
-> installed topkg.0.9.0
-> installed stdlib-shims.0.1.0
-> installed afl-persistent.1.1
-> installed seq.0.2.2
-> installed astring.0.8.2
-> installed cmdliner.1.0.0
-> installed ocplib-endian.1.0
-> installed fmt.0.8.7
-> installed cstruct.3.0.0
-> installed crowbar.0.1
-> installed alcotest.0.8.0
-> installed bechamel.0.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 10:15.57 ---> saved as "743943413c97826949830083a20ab1ab62c2972aa6221221cfa81e764c46dc75"
/src: (copy (src .) (dst /src))
2024-05-11 10:15.57 ---> saved as "749b29ed233a9802a758ea9b3357dce60a255e8e1b70ec676d2c337209b67a00"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/cstruct/cstruct.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib/sexplib.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib/0/sexplib.0.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib/num/sexplib.num.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib/unix/sexplib.unix.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/crowbar/crowbar.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/alcotest/alcotest.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
ocamlc check/.bench.eobjs/byte/dune__exe__Bench.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I check/.bench.eobjs/byte -I /home/opam/.opam/4.08/lib/base64 -I /home/opam/.opam/4.08/lib/bechamel -I /home/opam/.opam/4.08/lib/bechamel/monotonic_clock -I /home/opam/.opam/4.08/lib/bytes -I /home/opam/.opam/4.08/lib/fmt -I /home/opam/.opam/4.08/lib/seq -I /home/opam/.opam/4.08/lib/stdlib-shims -I lib/.eqaf.objs/byte -I lib/.eqaf.objs/native -no-alias-deps -opaque -o check/.bench.eobjs/byte/dune__exe__Bench.cmo -c -impl check/bench.ml)
File "check/bench.ml", line 2, characters 11-28:
2 | let seed = Base64.decode_exn seed
^^^^^^^^^^^^^^^^^
Error: Unbound value Base64.decode_exn
ocamlc check/.check.eobjs/byte/dune__exe__Check.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I check/.check.eobjs/byte -I /home/opam/.opam/4.08/lib/base64 -I /home/opam/.opam/4.08/lib/bytes -I clock/.clock.objs/byte -I clock/.clock.objs/native -I lib/.eqaf.objs/byte -I lib/.eqaf.objs/native -no-alias-deps -opaque -open Dune__exe -o check/.check.eobjs/byte/dune__exe__Check.cmo -c -impl check/check.ml)
File "check/check.ml", line 20, characters 11-28:
20 | let seed = Base64.decode_exn seed
^^^^^^^^^^^^^^^^^
Error: Unbound value Base64.decode_exn
test alias test/runtest
tput: No value for $TERM and no -T specified
stty: 'standard input': Inappropriate ioctl for device
Testing eqaf.
[OK] be 0 be "a" "a" = 0.
[OK] be 1 be "a" "b" = -1.
[OK] be 2 be "b" "a" = 1.
[OK] be 3 be "aa" "ab" = -1.
[OK] be 4 be "aaa" "aba" = -1.
[OK] be 5 be "bbb" "abc" = 1.
[OK] be 6 be "bbb" "bbc" = -1.
[OK] be 7 be "bbb" "abb" = 1.
[OK] be 8 be "\0004\018" "\0003\018" = 1.
[OK] be 9 be "\0004\018" "\0003\153" = 1.
[OK] le 0 le "a" "a" = 0.
[OK] le 1 le "a" "b" = -1.
[OK] le 2 le "b" "a" = 1.
[OK] le 3 le "aa" "ab" = -1.
[OK] le 4 le "aaa" "aba" = -1.
[OK] le 5 le "bbb" "abc" = -1.
[OK] le 6 le "bbb" "bbc" = -1.
[OK] le 7 le "bbb" "abb" = 1.
[OK] le 8 le "\0004\018" "\0003\018" = 1.
[OK] le 9 le "\0004\018" "\0003\153" = -1.
[OK] exists 0 contains "a" a = true.
[OK] exists 1 contains "a" b = false.
[OK] exists 2 contains "abc" c = true.
[OK] exists 3 contains "abc" a = true.
[OK] exists 4 contains "abc" b = true.
[OK] exists 5 contains "abc" d = false.
[OK] find 0 index "a" a = 0.
[OK] find 1 index "a" b = -1.
[OK] find 2 index "aaaa" a = 0.
[OK] find 3 index "bbbb" a = -1.
[OK] find 4 index "aabb" b = 2.
[OK] find 5 index "aabb" a = 0.
[OK] find 6 index "aaab" b = 3.
[OK] int_of_bool 0 int_of_bool false = 0.
[OK] int_of_bool 1 int_of_bool true = 1.
[OK] bool_of_int 0 int_of_bool 0 = false.
[OK] bool_of_int 1 int_of_bool -1 = true.
[OK] bool_of_int 2 int_of_bool 2 = true.
[OK] bool_of_int 3 int_of_bool max_int = true.
[OK] bool_of_int 4 int_of_bool min_int = true.
[OK] bool_of_int 5 int_of_bool 1 = true.
[OK] select_a_if_in_range 0 select_a_if_in_range (0,3) ~n:0 22 30.
[OK] select_a_if_in_range 1 select_a_if_in_range (0,3) ~n:1 22 30.
[OK] select_a_if_in_range 2 select_a_if_in_range (0,3) ~n:2 22 30.
[OK] select_a_if_in_range 3 select_a_if_in_range (0,3) ~n:3 22 30.
[OK] select_a_if_in_range 4 select_a_if_in_range (0,3) ~n:4 22 30.
[OK] select_a_if_in_range 5 select_a_if_in_range (0,3) ~n:-1 22 30.
[OK] select_a_if_in_range 6 select_a_if_in_range (0,0) ~n:0 1 2.
[OK] select_a_if_in_range 7 select_a_if_in_range (1,1) ~n:0 3 4.
[OK] select_a_if_in_range 8 select_a_if_in_range (1,1) ~n:1 5 6.
[OK] select_a_if_in_range 9 select_a_if_in_range (1,1) ~n:2 7 8.
[OK] select_a_if_in_range 10 select_a_if_in_range (0,0) ~n:0 7904 0.
[OK] select_a_if_in_range 11 select_a_if_in_range (0,3) ~n:-4611686018427387904 22 30.
[OK] select_a_if_in_range 12 select_a_if_in_range (0,3) ~n:4611686018427387903 22 30.
[OK] select_a_if_in_range 13 select_a_if_in_range (1,4611686018427387902) ~n:4611686018427387903 1 2.
[OK] select_a_if_in_range 14 select_a_if_in_range (1,4611686018427387902) ~n:-4611686018427387904 1 2.
[OK] select_a_if_in_range 15 select_a_if_in_range (1,4611686018427387902) ~n:-1 3 4.
[OK] select_a_if_in_range 16 select_a_if_in_range (1,4611686018427387902) ~n:0 5 6.
[OK] select_a_if_in_range 17 select_a_if_in_range (1,4611686018427387903) ~n:4611686018427387903 1 2.
[OK] select_a_if_in_range 18 select_a_if_in_range (1,4611686018427387903) ~n:-4611686018427387904 1 2.
[OK] select_a_if_in_range 19 select_a_if_in_range (1,4611686018427387903) ~n:-1 3 4.
[OK] select_a_if_in_range 20 select_a_if_in_range (1,4611686018427387903) ~n:0 5 6.
[OK] select_a_if_in_range 21 select_a_if_in_range (1,4611686018427387903) ~n:1 5 6.
[OK] select_a_if_in_range 22 select_a_if_in_range (0,4611686018427387903) ~n:4611686018427387903 1 2.
[OK] select_a_if_in_range 23 select_a_if_in_range (0,4611686018427387903) ~n:-4611686018427387904 1 2.
[OK] select_a_if_in_range 24 select_a_if_in_range (0,4611686018427387903) ~n:-1 3 4.
[OK] select_a_if_in_range 25 select_a_if_in_range (0,4611686018427387903) ~n:0 5 6.
[OK] divmod 0 divmod 1 / 2 = 0, 1 mod 2 = 1.
[OK] divmod 1 divmod 123 / 1 = 123, 123 mod 1 = 0.
[OK] divmod 2 divmod 1 / 3 = 0, 1 mod 3 = 1.
[OK] divmod 3 divmod 2 / 3 = 0, 2 mod 3 = 2.
[OK] divmod 4 divmod 3 / 2 = 1, 3 mod 2 = 1.
[OK] divmod 5 divmod 10 / 6 = 1, 10 mod 6 = 4.
[OK] divmod 6 divmod 10 / 4 = 2, 10 mod 4 = 2.
[OK] divmod 7 divmod 1 / 2 = 0, 1 mod 2 = 1.
[OK] divmod 8 divmod 30 / 7 = 4, 30 mod 7 = 2.
[OK] divmod 9 divmod 4 / 2 = 2, 4 mod 2 = 0.
[OK] divmod 10 divmod 1234567 / 1 = 1234567, 1234567 mod 1 = 0.
[OK] divmod 11 divmod 1234567 / 10 = 123456, 1234567 mod 10 = 7.
[OK] divmod 12 divmod 1234567 / 100 = 12345, 1234567 mod 100 = 67.
[OK] divmod 13 divmod 1234567 / 1000 = 1234, 1234567 mod 1000 = 567.
[OK] divmod 14 divmod 1234567 / 10000 = 123, 1234567 mod 10000 = 4567.
[OK] divmod 15 divmod 12345 / 100 = 123, 12345 mod 100 = 45.
[OK] divmod 16 divmod 4294906420 / 1000 = 4294906, 4294906420 mod 1000 = 420.
[OK] divmod 17 divmod 1123456789 / 10000 = 112345, 1123456789 mod 10000 = 6789.
[OK] ascii_of_int32 0 ascii_of_string 6 12345678 "345678".
[OK] ascii_of_int32 1 ascii_of_string -1 1234 "001234".
[OK] ascii_of_int32 2 ascii_of_string 1 9876 "6".
[OK] ascii_of_int32 3 ascii_of_string 4 0 "0000".
[OK] ascii_of_int32 4 ascii_of_string 6 1234 "001234".
[OK] ascii_of_int32 5 ascii_of_string 0 1234 "".
[OK] string_of_hex 0 "2d2d486924" "--Hi$".
[OK] string_of_hex 1 "2D2d486924" "--Hi$".
[OK] string_of_hex 2 "1234" "\0184".
[OK] string_of_hex 3 "ff80" "\255\128".
[OK] string_of_hex 4 "b7DDdd" "\183\221\221".
[OK] string_of_hex 5 "808888Fd" "\128\136\136\253".
[OK] string_of_hex 6 "E0EE8eEEEE" "\224\238\142\238\238".
[OK] string_of_hex 7 empty "" "".
[OK] hex_of_string 0 "--Hi$" "2d2d486924".
[OK] hex_of_string 1 "\0184" "1234".
[OK] hex_of_string 2 "\255\128" "ff80".
[OK] hex_of_string 3 "\183\255 " "b7ff20".
[OK] hex_of_string 4 "\000\001\000" "000100".
[OK] hex_of_string 5 empty "" "".
The full test results are available in `_build/_tests`.
Test Successful in 0.005s. 105 tests run.
fuzz alias fuzz/runtest
bool_of_int: PASS
select_a_if_in_range: PASS
uppercase_ascii: PASS
lowercase_ascii: PASS
divmod: PASS
hex_of_string |> string_of_hex: PASS
string_of_hex |> hex_of_string: PASS
equal: PASS
compare_le: PASS
compare_be: PASS
test_branch alias test/runtest
[one_if_not_zero]: 4 operation(s).
[zero_if_not_zero]: 5 operation(s).
[select_int]: 7 operation(s).
[one_if_not_zero 0x7eadbeef]: 4.000000s.
[one_if_not_zero 0x0]: 4.000000s.
[zero_if_not_zero 0x7eadbeef]: 5.000000s.
[zero_if_not_zero 0x0]: 5.000000s.
[select_int 0 1 2]: 7.000000s.
[select_int 2 1 0]: 7.000000s.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-11 10:16.30: Job failed: Failed: Build failed