Organisationsahrefsatd94051f ()(lower-bound)

(lower-bound)

Logs

Show full logs
2024-12-18 17:26.24: New job: test ahrefs/atd https://github.com/ahrefs/atd.git#refs/pull/418/head (94051f98de3a7e8c91a285a9465646b12d6c4111) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:b19f193fe7f326e3d37af7875868ea5e5a67c750ba4b7b2a04cd94a89cf6c031
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ahrefs/atd.git" && cd "atd" && git fetch origin "refs/pull/418/head" && git reset --hard 94051f98
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:b19f193fe7f326e3d37af7875868ea5e5a67c750ba4b7b2a04cd94a89cf6c031
# debian-12-4.08_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 atdts.opam atds.opam atdpy.opam atdj.opam atdgen.opam atdgen-runtime.opam atdgen-codec-runtime.opam atdd.opam atdcpp.opam atd.opam ./
RUN opam pin add -yn atdts.dev './' && \
    opam pin add -yn atds.dev './' && \
    opam pin add -yn atdpy.dev './' && \
    opam pin add -yn atdj.dev './' && \
    opam pin add -yn atdgen.dev './' && \
    opam pin add -yn atdgen-runtime.dev './' && \
    opam pin add -yn atdgen-codec-runtime.dev './' && \
    opam pin add -yn atdd.dev './' && \
    opam pin add -yn atdcpp.dev './' && \
    opam pin add -yn atd.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.1.0 cmdliner.1.1.0 conf-m4.1 conf-python-3.1.0.0 conf-which.1 cppo.1.6.1 dune.2.8.0 easy-format.1.0.1 fmt.0.8.0 jbuilder.1.0+beta20.1 menhir.20180528 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.9.0 result.1.0 seq.0.2.2 topkg.0.7.5 yojson.2.0.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y atdts.dev atds.dev atdpy.dev atdj.dev atdgen.dev atdgen-runtime.dev atdgen-codec-runtime.dev atdd.dev atdcpp.dev atd.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-12-18 17:26.24: Using cache hint "ahrefs/atd-ocaml/opam:debian-12-ocaml-4.08@sha256:b19f193fe7f326e3d37af7875868ea5e5a67c750ba4b7b2a04cd94a89cf6c031-debian-12-4.08_opam-2.3-3c7c9c6cfbb9a811e52810cd7329890d"
2024-12-18 17:26.24: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:b19f193fe7f326e3d37af7875868ea5e5a67c750ba4b7b2a04cd94a89cf6c031)
 (comment debian-12-4.08_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src atdts.opam atds.opam atdpy.opam atdj.opam atdgen.opam atdgen-runtime.opam atdgen-codec-runtime.opam atdd.opam atdcpp.opam atd.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn atdts.dev './' && \
             \nopam pin add -yn atds.dev './' && \
             \nopam pin add -yn atdpy.dev './' && \
             \nopam pin add -yn atdj.dev './' && \
             \nopam pin add -yn atdgen.dev './' && \
             \nopam pin add -yn atdgen-runtime.dev './' && \
             \nopam pin add -yn atdgen-codec-runtime.dev './' && \
             \nopam pin add -yn atdd.dev './' && \
             \nopam pin add -yn atdcpp.dev './' && \
             \nopam pin add -yn atd.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.1.0 cmdliner.1.1.0 conf-m4.1 conf-python-3.1.0.0 conf-which.1 cppo.1.6.1 dune.2.8.0 easy-format.1.0.1 fmt.0.8.0 jbuilder.1.0+beta20.1 menhir.20180528 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.9.0 result.1.0 seq.0.2.2 topkg.0.7.5 yojson.2.0.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.3 --depext-only -y atdts.dev atds.dev atdpy.dev atdj.dev atdgen.dev atdgen-runtime.dev atdgen-codec-runtime.dev atdd.dev atdcpp.dev atd.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-12-18 17:26.24: Waiting for resource in pool OCluster
2024-12-18 17:26.24: Waiting for worker…
2024-12-18 17:26.31: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
All commits already cached
HEAD is now at 94051f9 add unix library

(from ocaml/opam:debian-12-ocaml-4.08@sha256:b19f193fe7f326e3d37af7875868ea5e5a67c750ba4b7b2a04cd94a89cf6c031)
2024-12-18 17:27.44 ---> saved as "0ccd3f5b4d657f0944073853d77008496ca475f3e6ca9e2160b53453ab7d01cf"

/: (comment debian-12-4.08_opam-2.3)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2024-12-18 17:27.44 ---> saved as "4350a96ce857a6cf94f3853199c523bbabcd7392ee0db7490b2565789aa165c8"

/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.2, 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-12-18 17:29.05 ---> saved as "7f00b6af43b1cc91f04d10609ea0abe697d7669c0089c72dccf4a58e15f47eeb"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.08.1
2.3.0
2024-12-18 17:29.05 ---> saved as "99feb0568f6dde4db4c8edb0f47a88343158af27f8667bb6b0285f80636eb819"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-12-18 17:29.05 ---> saved as "9922f977018167612f45c9e57eaadb2f82e8abca18e6a2d52f16fc0113622731"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
28daeff6f3 Merge pull request #26814 from mtelvers/m4

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
2024-12-18 17:29.30: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled