Organisationsinhabitedtypeocaml-webmachinefc0eb6 (master)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-05-10 09:10.31: New job: test inhabitedtype/ocaml-webmachine https://github.com/inhabitedtype/ocaml-webmachine.git#refs/heads/master (fc0eb6349527de66d44ed10154198b2ec8464b15) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/inhabitedtype/ocaml-webmachine.git" -b "master" && cd "ocaml-webmachine" && git reset --hard fc0eb634
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
# debian-12-4.03_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 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 webmachine.opam ./
RUN opam pin add -yn webmachine.dev './'
ENV DEPS="base.v0.9.2 base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base base64.2.0.0 camlp4.4.03+1 cohttp.1.0.0 conf-m4.1 conf-which.1 cppo.1.6.0 cppo_ocamlbuild.1.6.0 dispatch.0.5.0 dune.1.0.0 fieldslib.v0.9.0 jbuilder.transition jsonm.0.9.1 num.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-compiler-libs.v0.9.0 ocaml-config.1 ocaml-migrate-parsetree.1.0.11 ocamlbuild.0.9.1 ocamlfind.1.6.2 ounit.1.1.2 ppx_ast.v0.9.0 ppx_core.v0.9.0 ppx_deriving.4.1 ppx_driver.v0.9.1 ppx_fields_conv.v0.9.0 ppx_metaquot.v0.9.0 ppx_optcomp.v0.9.0 ppx_sexp_conv.v0.9.0 ppx_tools.4.03.0 ppx_traverse_builtins.v0.9.0 ppx_type_conv.v0.9.0 ptime.0.8.0 re.1.7.2 result.1.0 sexplib.v0.9.2 stdio.v0.9.0 stringext.1.4.0 uri.1.9.2 uutf.0.9.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y webmachine.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 09:10.31: Using cache hint "inhabitedtype/ocaml-webmachine-ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea-debian-12-4.03_opam-2.1-03180cf776df3f3fc7551b32f85d14a4"
2024-05-10 09:10.31: Using OBuilder spec:
((from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
 (comment debian-12-4.03_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 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src webmachine.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn webmachine.dev './'"))
 (env DEPS "base.v0.9.2 base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base base64.2.0.0 camlp4.4.03+1 cohttp.1.0.0 conf-m4.1 conf-which.1 cppo.1.6.0 cppo_ocamlbuild.1.6.0 dispatch.0.5.0 dune.1.0.0 fieldslib.v0.9.0 jbuilder.transition jsonm.0.9.1 num.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-compiler-libs.v0.9.0 ocaml-config.1 ocaml-migrate-parsetree.1.0.11 ocamlbuild.0.9.1 ocamlfind.1.6.2 ounit.1.1.2 ppx_ast.v0.9.0 ppx_core.v0.9.0 ppx_deriving.4.1 ppx_driver.v0.9.1 ppx_fields_conv.v0.9.0 ppx_metaquot.v0.9.0 ppx_optcomp.v0.9.0 ppx_sexp_conv.v0.9.0 ppx_tools.4.03.0 ppx_traverse_builtins.v0.9.0 ppx_type_conv.v0.9.0 ptime.0.8.0 re.1.7.2 result.1.0 sexplib.v0.9.2 stdio.v0.9.0 stringext.1.4.0 uri.1.9.2 uutf.0.9.1")
 (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 webmachine.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 09:10.31: Waiting for resource in pool OCluster
2024-05-11 00:45.07: Waiting for worker…
2024-05-11 00:53.11: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
All commits already cached
HEAD is now at fc0eb63 Merge pull request #108 from hannesm/dispatch.0.5.0


(from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
2024-05-11 00:54.17 ---> saved as "5e746ce75e4437cb8305c3242b0b72bc201345168ee5141ebd6738538e1ece83"


/: (comment debian-12-4.03_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 00:54.17 ---> saved as "17730712d481f6de6d87f039733a29f54bc236fb415a7ed1b4487ab1828fae07"


/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 00:55.35 ---> saved as "0daf33aedad7fb282aaac6c7833940bdb15b54d88d76fff8c6981e24105988f0"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.03.0
2.1.5
2024-05-11 00:55.36 ---> saved as "8ba57746c1588e360057937b5f9571685bd8a781186d299d6c3ac306404d108c"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-11 00:55.36 ---> saved as "8a972db9ab987a0f7ac5a95a1c0017fef21f56ba02eb320ff0446f680f19bec7"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   fa727ddb20..2ae169d7d0  master     -> origin/master
819388d34c @dra27 maintains the OCaml Museum


<><> 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 00:57.03 ---> saved as "09e95dce65ebafc6d63c864272acc4ef79bdd1b25c1d90b24615c84cd4a5f3c3"


/src: (copy (src webmachine.opam) (dst ./))
2024-05-11 00:57.04 ---> saved as "521146a3d0afe12362b80b76329db6d88b28c8c369e0944a35e2f69121ad426f"


/src: (run (network host)
           (shell "opam pin add -yn webmachine.dev './'"))
[webmachine.dev] synchronised (file:///src)
webmachine is now pinned to file:///src (version dev)
2024-05-11 00:57.05 ---> saved as "bf38594be65a2fab8e168abde015c3ab52de9824b3b308bbd4ac6832bbb514e1"


/src: (env DEPS "base.v0.9.2 base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base base64.2.0.0 camlp4.4.03+1 cohttp.1.0.0 conf-m4.1 conf-which.1 cppo.1.6.0 cppo_ocamlbuild.1.6.0 dispatch.0.5.0 dune.1.0.0 fieldslib.v0.9.0 jbuilder.transition jsonm.0.9.1 num.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-compiler-libs.v0.9.0 ocaml-config.1 ocaml-migrate-parsetree.1.0.11 ocamlbuild.0.9.1 ocamlfind.1.6.2 ounit.1.1.2 ppx_ast.v0.9.0 ppx_core.v0.9.0 ppx_deriving.4.1 ppx_driver.v0.9.1 ppx_fields_conv.v0.9.0 ppx_metaquot.v0.9.0 ppx_optcomp.v0.9.0 ppx_sexp_conv.v0.9.0 ppx_tools.4.03.0 ppx_traverse_builtins.v0.9.0 ppx_type_conv.v0.9.0 ptime.0.8.0 re.1.7.2 result.1.0 sexplib.v0.9.2 stdio.v0.9.0 stringext.1.4.0 uri.1.9.2 uutf.0.9.1")


/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 webmachine.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 [155 kB]
- Fetched 271 kB in 0s (984 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[webmachine.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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.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-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 00:57.28 ---> saved as "8338147ad5272db2246830823c6d117ae3535e8faf7d8d4a9ce5469e99e666e9"


/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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.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-bigarray is already installed (current version is base).
The following actions will be performed:
  - install conf-m4                 1
  - install result                  1.0
  - install dune                    1.0.0
  - install ocamlbuild              0.9.1
  - install base-num                base
  - install conf-which              1
  - install jbuilder                transition
  - install dispatch                0.5.0
  - install num                     0
  - install camlp4                  4.03+1
  - install ppx_traverse_builtins   v0.9.0
  - install ocaml-compiler-libs     v0.9.0
  - install sexplib                 v0.9.2
  - install ocamlfind               1.6.2
  - install base                    v0.9.2
  - install uutf                    0.9.1
  - install ptime                   0.8.0
  - install ppx_tools               4.03.0
  - install ounit                   1.1.2
  - install ocaml-migrate-parsetree 1.0.11
  - install base-bytes              base
  - install stdio                   v0.9.0
  - install jsonm                   0.9.1
  - install ppx_ast                 v0.9.0
  - install stringext               1.4.0
  - install re                      1.7.2
  - install cppo                    1.6.0
  - install base64                  2.0.0
  - install ppx_core                v0.9.0
  - install cppo_ocamlbuild         1.6.0
  - install ppx_optcomp             v0.9.0
  - install ppx_deriving            4.1
  - install ppx_driver              v0.9.1
  - install ppx_metaquot            v0.9.0
  - install fieldslib               v0.9.0
  - install ppx_type_conv           v0.9.0
  - install ppx_sexp_conv           v0.9.0
  - install ppx_fields_conv         v0.9.0
  - install uri                     1.9.2
  - install cohttp                  1.0.0
===== 40 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-num.base
-> retrieved base.v0.9.2  (cached)
-> retrieved base64.2.0.0  (cached)
-> retrieved camlp4.4.03+1  (cached)
-> retrieved cohttp.1.0.0  (cached)
-> retrieved cppo.1.6.0  (cached)
-> installed conf-m4.1
-> installed conf-which.1
-> retrieved cppo_ocamlbuild.1.6.0  (cached)
-> retrieved dispatch.0.5.0  (cached)
-> retrieved fieldslib.v0.9.0  (cached)
-> installed num.0
-> retrieved ocaml-compiler-libs.v0.9.0  (cached)
-> retrieved jsonm.0.9.1  (cached)
-> retrieved ocamlbuild.0.9.1  (cached)
-> retrieved ocamlfind.1.6.2  (cached)
-> retrieved ocaml-migrate-parsetree.1.0.11  (cached)
-> retrieved ounit.1.1.2  (cached)
-> retrieved dune.1.0.0  (cached)
-> retrieved ppx_ast.v0.9.0  (cached)
-> retrieved ppx_core.v0.9.0  (cached)
-> retrieved ppx_deriving.4.1  (cached)
-> retrieved ppx_driver.v0.9.1  (cached)
-> retrieved ppx_fields_conv.v0.9.0  (cached)
-> retrieved ppx_metaquot.v0.9.0  (cached)
-> retrieved ppx_optcomp.v0.9.0  (cached)
-> retrieved ppx_sexp_conv.v0.9.0  (cached)
-> retrieved ppx_tools.4.03.0  (cached)
-> retrieved ppx_traverse_builtins.v0.9.0  (cached)
-> retrieved ppx_type_conv.v0.9.0  (cached)
-> retrieved result.1.0  (cached)
-> retrieved ptime.0.8.0  (cached)
-> retrieved re.1.7.2  (cached)
-> retrieved sexplib.v0.9.2  (cached)
-> retrieved stdio.v0.9.0  (cached)
-> retrieved stringext.1.4.0  (cached)
-> retrieved uri.1.9.2  (cached)
-> retrieved uutf.0.9.1  (cached)
-> installed result.1.0
-> installed ocamlbuild.0.9.1
-> installed ocamlfind.1.6.2
-> installed base-bytes.base
-> installed dune.1.0.0
-> installed jbuilder.transition
-> installed ptime.0.8.0
-> installed cppo.1.6.0
-> installed dispatch.0.5.0
-> installed ocaml-compiler-libs.v0.9.0
-> installed ppx_traverse_builtins.v0.9.0
-> installed re.1.7.2
-> installed sexplib.v0.9.2
-> installed cppo_ocamlbuild.1.6.0
-> installed ocaml-migrate-parsetree.1.0.11
-> installed uutf.0.9.1
-> installed base64.2.0.0
-> installed base.v0.9.2
-> installed ppx_ast.v0.9.0
-> installed ppx_tools.4.03.0
-> installed stringext.1.4.0
-> installed stdio.v0.9.0
-> installed jsonm.0.9.1
-> installed ppx_deriving.4.1
-> installed ppx_core.v0.9.0
-> installed ppx_optcomp.v0.9.0
-> installed ppx_driver.v0.9.1
-> installed fieldslib.v0.9.0
-> installed ppx_metaquot.v0.9.0
-> installed ppx_type_conv.v0.9.0
-> installed ppx_fields_conv.v0.9.0
-> installed ppx_sexp_conv.v0.9.0
-> installed uri.1.9.2
-> installed cohttp.1.0.0
-> installed camlp4.4.03+1
-> installed ounit.1.1.2
Done.


<><> jbuilder.transition installed successfully <><><><><><><><><><><><><><><><>
=> Jbuilder has been renamed and the jbuilder package is now a transition package. Use the dune package instead.
# Run eval $(opam env) to update the current shell environment
2024-05-11 01:00.01 ---> saved as "15deb75d581e0aa767f43f18429e5eb6674ae9faca6e8f2e723ba409ae0b79ea"


/src: (copy (src .) (dst /src))
2024-05-11 01:00.01 ---> saved as "4d1e2ed4ae925f0d626dd21e47b7f5e1aaa6d370b377b1087aee246ceab7693a"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
From the command line:
Error: Alias "check" is empty.
It is not defined in . or any of its descendants.
test_dispatch alias lib_test/runtest
.....
Ran: 5 tests in: 0.00 seconds.
OK
  test_logic alias lib_test/runtest
..........................................
Ran: 42 tests in: 0.00 seconds.
OK
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-11 01:00.02: Job failed: Failed: Build failed