2024-05-26 11:45.37: New job: test inhabitedtype/ocaml-dispatch https://github.com/inhabitedtype/ocaml-dispatch.git#refs/heads/master (388dfd121b8fe464d0d6960e13d0c93ce59a8fbc) (linux-x86_64:debian-12-4.07_opam-2.1)
Base: ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/inhabitedtype/ocaml-dispatch.git" -b "master" && cd "ocaml-dispatch" && git reset --hard 388dfd12
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
# debian-12-4.07_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 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dispatch.opam dispatch-js.opam ./
RUN opam pin add -yn dispatch.dev './' && \
opam pin add -yn dispatch-js.dev './'
ENV DEPS="alcotest.1.5.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.0.4 cppo.1.6.9 csexp.1.5.2 dune.3.15.3 dune-configurator.3.15.3 fmt.0.8.9 js_of_ocaml.4.0.0 js_of_ocaml-compiler.4.0.0 js_of_ocaml-lwt.4.0.0 js_of_ocaml-ppx.4.0.0 lwt.5.5.0 menhir.20230608 menhirLib.20230608 menhirSdk.20230608 mmap.1.2.0 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 ppx_derivers.1.2.1 ppxlib.0.32.1 re.1.11.0 result.1.5 seq.base sexplib0.v0.15.0 stdlib-shims.0.3.0 topkg.1.0.7 uchar.0.0.2 uutf.1.0.3 yojson.2.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y dispatch.dev dispatch-js.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-26 11:45.37: Using cache hint "inhabitedtype/ocaml-dispatch-ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b-debian-12-4.07_opam-2.1-2356fe506a3dd5ee8c2e785f06f2e127"
2024-05-26 11:45.37: Using OBuilder spec:
((from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
(comment debian-12-4.07_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 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src dispatch.opam dispatch-js.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn dispatch.dev './' && \
\nopam pin add -yn dispatch-js.dev './'"))
(env DEPS "alcotest.1.5.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.0.4 cppo.1.6.9 csexp.1.5.2 dune.3.15.3 dune-configurator.3.15.3 fmt.0.8.9 js_of_ocaml.4.0.0 js_of_ocaml-compiler.4.0.0 js_of_ocaml-lwt.4.0.0 js_of_ocaml-ppx.4.0.0 lwt.5.5.0 menhir.20230608 menhirLib.20230608 menhirSdk.20230608 mmap.1.2.0 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 ppx_derivers.1.2.1 ppxlib.0.32.1 re.1.11.0 result.1.5 seq.base sexplib0.v0.15.0 stdlib-shims.0.3.0 topkg.1.0.7 uchar.0.0.2 uutf.1.0.3 yojson.2.1.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.1 --depext-only -y dispatch.dev dispatch-js.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-26 11:45.37: Waiting for resource in pool OCluster
2024-05-26 20:08.29: Waiting for worker…
2024-05-26 20:11.05: Got resource from pool OCluster
Building on x86-bm-c9.sw.ocaml.org
All commits already cached
HEAD is now at 388dfd1 Merge pull request #30 from anuragsoni/update-readme
(from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
Unable to find image 'ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b' locally
docker.io/ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b: Pulling from ocaml/opam
2264256a3b65: Pulling fs layer
2264256a3b65: Verifying Checksum
2264256a3b65: Download complete
2264256a3b65: Pull complete
Digest: sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
Status: Downloaded newer image for ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
2024-05-26 20:15.56 ---> saved as "6ad54a8a0a996de05cd03ed30cbb4884566b39028d090d19101121413431a89f"
/: (comment debian-12-4.07_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-26 20:15.57 ---> saved as "f0b7040ce20c0568672a3afcab01929fd18e2ee66f02faa8d94fd05399839280"
/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-26 20:17.41 ---> saved as "1178bb4688e7e4718d4170c0ec783ce5396ae6f9cd4db4b0fb12bcb2662305da"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-107-generic
The OCaml toplevel, version 4.07.1
2.1.5
2024-05-26 20:17.41 ---> saved as "507d1b06732f1eddefe9afcbbd3414d34576360b7497df3aa76bf615c5a885e5"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-26 20:17.42 ---> saved as "b88e937d6c36e43c713a83fbd5f0a1b9c25ffbb55d9e0cc753e256236a40f949"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
6a2ad82c27..c61e9068d5 master -> origin/master
1c7ec1efde [new release] dune (15 packages) (3.15.3)
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
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-26 20:19.34 ---> saved as "b0eafd1a6ef7e905cfb8fe39c5e349db039bbfdc3210f6af70ce0007f6d16f21"
/src: (copy (src dispatch.opam dispatch-js.opam) (dst ./))
2024-05-26 20:19.34 ---> saved as "9017a5f3bc4638023a445a8e05c55a7983128da86ea4fca77138c0caa3b913da"
/src: (run (network host)
(shell "opam pin add -yn dispatch.dev './' && \
\nopam pin add -yn dispatch-js.dev './'"))
[dispatch.dev] synchronised (file:///src)
dispatch is now pinned to file:///src (version dev)
[dispatch-js.dev] synchronised (file:///src)
dispatch-js is now pinned to file:///src (version dev)
2024-05-26 20:19.43 ---> saved as "d5dc59faea526f3120015b6794bcea81c1a205b50a16ef9bd2607b2da11e8490"
/src: (env DEPS "alcotest.1.5.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.0.4 cppo.1.6.9 csexp.1.5.2 dune.3.15.3 dune-configurator.3.15.3 fmt.0.8.9 js_of_ocaml.4.0.0 js_of_ocaml-compiler.4.0.0 js_of_ocaml-lwt.4.0.0 js_of_ocaml-ppx.4.0.0 lwt.5.5.0 menhir.20230608 menhirLib.20230608 menhirSdk.20230608 mmap.1.2.0 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 ppx_derivers.1.2.1 ppxlib.0.32.1 re.1.11.0 result.1.5 seq.base sexplib0.v0.15.0 stdlib-shims.0.3.0 topkg.1.0.7 uchar.0.0.2 uutf.1.0.3 yojson.2.1.2")
/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 dispatch.dev dispatch-js.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 bookworm-updates/main amd64 Packages.diff/Index [10.6 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [157 kB]
- Fetched 273 kB in 0s (551 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dispatch.dev] synchronised (no changes)
[dispatch-js.dev] synchronised (no changes)
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.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).
2024-05-26 20:20.08 ---> saved as "c9e8d7f4155fa7d3d2ced4102e59f8fccca3dfb9308f9563f53018a7e509e6c5"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.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 ocamlbuild 0.14.3
- install ocamlfind 1.9.6
- install seq base
- install cmdliner 1.0.4
- install uchar 0.0.2
- install topkg 1.0.7
- install ocamlfind-secondary 1.9.6
- install base-bytes base
- install uutf 1.0.3
- install astring 0.8.5
- install dune 3.15.3
- install stdlib-shims 0.3.0
- install sexplib0 v0.15.0
- install result 1.5
- install re 1.11.0
- install ppx_derivers 1.2.1
- install ocaml-syntax-shims 1.0.0
- install ocaml-compiler-libs v0.12.4
- install menhirSdk 20230608
- install menhirLib 20230608
- install csexp 1.5.2
- install cppo 1.6.9
- install bigarray-compat 1.1.0
- install fmt 0.8.9
- install ppxlib 0.32.1
- install menhir 20230608
- install dune-configurator 3.15.3
- install yojson 2.1.2
- install ocplib-endian 1.2
- install mmap 1.2.0
- install alcotest 1.5.0
- install js_of_ocaml-compiler 4.0.0
- install lwt 5.5.0
- install js_of_ocaml 4.0.0
- install js_of_ocaml-ppx 4.0.0
- install js_of_ocaml-lwt 4.0.0
===== 36 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.5.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved cmdliner.1.0.4 (cached)
-> retrieved cppo.1.6.9 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.15.3 (cached)
-> retrieved fmt.0.8.9 (cached)
-> retrieved dune-configurator.3.15.3 (cached)
-> retrieved js_of_ocaml.4.0.0 (cached)
-> retrieved js_of_ocaml-compiler.4.0.0 (cached)
-> retrieved lwt.5.5.0 (cached)
-> retrieved menhir.20230608 (cached)
-> retrieved js_of_ocaml-lwt.4.0.0 (cached)
-> retrieved js_of_ocaml-ppx.4.0.0 (cached)
-> retrieved menhirLib.20230608 (cached)
-> retrieved menhirSdk.20230608 (cached)
-> retrieved mmap.1.2.0 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocamlfind-secondary.1.9.6 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved re.1.11.0 (cached)
-> installed seq.base
-> retrieved result.1.5 (cached)
-> retrieved sexplib0.v0.15.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved ppxlib.0.32.1 (cached)
-> retrieved uchar.0.0.2 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved yojson.2.1.2 (cached)
-> installed cmdliner.1.0.4
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed ocamlbuild.0.14.3
-> installed uchar.0.0.2
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed astring.0.8.5
-> installed dune.3.15.3
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed menhirSdk.20230608
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.15.0
-> installed menhirLib.20230608
-> installed mmap.1.2.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.6.9
-> installed re.1.11.0
-> installed ocplib-endian.1.2
-> installed fmt.0.8.9
-> installed dune-configurator.3.15.3
-> installed yojson.2.1.2
-> installed alcotest.1.5.0
-> installed lwt.5.5.0
-> installed menhir.20230608
-> installed ppxlib.0.32.1
-> installed js_of_ocaml-compiler.4.0.0
-> installed js_of_ocaml.4.0.0
-> installed js_of_ocaml-ppx.4.0.0
-> installed js_of_ocaml-lwt.4.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-26 20:22.53 ---> saved as "288bc7d4033ccfa6702957da8cbf4ce06436f6457e63f7f7d0b4b40e9a62f010"
/src: (copy (src .) (dst /src))
2024-05-26 20:22.53 ---> saved as "9c97a2fea6b76506b37a42e20c81130550327846739ef3f824063715c4683537"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_dispatch.exe)
Testing `Dispatch.DSL tests'.
This run has ID `EZ7O85Y9'.
[OK] literals 0 base cases.
[OK] literals 1 overlaping paths.
[OK] params 0 base cases.
[OK] params 1 variable ordering.
[OK] wildcard 0 base cases.
Full test results in `/src/_build/default/test/_build/_tests/Dispatch.DSL tests'.
Test Successful in 0.000s. 5 tests run.
2024-05-26 20:22.55 ---> saved as "7c7b4859343d4ce24b67c13e0a67071cb87012dac77145de5a201f4637c61ba9"
Job succeeded
2024-05-26 20:22.56: Job succeeded