Organisationsocaml-ppxocamlformat6a56a7 (main)ubuntu-24.10-4.14_opam-2.4

ubuntu-24.10-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-09-13 13:12.51: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/heads/main (6a56a7f337088784ecab93cfa6ada390acc8c5ef) (linux-x86_64:ubuntu-24.10-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" -b "main" && cd "ocamlformat" && git reset --hard 6a56a7f3
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021
# ubuntu-24.10-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 1c9b44165f73bd3366a4af940f28503f26d3267e || git fetch origin master) && git reset -q --hard 1c9b44165f73bd3366a4af940f28503f26d3267e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam ./
RUN opam pin add -yn ocamlformat.dev './' && \
opam pin add -yn ocamlformat-rpc-lib.dev './' && \
opam pin add -yn ocamlformat-lib.dev './' && \
opam pin add -yn ocamlformat-bench.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.20.2 dune-build-info.3.20.2 dune-configurator.3.20.2 either.1.0.0 fix.20250428 fmt.0.11.0 fpath.0.7.3 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.13.2 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-bench.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-09-13 13:12.51: Using cache hint "ocaml-ppx/ocamlformat-ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021-ubuntu-24.10-4.14_opam-2.4-c636bc1faeab87f0dadbc1a944a1c077"
2025-09-13 13:12.51: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021)
(comment ubuntu-24.10-4.14_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 1c9b44165f73bd3366a4af940f28503f26d3267e || git fetch origin master) && git reset -q --hard 1c9b44165f73bd3366a4af940f28503f26d3267e && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn ocamlformat.dev './' && \
\nopam pin add -yn ocamlformat-rpc-lib.dev './' && \
\nopam pin add -yn ocamlformat-lib.dev './' && \
\nopam pin add -yn ocamlformat-bench.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.20.2 dune-build-info.3.20.2 dune-configurator.3.20.2 either.1.0.0 fix.20250428 fmt.0.11.0 fpath.0.7.3 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.13.2 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 yojson.3.0.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.4 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-bench.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-09-13 13:12.51: Waiting for resource in pool OCluster
2025-09-13 14:36.51: Waiting for worker…
2025-09-13 14:41.03: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 6a56a7f3 Reduce diff in vendored parsers (#2722)


(from ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021)
Unable to find image 'ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021' locally
docker.io/ocaml/opam@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021: Pulling from ocaml/opam
0da077d1bd8d: Pulling fs layer
0da077d1bd8d: Verifying Checksum
0da077d1bd8d: Download complete
0da077d1bd8d: Pull complete
Digest: sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021
Status: Downloaded newer image for ocaml/opam@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021
2025-09-13 14:41.04 ---> using "8e5f1bfa9ecbb24c84d2566b046729b7731a547229f6cd6deff026effd060f30" from cache


/: (comment ubuntu-24.10-4.14_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-13 14:41.04 ---> using "a6e1c158e73afe3cdffb021eaf105a53d54ecb5810fdb4692adb8145c6e2c9a6" 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 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] Initialised
2025-09-13 14:41.04 ---> using "64b8b243b40ce3df92b46635e624c5abda0122dd9fa3482a6caddd3d830681fc" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-13 14:41.04 ---> using "6dd2321648b8f596a68107699eec2a434e76c93e5283858d120df01bf2a6b06e" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-13 14:41.04 ---> using "e085a6ff92b838ea9f78cce9e0db76b88e01b5c57307821215f9e800f9574ecb" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1c9b44165f73bd3366a4af940f28503f26d3267e || git fetch origin master) && git reset -q --hard 1c9b44165f73bd3366a4af940f28503f26d3267e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee24528071..1c9b44165f  master     -> origin/master
1c9b44165f Merge pull request #28508 from fpottier/opam-publish-menhir.20250912


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.3.0"), 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-09-13 14:41.04 ---> using "d566422c7d80c9c57d943bc6255e43f77fdf5cd34676729b61a12cc5cd03b8e9" from cache


/src: (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)
(dst ./))
2025-09-13 14:41.04 ---> saved as "916098eceb6bf013098e8167d954607ddcfd8fdf634fd8d26db12181fe6efd2a"


/src: (run (network host)
(shell  "opam pin add -yn ocamlformat.dev './' && \
\nopam pin add -yn ocamlformat-rpc-lib.dev './' && \
\nopam pin add -yn ocamlformat-lib.dev './' && \
\nopam pin add -yn ocamlformat-bench.dev './'"))
[ocamlformat.dev] synchronised (file:///src)
ocamlformat is now pinned to file:///src (version dev)
[ocamlformat-rpc-lib.dev] synchronised (file:///src)
ocamlformat-rpc-lib is now pinned to file:///src (version dev)
[ocamlformat-lib.dev] synchronised (file:///src)
ocamlformat-lib is now pinned to file:///src (version dev)
[NOTE] Package ocamlformat-bench does not exist in opam repositories registered in the current switch.
[ocamlformat-bench.dev] synchronised (file:///src)
[WARNING] Failed checks on ocamlformat-bench package definition from source at file:///src:
warning 68: Missing field 'license'
ocamlformat-bench is now pinned to file:///src (version dev)
2025-09-13 14:41.10 ---> saved as "b1f35d4af89db507049568fdbcfad7af24e288b8594b5aa754163c1865234c69"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-13 14:41.11 ---> saved as "7840119e04c83cc03a79ca7694ba18c8bb71791610e687e3cde60202d73cbdc0"


/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.20.2 dune-build-info.3.20.2 dune-configurator.3.20.2 either.1.0.0 fix.20250428 fmt.0.11.0 fpath.0.7.3 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.13.2 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 yojson.3.0.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.4 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-bench.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Ign:1 http://security.ubuntu.com/ubuntu oracular-security InRelease
- Err:2 http://security.ubuntu.com/ubuntu oracular-security Release
-   404  Not Found [IP: 2620:2d:4000:1::16 80]
- Ign:3 http://archive.ubuntu.com/ubuntu oracular InRelease
- Ign:4 http://archive.ubuntu.com/ubuntu oracular-updates InRelease
- Ign:5 http://archive.ubuntu.com/ubuntu oracular-backports InRelease
- Err:6 http://archive.ubuntu.com/ubuntu oracular Release
-   404  Not Found [IP: 2620:2d:4002:1::103 80]
- Err:7 http://archive.ubuntu.com/ubuntu oracular-updates Release
-   404  Not Found [IP: 2620:2d:4002:1::103 80]
- Err:8 http://archive.ubuntu.com/ubuntu oracular-backports Release
-   404  Not Found [IP: 2620:2d:4002:1::103 80]
- Reading package lists...
- 
- E: The repository 'http://security.ubuntu.com/ubuntu oracular-security Release' no longer has a Release file.
- E: The repository 'http://archive.ubuntu.com/ubuntu oracular Release' no longer has a Release file.
- E: The repository 'http://archive.ubuntu.com/ubuntu oracular-updates Release' no longer has a Release file.
- E: The repository 'http://archive.ubuntu.com/ubuntu oracular-backports Release' no longer has a Release file.
Fatal error: System package update failed with exit code 100 at command:
sudo apt-get update
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.4 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-bench.dev $DEPS" failed with exit status 99
2025-09-13 14:41.13: Job failed: Failed: Build failed