Organisationsahrefsatdb32563 ()ubuntu-24.10-4.14_opam-2.3

ubuntu-24.10-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-03-07 15:46.31: New job: test ahrefs/atd https://github.com/ahrefs/atd.git#refs/heads/smondet-20250307-remove-j-std-i412 (b32563a4f983985e319345c0dd2f1bb5257f593a) (linux-x86_64:ubuntu-24.10-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:8f4e2e2875bda22da36afde6d9fe7e4ca89b12ee49766bd202d17545add0c12e
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/atd.git" -b "smondet-20250307-remove-j-std-i412" && cd "atd" && git reset --hard b32563a4
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:8f4e2e2875bda22da36afde6d9fe7e4ca89b12ee49766bd202d17545add0c12e
# ubuntu-24.10-4.14_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 3a71da7aa109c82e542d4ae815ffa4e94a56110d || git fetch origin master) && git reset -q --hard 3a71da7aa109c82e542d4ae815ffa4e94a56110d && 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.1.8.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 camlp-streams.5.0.1 cmdliner.1.3.0 conf-python-3.9.0.0 dune.3.17.2 easy-format.1.3.4 fmt.0.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.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


2025-03-07 15:46.31: Using cache hint "ahrefs/atd-ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:8f4e2e2875bda22da36afde6d9fe7e4ca89b12ee49766bd202d17545add0c12e-ubuntu-24.10-4.14_opam-2.3-2611fd388087aa6441e92012c8fc7645"
2025-03-07 15:46.31: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:8f4e2e2875bda22da36afde6d9fe7e4ca89b12ee49766bd202d17545add0c12e)
(comment ubuntu-24.10-4.14_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 3a71da7aa109c82e542d4ae815ffa4e94a56110d || git fetch origin master) && git reset -q --hard 3a71da7aa109c82e542d4ae815ffa4e94a56110d && 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.1.8.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 camlp-streams.5.0.1 cmdliner.1.3.0 conf-python-3.9.0.0 dune.3.17.2 easy-format.1.3.4 fmt.0.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.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"))
)


2025-03-07 15:46.31: Waiting for resource in pool OCluster
2025-03-07 15:46.31: Waiting for worker…
2025-03-07 16:26.00: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
HEAD is now at 2fe6aa3 Add option `-j-gen-modules` to generate JSON generic submodules → #416 (#420)
HEAD is now at b32563a Generalize and document use of `ATDGEN_FAIL_DEPRECATED_OPTIONS`


(from ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:8f4e2e2875bda22da36afde6d9fe7e4ca89b12ee49766bd202d17545add0c12e)
2025-03-07 16:26.21 ---> saved as "0ac7178b85966e8dab30e9bab46a80d0ce56159eb910cd0ed4e52f7378bb1785"


/: (comment ubuntu-24.10-4.14_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"))
2025-03-07 16:26.21 ---> saved as "16580bc7d4c6d0bd38493847b438938d567af50a1202986337a9c4b7d8df1d84"


/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 31 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=31 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-07 16:27.58 ---> saved as "8ca0f6ffcd164387b840efab84f6a863c86a0a8f7fe82c5b704e4469d9978db4"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-07 16:27.58 ---> saved as "be997f93356c8f61cff9c4ea682fe71230e9866f70fca6a7dbac487c3e98beee"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-07 16:27.58 ---> saved as "d0602bb0b870323aa4a17d13c995f74c448b7f24f6aa1befa3e52f0cccd3fb8e"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3a71da7aa109c82e542d4ae815ffa4e94a56110d || git fetch origin master) && git reset -q --hard 3a71da7aa109c82e542d4ae815ffa4e94a56110d && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
94514fa0d0..862a7640b1  master     -> origin/master
3a71da7aa1 Merge pull request #27563 from hannesm/alcotest-maint


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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.
# To update the current shell environment, run: eval $(opam env)
2025-03-07 16:29.13 ---> saved as "622ba6d24beadbafa718c6274b64000ea7928ef214fe2dad93b8e9c3e59c2d71"


/src: (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 ./))
2025-03-07 16:29.13 ---> saved as "0c67ec70b3db140432f368a15ca8b3a86379f797df690982fe019733dcec1f9c"


/src: (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 './'"))
[atdts.dev] synchronised (file:///src)
atdts is now pinned to file:///src (version dev)
[atds.dev] synchronised (file:///src)
atds is now pinned to file:///src (version dev)
[atdpy.dev] synchronised (file:///src)
atdpy is now pinned to file:///src (version dev)
[atdj.dev] synchronised (file:///src)
atdj is now pinned to file:///src (version dev)
[atdgen.dev] synchronised (file:///src)
atdgen is now pinned to file:///src (version dev)
[atdgen-runtime.dev] synchronised (file:///src)
atdgen-runtime is now pinned to file:///src (version dev)
[atdgen-codec-runtime.dev] synchronised (file:///src)
atdgen-codec-runtime is now pinned to file:///src (version dev)
[atdd.dev] synchronised (file:///src)
atdd is now pinned to file:///src (version dev)
[atdcpp.dev] synchronised (file:///src)
atdcpp is now pinned to file:///src (version dev)
[atd.dev] synchronised (file:///src)
atd is now pinned to file:///src (version dev)
2025-03-07 16:29.49 ---> saved as "84683d867994ff36e1c1af2dd2c4bf432246d336922fa53df11bc976f4446463"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-07 16:29.49 ---> saved as "d4158431164f651b15bcf5fad25786059419dde747e801eedd901c5d0ab46a9e"


/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 camlp-streams.5.0.1 cmdliner.1.3.0 conf-python-3.9.0.0 dune.3.17.2 easy-format.1.3.4 fmt.0.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.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.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"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu oracular InRelease
- Get:2 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB]
- Get:3 http://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu oracular-updates/restricted amd64 Packages [177 kB]
- Get:6 http://archive.ubuntu.com/ubuntu oracular-updates/multiverse amd64 Packages [20.3 kB]
- Get:7 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [414 kB]
- Get:8 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [246 kB]
- Get:9 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages [181 kB]
- Get:10 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [300 kB]
- Get:11 http://security.ubuntu.com/ubuntu oracular-security/restricted amd64 Packages [171 kB]
- Get:12 http://security.ubuntu.com/ubuntu oracular-security/multiverse amd64 Packages [19.2 kB]
- Fetched 1905 kB in 1s (1278 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[atd.dev] synchronised (file:///src)
[atdcpp.dev] synchronised (file:///src)
[atdd.dev] synchronised (file:///src)
[atdgen.dev] synchronised (file:///src)
[atdgen-codec-runtime.dev] synchronised (file:///src)
[atdgen-runtime.dev] synchronised (file:///src)
[atdj.dev] synchronised (file:///src)
[atdpy.dev] synchronised (file:///src)
[atds.dev] synchronised (file:///src)
[atdts.dev] synchronised (file:///src)


[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.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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).
2025-03-07 16:30.49: Job failed: Disconnected: Switch turned off