2024-11-18 12:40.50: New job: test mirage/ocaml-xenstore https://github.com/mirage/ocaml-xenstore.git#refs/pull/55/head (8412de536c1a10a5ee6c8d386c0856bc81b310a5) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.13@sha256:7952522237453ab019b621056e279bd6d12a1c7b46b9f4de35e342fd0793cecc
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-xenstore.git" && cd "ocaml-xenstore" && git fetch origin "refs/pull/55/head" && git reset --hard 8412de53
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.13@sha256:7952522237453ab019b621056e279bd6d12a1c7b46b9f4de35e342fd0793cecc
# debian-12-4.13_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 0042660a9180d1270c19882182dcf61b6f8bb645 || git fetch origin master) && git reset -q --hard 0042660a9180d1270c19882182dcf61b6f8bb645 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 xenstore.opam ./
RUN opam pin add -yn xenstore.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.6.1 dune.2.8.5 dune-configurator.2.3.0 dune-private-libs.2.3.0 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta20.1 lwt.5.4.0 mmap.1.1.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.0 ocamlfind.1.9.1 ocplib-endian.1.0 ounit2.2.2.2 result.1.0 seq.0.2.2 stdlib-shims.0.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y xenstore.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-11-18 12:40.50: Using cache hint "mirage/ocaml-xenstore-ocaml/opam:debian-12-ocaml-4.13@sha256:7952522237453ab019b621056e279bd6d12a1c7b46b9f4de35e342fd0793cecc-debian-12-4.13_opam-2.2-15cb45b5517909486ee9015010525acf"
2024-11-18 12:40.50: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:7952522237453ab019b621056e279bd6d12a1c7b46b9f4de35e342fd0793cecc)
(comment debian-12-4.13_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /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 0042660a9180d1270c19882182dcf61b6f8bb645 || git fetch origin master) && git reset -q --hard 0042660a9180d1270c19882182dcf61b6f8bb645 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src xenstore.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn xenstore.dev './'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.6.1 dune.2.8.5 dune-configurator.2.3.0 dune-private-libs.2.3.0 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta20.1 lwt.5.4.0 mmap.1.1.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.0 ocamlfind.1.9.1 ocplib-endian.1.0 ounit2.2.2.2 result.1.0 seq.0.2.2 stdlib-shims.0.1.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.2 --depext-only -y xenstore.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-11-18 12:40.50: Waiting for resource in pool OCluster
2024-11-18 12:40.51: Waiting for worker…
2024-11-18 12:40.51: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
HEAD is now at 01b9eb8 fixup! client_unix: Add Directory_part support
HEAD is now at 8412de5 fixup! client_unix: Add Directory_part support
(from ocaml/opam:debian-12-ocaml-4.13@sha256:7952522237453ab019b621056e279bd6d12a1c7b46b9f4de35e342fd0793cecc)
2024-11-18 12:40.51 ---> using "4671d91d620de463500ac0d3192fd582c43ef2c52fd6f83e69c987c8940ba12a" from cache
/: (comment debian-12-4.13_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-11-18 12:40.51 ---> using "39edb1933d0e30d072b729f04671f7774f84d9fe0be023541900506cc20b3bb9" 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 development 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 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-18 12:40.51 ---> using "7be193041735a3c99358eaa6c6114203641cd6b2deea706e5ad7f63c9183dfe3" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 4.13.1
2.2.1
2024-11-18 12:40.51 ---> using "52f8e1c283e5bcc23db417ffe89a3ddc18a33e524293451ebe5ae05332a979c9" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-18 12:40.51 ---> using "024a57ce526c4b0bc42c8c79ff721c1e18b3fba252dfe40577d9e801fd46820b" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 0042660a9180d1270c19882182dcf61b6f8bb645 || git fetch origin master) && git reset -q --hard 0042660a9180d1270c19882182dcf61b6f8bb645 && git log --no-decorate -n1 --oneline && opam update -u"))
0042660a91 Merge pull request #25861 from dra27/windows-initial
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
The following actions will be performed:
=== downgrade 1 package
- downgrade opam-depext 1.2.3 to 1.2.1-1 [no longer available]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.1-1 (https://github.com/ocaml-opam/opam-depext/releases/download/v1.2.1/opam-depext-full-1.2.1.tbz)
-> removed opam-depext.1.2.3
-> installed opam-depext.1.2.1-1
Done.
<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-11-18 12:40.51 ---> using "c0cb6a160d46b6572dcfa7f74a4651f4364c946a917708322959e4e491b9dfdf" from cache
/src: (copy (src xenstore.opam) (dst ./))
2024-11-18 12:40.51 ---> using "0df975be9ed0c08af4d596dcd5e2de088a67a291cf84a9690c30062861b392e0" from cache
/src: (run (network host)
(shell "opam pin add -yn xenstore.dev './'"))
[xenstore.dev] synchronised (file:///src)
xenstore is now pinned to file:///src (version dev)
2024-11-18 12:40.51 ---> using "3f74c9c0f24c0ea4d03c5efd82c8924e3016652ecdb3ea5be741d27e249be3bf" from cache
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.6.1 dune.2.8.5 dune-configurator.2.3.0 dune-private-libs.2.3.0 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta20.1 lwt.5.4.0 mmap.1.1.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.0 ocamlfind.1.9.1 ocplib-endian.1.0 ounit2.2.2.2 result.1.0 seq.0.2.2 stdlib-shims.0.1.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.2 --depext-only -y xenstore.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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/main amd64 Packages [8789 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [204 kB]
- Fetched 9247 kB in 1s (7260 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[xenstore.dev] synchronised (no changes)
[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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.1).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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-11-18 12:40.51 ---> using "ae53be53393ad4be930b12815d17eda01eb79d87a624f4962c8d22cd93993ef3" from cache
/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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.1).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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 15 packages
- install base-bytes base
- install cppo 1.6.1
- install dune 2.8.5
- install dune-configurator 2.3.0
- install dune-private-libs 2.3.0
- install jbuilder 1.0+beta20.1
- install lwt 5.4.0
- install mmap 1.1.0
- install ocamlbuild 0.14.0
- install ocamlfind 1.9.1
- install ocplib-endian 1.0
- install ounit2 2.2.2
- install result 1.0
- install seq 0.2.2
- install stdlib-shims 0.1.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune-configurator.2.3.0, dune-private-libs.2.3.0 (cached)
-> retrieved cppo.1.6.1 (https://github.com/mjambon/cppo/archive/v1.6.1.tar.gz)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved dune.2.8.5 (https://github.com/ocaml/dune/releases/download/2.8.5/dune-2.8.5.tbz)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved lwt.5.4.0 (https://github.com/ocsigen/lwt/archive/5.4.0.zip)
-> retrieved mmap.1.1.0 (https://github.com/mirage/mmap/releases/download/v1.1.0/mmap-v1.1.0.tbz)
-> retrieved ocamlfind.1.9.1 (http://download.camlcity.org/download/findlib-1.9.1.tar.gz)
-> retrieved result.1.0 (cached)
-> installed result.1.0
-> retrieved ocplib-endian.1.0 (https://github.com/OCamlPro/ocplib-endian/archive/1.0.tar.gz)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved seq.0.2.2 (https://github.com/c-cube/seq/archive/0.2.2.tar.gz)
-> retrieved ounit2.2.2.2 (https://github.com/gildor478/ounit/releases/download/v2.2.2/ounit-v2.2.2.tbz)
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed dune.2.8.5
-> installed mmap.1.1.0
-> installed stdlib-shims.0.1.0
-> installed seq.0.2.2
-> installed ounit2.2.2.2
-> installed ocplib-endian.1.0
-> installed dune-private-libs.2.3.0
-> installed dune-configurator.2.3.0
-> installed lwt.5.4.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-18 12:40.51 ---> using "4a7fa1a4b0b4474eca7edd9be16adaeb44a6106430c4c6f73b4b319f892caccc" from cache
/src: (copy (src .) (dst /src))
2024-11-18 12:40.51 ---> saved as "a150b62f6731f588d7b034b8a8bbb29d8d8f4f5d1656775e85fd5f845f52da96"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
ocamlc server/.xenstore_server.objs/byte/xenstore_server__Store.{cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.13/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 server/.xenstore_server.objs/byte -I /home/opam/.opam/4.13/lib/bytes -I /home/opam/.opam/4.13/lib/lwt -I /home/opam/.opam/4.13/lib/result -I /home/opam/.opam/4.13/lib/seq -I core/.xenstore.objs/byte -intf-suffix .ml -no-alias-deps -opaque -open Xenstore_server -o server/.xenstore_server.objs/byte/xenstore_server__Store.cmo -c -impl server/store.ml)
File "server/store.ml", line 61, characters 24-60:
61 | | h :: tl -> h :: (replace_one_in_list [@tailcall]) tl
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error (warning 51 [wrong-tailcall-expectation]): expected tailcall
File "server/store.ml", line 71, characters 24-59:
71 | | h :: tl -> h :: (delete_one_in_list [@tailcall]) tl
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error (warning 51 [wrong-tailcall-expectation]): expected tailcall
ocamlopt server/.xenstore_server.objs/native/xenstore_server__Store.{cmx,o} (exit 2)
(cd _build/default && /home/opam/.opam/4.13/bin/ocamlopt.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 -I server/.xenstore_server.objs/byte -I server/.xenstore_server.objs/native -I /home/opam/.opam/4.13/lib/bytes -I /home/opam/.opam/4.13/lib/lwt -I /home/opam/.opam/4.13/lib/result -I /home/opam/.opam/4.13/lib/seq -I core/.xenstore.objs/byte -I core/.xenstore.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Xenstore_server -o server/.xenstore_server.objs/native/xenstore_server__Store.cmx -c -impl server/store.ml)
File "server/store.ml", line 61, characters 24-60:
61 | | h :: tl -> h :: (replace_one_in_list [@tailcall]) tl
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error (warning 51 [wrong-tailcall-expectation]): expected tailcall
File "server/store.ml", line 71, characters 24-59:
71 | | h :: tl -> h :: (delete_one_in_list [@tailcall]) tl
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error (warning 51 [wrong-tailcall-expectation]): expected tailcall
xs_test alias core_test/runtest
.............................................................................................
Ran: 93 tests in: 0.03 seconds.
OK
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-11-18 12:40.53: Job failed: Failed: Build failed