Organisationshannesmgmap10496d (main)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-05-14 13:15.12: New job: test hannesm/gmap https://github.com/hannesm/gmap.git#refs/heads/main (10496da1ff70c5872fc5c7e28ee8cb73720dfae6) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/hannesm/gmap.git" -b "main" && cd "gmap" && git reset --hard 10496da1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
# debian-12-4.04_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 gmap.opam ./
RUN opam pin add -yn gmap.dev './'
ENV DEPS="alcotest.0.1.0 base-bigarray.base base-num.base base-threads.base base-unix.base camlp4.4.04+1 cmdliner.0.9.2 conf-m4.1 dune.1.0.0 fmt.0.7.0 num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.6.2 ounit.1.1.2 re.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y gmap.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-14 13:15.12: Using cache hint "hannesm/gmap-ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8-debian-12-4.04_opam-2.1-71a16352f0848d450eb1da82feb25bdd"
2024-05-14 13:15.12: Using OBuilder spec:
((from ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8)
 (comment debian-12-4.04_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 gmap.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn gmap.dev './'"))
 (env DEPS "alcotest.0.1.0 base-bigarray.base base-num.base base-threads.base base-unix.base camlp4.4.04+1 cmdliner.0.9.2 conf-m4.1 dune.1.0.0 fmt.0.7.0 num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.6.2 ounit.1.1.2 re.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.1 --depext-only -y gmap.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-14 13:15.12: Waiting for resource in pool OCluster
2024-05-14 13:15.15: Waiting for worker…
2024-05-14 13:15.15: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
HEAD is now at 10496da opam: pinned is now dev, dune is not only a build dependency


(from ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8)
Unable to find image 'ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8' locally
docker.io/ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8: Pulling from ocaml/opam
e58cd26576ff: Pulling fs layer
e58cd26576ff: Verifying Checksum
e58cd26576ff: Download complete
e58cd26576ff: Pull complete
Digest: sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
Status: Downloaded newer image for ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
2024-05-14 13:17.38 ---> saved as "f8cc879b8fa41146f4d68824f571af48d0fc242fa563e6c44aad42da2480e773"


/: (comment debian-12-4.04_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-14 13:17.38 ---> saved as "7acf9c20e3a294f65eec146d2b0278d86ac3011a3aaf14f981174ab68667921e"


/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-14 13:18.44 ---> saved as "eb9e02ecfcb5ba37a004cedecf7a30bca11d30398ed5232984b27dff3d577897"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-106-generic
The OCaml toplevel, version 4.04.2
2.1.5
2024-05-14 13:18.44 ---> saved as "1c1947f6600fe344049c423f5d475e2bbcf469ba4d40ccfe151b45e81f7382fc"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-14 13:18.44 ---> saved as "cac506b2ad2021f1ddbd68db7b37261e0a93bd2be740791bb6297e219b96903b"


/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"))
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-14 13:19.48 ---> saved as "9bbc8a346c35d66f849e3eeabfa81e895c893b813af311f59f7b650e469fbb02"


/src: (copy (src gmap.opam) (dst ./))
2024-05-14 13:19.48 ---> saved as "899f7607928d301ef1333aa3452a8e2b1d0d3d1baf3eb0c8d27c68ab8ed0af32"


/src: (run (network host)
           (shell "opam pin add -yn gmap.dev './'"))
[gmap.dev] synchronised (file:///src)
gmap is now pinned to file:///src (version dev)
2024-05-14 13:19.50 ---> saved as "456c9d92092a18d426cf4d698bd8f5b0ff556d1414ad55a989f53df566314fcd"


/src: (env DEPS "alcotest.0.1.0 base-bigarray.base base-num.base base-threads.base base-unix.base camlp4.4.04+1 cmdliner.0.9.2 conf-m4.1 dune.1.0.0 fmt.0.7.0 num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.6.2 ounit.1.1.2 re.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.1 --depext-only -y gmap.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]
- Fetched 103 kB in 0s (485 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gmap.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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.2).
[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-14 13:20.06 ---> saved as "676e270ebfbb07c04519477895301274445721d032574f5149f8be3c61b2e688"


/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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.2).
[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 base-num   base
  - install dune       1.0.0
  - install ocamlbuild 0.9.1
  - install conf-m4    1
  - install num        0
  - install camlp4     4.04+1
  - install ocamlfind  1.6.2
  - install re         1.0
  - install ounit      1.1.2
  - install fmt        0.7.0
  - install cmdliner   0.9.2
  - install alcotest   0.1.0
===== 12 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-num.base
-> retrieved alcotest.0.1.0  (https://github.com/mirage/alcotest/archive/0.1.0.tar.gz)
-> installed conf-m4.1
-> retrieved cmdliner.0.9.2  (http://erratique.ch/software/cmdliner/releases/cmdliner-0.9.2.tbz)
-> retrieved camlp4.4.04+1  (https://github.com/ocaml/camlp4/archive/4.04+1.tar.gz)
-> installed num.0
-> retrieved ocamlbuild.0.9.1  (cached)
-> retrieved dune.1.0.0  (cached)
-> retrieved ocamlfind.1.6.2  (cached)
-> retrieved ounit.1.1.2  (cached)
-> retrieved fmt.0.7.0  (http://erratique.ch/software/fmt/releases/fmt-0.7.0.tbz)
-> retrieved re.1.0  (http://github.com/ocaml/ocaml-re/tarball/ocaml-re-1.0)
-> installed ocamlfind.1.6.2
-> installed ocamlbuild.0.9.1
-> installed fmt.0.7.0
-> installed re.1.0
-> installed cmdliner.0.9.2
-> installed dune.1.0.0
-> installed camlp4.4.04+1
-> installed ounit.1.1.2
-> installed alcotest.0.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-14 13:22.51 ---> saved as "be3c8d18fb81367df34476fa0fdba7125ec522fb5213ad1b8860866e18f00d8a"


/src: (copy (src .) (dst /src))
2024-05-14 13:22.51 ---> saved as "97457c7adf06596852b97e9b36ac84a665c44454e28173ad199e3c59ac4d0b42"


/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.
      ocamlc .tests.eobjs/tests.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.04/bin/ocamlc.opt -w @a-4-29-40-41-42-44-45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I .tests.eobjs -I /home/opam/.opam/4.04/lib/alcotest -I /home/opam/.opam/4.04/lib/cmdliner -I /home/opam/.opam/4.04/lib/fmt -I /home/opam/.opam/4.04/lib/oUnit -I /home/opam/.opam/4.04/lib/re -I .gmap.objs -no-alias-deps -o .tests.eobjs/tests.cmo -c -impl tests.ml)
File "tests.ml", line 34, characters 2-49:
Error: Unbound module type Alcotest.TESTABLE
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-14 13:22.52: Job failed: Failed: Build failed